:root {
  --ec-bg: #f7f1e7;
  --ec-surface: #fffdf9;
  --ec-surface-2: #f0e7d8;
  --ec-border: #dfd1bc;
  --ec-text: #2f261f;
  --ec-muted: #7f6b58;
  --ec-accent: #37513b;
  --ec-accent-soft: #dce7d9;
  --ec-highlight: #8f6a3c;
  --ec-radius: 22px;
  --ec-shadow: 0 18px 44px rgba(62, 45, 20, 0.08);
}

body {
  background: var(--ec-bg);
  color: var(--ec-text);
  font-family: Inter, Arial, sans-serif;
}

a, .link {
  color: var(--ec-accent);
}

a:hover {
  color: #25392a;
  text-decoration: none;
}

#wrapper, .page-home, #main, .footer-container {
  background: transparent;
}

.container {
  max-width: 1280px;
}

.h1, .h2, .h3, h1, h2, h3, .ec-hero-title, .ec-section-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
  color: var(--ec-text);
}

.btn, .btn-primary, .btn-secondary, button, .button {
  border-radius: 999px;
}

.ec-announcement-bar {
  background: #2f4a35;
  color: #f8f4eb;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ec-announcement-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}

.ec-announcement-left,
.ec-announcement-right {
  font-size: 12px;
}

.ec-announcement-right {
  justify-self: end;
}

.ec-announcement-bar a,
.ec-announcement-bar .expand-more {
  color: #f8f4eb;
}

.ec-header {
  padding: 22px 0 10px;
}

.ec-brand-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 0 26px;
}

.ec-site-title,
.ec-site-title h1 {
  margin: 0;
}

#_desktop_logo img, #_mobile_logo img {
  max-height: 96px;
  width: auto;
}

.ec-search-wrap {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--ec-border);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--ec-shadow);
}

#search_widget form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

#search_widget input[type=text] {
  border: 0;
  background: transparent;
  height: auto;
  padding: 0;
  min-height: 34px;
  color: var(--ec-text);
}

#search_widget button[type=submit],
#search_widget .search_button {
  border: 0;
  background: var(--ec-accent);
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
}

.ec-header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ec-tool-hook {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ec-header-tools #_desktop_user_info,
.ec-header-tools #_desktop_cart {
  display: none;
}

.ec-header-tools .user-info,
.ec-header-tools .blockcart,
.ec-header-tools .currency-selector,
.ec-header-tools .language-selector,
.ec-header-tools .user-info a {
  color: var(--ec-text);
}

.ec-nav-row {
  border-top: 1px solid rgba(127, 107, 88, .16);
  border-bottom: 1px solid rgba(127, 107, 88, .16);
  padding: 12px 0;
}

.ec-main-nav .top-menu {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.ec-main-nav .top-menu > li > a {
  color: var(--ec-text);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-main-nav .popover.sub-menu {
  border: 1px solid var(--ec-border);
  border-radius: 18px;
  box-shadow: var(--ec-shadow);
}

.ec-home-hero {
  padding: 34px 0 26px;
}

.ec-home-hero .container {
  background: linear-gradient(135deg, #efe5d7 0%, #f8f3eb 52%, #e3ebdd 100%);
  border: 1px solid var(--ec-border);
  border-radius: 34px;
  box-shadow: var(--ec-shadow);
  overflow: hidden;
  position: relative;
}

.ec-home-hero .container:before,
.ec-home-hero .container:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: .55;
}

.ec-home-hero .container:before {
  width: 420px;
  height: 420px;
  background: rgba(255,255,255,.48);
  top: -150px;
  right: -120px;
}

.ec-home-hero .container:after {
  width: 260px;
  height: 260px;
  background: rgba(55,81,59,.08);
  bottom: -110px;
  left: -60px;
}

.ec-home-hero .row {
  min-height: 460px;
  padding: 56px 54px;
  position: relative;
  z-index: 1;
}

.ec-eyebrow,
.ec-section-kicker {
  display: inline-block;
  color: var(--ec-accent);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(55,81,59,.16);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ec-hero-title {
  font-size: clamp(2.4rem, 4vw, 4.35rem);
  line-height: 1.04;
  margin: 22px 0 16px;
  max-width: 10ch;
}

.ec-hero-text {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ec-muted);
  margin-bottom: 28px;
}

.ec-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ec-btn-primary,
.btn-primary,
.block_newsletter form button[type=submit] {
  background: var(--ec-accent);
  border-color: var(--ec-accent);
  color: #fff;
  padding: 14px 26px;
}

.ec-btn-primary:hover,
.btn-primary:hover,
.block_newsletter form button[type=submit]:hover {
  background: #29402e;
  border-color: #29402e;
}

.ec-btn-secondary,
.btn-secondary {
  background: rgba(255,255,255,.8);
  color: var(--ec-text);
  border: 1px solid var(--ec-border);
  padding: 14px 26px;
}

.ec-hero-card {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(4px);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--ec-shadow);
}

.ec-hero-card-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ec-muted);
  margin-bottom: 18px;
}

.ec-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.ec-hero-list a {
  display: block;
  background: var(--ec-surface);
  border-radius: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(127,107,88,.12);
  color: var(--ec-text);
  font-weight: 600;
}

.ec-home-categories-wrap,
.ec-home-values,
.ec-products-home {
  padding-top: 34px;
}

.ec-section-heading {
  margin-bottom: 26px;
}

.ec-section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-top: 12px;
}

.ec-category-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.ec-category-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,229,215,.9));
  border: 1px solid var(--ec-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--ec-shadow);
}

.ec-category-card--large {
  grid-column: span 6;
  min-height: 320px;
}

.ec-category-card--accent {
  background: linear-gradient(145deg, #e7efe4, #fbf7f1);
}

.ec-category-card__media,
.ec-category-card__overlay,
.ec-category-card__content {
  position: absolute;
  inset: 0;
}

.ec-category-card__media {
  z-index: -3;
  background: linear-gradient(145deg, #fbf7f1, #dfe7db);
}

.ec-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-category-card__overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(36, 28, 22, 0.06) 0%, rgba(36, 28, 22, 0.18) 42%, rgba(24, 19, 16, 0.74) 100%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(239,229,215,.08));
}

.ec-category-card__content {
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.ec-category-mosaic .ec-category-card:not(.ec-category-card--large) {
  grid-column: span 3;
}

.ec-category-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.1;
  color: #fffaf2;
  text-shadow: 0 2px 14px rgba(27, 20, 16, 0.35);
  margin-bottom: 10px;
}

.ec-category-subtitle {
  color: rgba(255, 248, 236, 0.92);
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(27, 20, 16, 0.28);
}

.ec-value-box {
  background: var(--ec-surface);
  border-radius: 24px;
  border: 1px solid var(--ec-border);
  padding: 24px;
  min-height: 132px;
  box-shadow: var(--ec-shadow);
}

.ec-value-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.ec-products-home .products-section-title,
.ec-products-home .section-title,
.ec-products-home h2 {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  margin-bottom: 24px;
}

.products.row {
  margin-left: -10px;
  margin-right: -10px;
}

.products .product,
.featured-products .product,
.product-accessories .product {
  padding: 10px;
}

.product-miniature .thumbnail-container {
  background: var(--ec-surface);
  border: 1px solid var(--ec-border);
  border-radius: 26px;
  padding: 14px;
  box-shadow: var(--ec-shadow);
  height: 100%;
}

.product-miniature .thumbnail-top {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.product-miniature .product-thumbnail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-miniature:hover .product-thumbnail img {
  transform: scale(1.04);
}

.product-miniature .product-description {
  text-align: left;
  padding: 0 4px 6px;
}

.product-miniature .product-title {
  min-height: auto;
  margin-bottom: 8px;
}

.product-miniature .product-title a {
  color: var(--ec-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.2;
}

.product-price-and-shipping .price {
  color: var(--ec-text);
  font-weight: 700;
  font-size: 21px;
}

.product-flags .product-flag {
  background: var(--ec-accent);
  border-radius: 999px;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.highlighted-informations {
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 10px 12px;
  bottom: 16px;
}

#left-column .block-categories,
#left-column .block, 
#left-column #search_filters {
  background: var(--ec-surface);
  border: 1px solid var(--ec-border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--ec-shadow);
  margin-bottom: 20px;
}

.block-category,
.ec-category-hero {
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(239,229,215,.84));
  border: 1px solid var(--ec-border);
  border-radius: 28px;
  box-shadow: var(--ec-shadow);
  margin-bottom: 24px;
}

.ec-category-cover img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.ec-category-description,
.ec-category-fallback {
  color: var(--ec-muted);
  line-height: 1.75;
  margin-top: 14px;
}

.products-selection,
#js-product-list-top {
  background: transparent;
  border: 0;
  padding: 0 0 12px;
}

.products-sort-order .select-title,
.pagination .page-list {
  border-radius: 999px;
  border: 1px solid var(--ec-border);
  background: var(--ec-surface);
}

.ec-product-shell,
.ec-product-details-wrap,
.ec-cart-shell,
.ec-cms-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.ec-product-page {
  padding-top: 28px;
}

.ec-product-gallery,
.ec-product-info,
.ec-product-tabs,
.ec-cart-card,
.ec-summary-card,
.ec-cms-content {
  background: var(--ec-surface);
  border: 1px solid var(--ec-border);
  border-radius: 28px;
  box-shadow: var(--ec-shadow);
}

.ec-product-gallery {
  padding: 20px;
}

.ec-product-info {
  padding: 34px;
  position: sticky;
  top: 24px;
}

.ec-product-short,
.ec-product-benefits {
  color: var(--ec-muted);
  line-height: 1.8;
}

.ec-product-benefits {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
}

.product-prices .current-price {
  font-size: 34px;
  font-weight: 700;
  color: var(--ec-text);
}

.product-actions .add-to-cart {
  background: var(--ec-accent);
  border-color: var(--ec-accent);
  color: #fff;
}

.product-actions .add-to-cart:hover {
  background: #29402e;
}

.product-information .product-actions {
  margin-top: 26px;
}

.bootstrap-touchspin,
.input-group-btn-vertical .btn {
  border-radius: 16px;
}

.ec-product-details-wrap {
  margin-top: 30px;
}

.ec-product-tabs {
  padding: 24px;
}

.ec-product-tabs .nav-tabs {
  border-bottom: 0;
  gap: 10px;
  flex-wrap: wrap;
}

.ec-product-tabs .nav-link {
  border: 1px solid var(--ec-border);
  border-radius: 999px;
  color: var(--ec-text);
  padding: 10px 16px;
}

.ec-product-tabs .nav-link.active {
  background: var(--ec-accent);
  color: #fff;
  border-color: var(--ec-accent);
}

.ec-accessories {
  padding: 42px 0 10px;
}

.ec-cart-page,
.ec-cms-page {
  padding-top: 26px;
}

.ec-cart-title-wrap,
.ec-cms-head {
  padding: 30px 32px 8px;
}

.ec-summary-card {
  padding: 22px;
}

.ec-cart-note {
  margin-top: 18px;
  color: var(--ec-muted);
  line-height: 1.7;
}

.ec-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.ec-cms-content {
  padding: 34px;
  line-height: 1.8;
}

.ec-newsletter-wrap {
  padding-top: 56px;
}

.block_newsletter {
  background: var(--ec-surface);
  border: 1px solid var(--ec-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--ec-shadow);
}

.ec-footer {
  padding: 38px 0 28px;
  background: transparent;
}

.ec-footer-intro {
  background: var(--ec-surface);
  border: 1px solid var(--ec-border);
  border-radius: 32px;
  box-shadow: var(--ec-shadow);
  padding: 38px 26px 10px;
}

.ec-footer-kicker {
  color: var(--ec-accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  margin-bottom: 10px;
}

.ec-footer-title {
  font-size: 30px;
  margin-bottom: 14px;
}

.ec-footer-text {
  color: var(--ec-muted);
  max-width: 36ch;
  line-height: 1.8;
}

.ec-footer .links .title,
.ec-footer .block-contact-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  margin-bottom: 16px;
}

.ec-footer .links a,
.ec-footer .block-contact,
.ec-footer p,
.ec-footer li {
  color: var(--ec-muted);
}

.ec-footer-bottom {
  align-items: center;
  padding-top: 18px;
}

.ec-copyright-wrap {
  text-align: right;
}

.ec-copyright {
  color: var(--ec-muted);
  margin: 0;
}

#_mobile_top_menu,
#mobile_top_menu_wrapper {
  background: var(--ec-surface);
  border-radius: 20px;
}

#mobile_top_menu_wrapper {
  border: 1px solid var(--ec-border);
  box-shadow: var(--ec-shadow);
  margin-top: 12px;
  padding: 10px 14px 16px;
}

/* Cookie banner generic improvements */
.ets_cookie_popup,
.ets_cookie_banner,
.cookie-banner,
.prestahero_cookie_popup,
[id*="cookie"] .cookie-popup {
  border-radius: 22px !important;
  box-shadow: var(--ec-shadow) !important;
  border: 1px solid var(--ec-border) !important;
}

.ets_cookie_popup .btn,
.ets_cookie_banner .btn,
.cookie-banner .btn {
  border-radius: 999px !important;
}

@media (max-width: 991.98px) {
  .ec-announcement-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8px 0;
  }

  .ec-brand-row {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 12px 0 18px;
  }

  .ec-search-wrap,
  .ec-header-tools,
  .ec-announcement-left,
  .ec-announcement-right,
  .ec-nav-row {
    display: none;
  }

  .ec-mobile-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  #_mobile_logo img {
    max-height: 58px;
  }

  .ec-home-hero .row {
    min-height: auto;
    padding: 34px 24px;
  }

  .ec-hero-title {
    max-width: none;
    font-size: 2.6rem;
  }

  .ec-category-card--large,
  .ec-category-mosaic .ec-category-card:not(.ec-category-card--large) {
    grid-column: span 12;
  }

  .ec-footer-intro,
  .block_newsletter,
  .ec-product-info,
  .ec-product-gallery,
  .ec-product-tabs,
  .ec-cms-content,
  .ec-cart-card,
  .ec-summary-card {
    padding: 22px;
  }

  .ec-copyright-wrap {
    text-align: left;
    margin-top: 12px;
  }
}


/* V1.1 fixes */
.ec-announcement-bar {
  display: none !important;
}

.ec-header {
  padding-top: 12px;
}

.ec-search-wrap {
  padding: 8px 10px;
}

#search_widget {
  width: 100%;
}

#search_widget form {
  display: flex;
  align-items: center;
  gap: 10px;
}

#search_widget input[type="search"],
#search_widget input[type="text"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--ec-text);
  padding: 0 10px 0 6px !important;
  font-size: 15px;
}

#search_widget input[type="search"]:focus,
#search_widget input[type="text"]:focus {
  outline: none;
}

#search_widget button[type=submit],
#search_widget .search_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 48px;
  height: 46px;
  padding: 0 18px;
  background: var(--ec-accent) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  white-space: nowrap;
  flex: 0 0 auto;
}

#search_widget button[type=submit] .material-icons,
#search_widget .search_button .material-icons {
  color: #fff !important;
  font-size: 20px;
  line-height: 1;
}

#search_widget button[type=submit] .hidden-xl-down,
#search_widget .search_button .hidden-xl-down,
#search_widget button[type=submit] span:not(.material-icons),
#search_widget .search_button span:not(.material-icons) {
  display: inline !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
}

.product-miniature .thumbnail-top {
  position: relative;
}

.highlighted-informations {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(223, 209, 188, .95);
  box-shadow: 0 12px 28px rgba(62,45,20,.12);
  padding: 8px 10px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.highlighted-informations .quick-view {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  color: var(--ec-accent) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.highlighted-informations .quick-view .material-icons {
  font-size: 18px;
  line-height: 1;
}

.product-miniature .thumbnail-container {
  overflow: visible;
}

@media (max-width: 991.98px) {
  #search_widget button[type=submit] .hidden-xl-down,
  #search_widget .search_button .hidden-xl-down {
    display: none !important;
  }

  #search_widget button[type=submit],
  #search_widget .search_button {
    padding: 0 14px;
    min-width: 44px;
  }
}


/* Search bar fix */
#search_widget form {
  position: relative;
}

#search_widget input[type="search"],
#search_widget input[type="text"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-left: 16px !important;
  padding-right: 58px !important;
}

#search_widget input[type="search"]::-webkit-search-decoration,
#search_widget input[type="search"]::-webkit-search-cancel-button,
#search_widget input[type="search"]::-webkit-search-results-button,
#search_widget input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

#search_widget button[type=submit],
#search_widget .search_button {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-width: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
}

#search_widget button[type=submit] .hidden-xl-down,
#search_widget .search_button .hidden-xl-down,
#search_widget button[type=submit] span:not(.material-icons),
#search_widget .search_button span:not(.material-icons) {
  display: none !important;
}


/* Search bar v1.3.2 */
.ec-search-form {
  position: relative;
  width: 100%;
  margin: 0;
}

.ec-search-input {
  display: block;
  width: 100%;
  height: 46px;
  border: 1px solid var(--ec-border) !important;
  border-radius: 999px;
  background: rgba(255,255,255,.96) !important;
  box-shadow: none !important;
  color: var(--ec-text) !important;
  padding: 0 56px 0 20px !important;
  outline: none !important;
}

.ec-search-input::placeholder {
  color: #a08f7d;
  opacity: 1;
}

.ec-search-submit {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: #7b6a57 !important;
  padding: 0;
  box-shadow: none !important;
  cursor: pointer;
}

.ec-search-submit .material-icons {
  font-size: 20px;
  line-height: 1;
}

.ec-mobile-search .ec-search-form {
  margin-top: 10px;
}


/* === Fantasy / lianes décoratives : version illustrée === */
:root {
  --ec-vine-corner: url("../img/vines/vine-corner.svg");
  --ec-vine-title: url("../img/vines/vine-title.svg");
}

.ec-category-card::before,
.ec-category-card::after {
  content: "";
  position: absolute;
  width: 124px;
  height: 124px;
  pointer-events: none;
  z-index: 0;
  background-image: var(--ec-vine-corner);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .8;
  filter: drop-shadow(0 4px 12px rgba(31, 45, 28, 0.10));
  transition: transform .28s ease, opacity .28s ease;
}

.ec-category-card::before {
  top: -24px;
  left: -24px;
}

.ec-category-card::after {
  right: -24px;
  bottom: -24px;
  transform: rotate(180deg) scale(.88);
  opacity: .68;
}

.ec-category-card__media,
.ec-category-card__overlay,
.ec-category-card__content {
  z-index: auto;
}

.ec-category-card__media { z-index: -3; }
.ec-category-card__overlay { z-index: -2; }
.ec-category-card__content { z-index: 1; }

.ec-category-card--large::before,
.ec-category-card--large::after {
  width: 144px;
  height: 144px;
}

.ec-category-card:hover::before {
  opacity: .9;
  transform: translate3d(2px, 0, 0);
}

.ec-category-card:hover::after {
  opacity: .74;
  transform: rotate(180deg) scale(.9) translate3d(2px, 0, 0);
}

.page-header,
.ec-category-hero {
  position: relative;
  overflow: hidden;
}

.page-header {
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(239,229,215,.84));
  border: 1px solid var(--ec-border);
  border-radius: 28px;
  box-shadow: var(--ec-shadow);
  padding: 28px 34px;
  margin-bottom: 24px;
}

.page-header::before,
.page-header::after,
.ec-category-hero::before,
.ec-category-hero::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  pointer-events: none;
  background-image: var(--ec-vine-corner);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .42;
  filter: drop-shadow(0 5px 14px rgba(31,45,28,.12));
}

.page-header::before,
.ec-category-hero::before {
  top: -18px;
  left: -18px;
}

.page-header::after,
.ec-category-hero::after {
  right: -18px;
  bottom: -18px;
  transform: rotate(180deg) scale(.9);
  opacity: .34;
}

.page-header h1,
.ec-category-hero h1 {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.page-header h1::before,
.page-header h1::after,
.ec-category-hero h1::before,
.ec-category-hero h1::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 56px;
  height: 18px;
  margin-top: -9px;
  background-image: var(--ec-vine-title);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .9;
}

.page-header h1::before,
.ec-category-hero h1::before {
  left: -68px;
}

.page-header h1::after,
.ec-category-hero h1::after {
  right: -68px;
  transform: scaleX(-1);
}

.page-header h1 {
  margin: 0;
}

.ec-category-hero .row {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .page-header h1::before,
  .page-header h1::after,
  .ec-category-hero h1::before,
  .ec-category-hero h1::after {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }

  .page-header h1::before,
  .ec-category-hero h1::before {
    left: -36px;
  }

  .page-header h1::after,
  .ec-category-hero h1::after {
    right: -36px;
  }
}

@media (max-width: 767.98px) {
  .ec-category-card::before,
  .ec-category-card::after,
  .page-header::before,
  .page-header::after,
  .ec-category-hero::before,
  .ec-category-hero::after {
    width: 76px;
    height: 76px;
    opacity: .18;
  }

  .page-header,
  .ec-category-hero {
    padding: 22px 20px;
  }

  .page-header h1::before,
  .page-header h1::after,
  .ec-category-hero h1::before,
  .ec-category-hero h1::after {
    display: none;
  }
}


.ec-category-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 26px 18px 8px;
  transform: translateY(14px);
}

.ec-category-copy .ec-section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.ec-category-copy .h1,
.ec-category-copy h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ec-category-copy .ec-category-description,
.ec-category-copy .ec-category-fallback {
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
}

.ec-category-copy .ec-category-description > * {
  text-align: inherit;
}

.ec-category-cover {
  display: flex;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .ec-category-copy {
    padding: 12px 8px 18px;
    transform: translateY(8px);
  }

  .ec-category-copy .ec-category-description,
  .ec-category-copy .ec-category-fallback {
    max-width: none;
  }
}
