/* Jardindeco header and storefront footer. Native catalogue and checkout styles stay separate. */
@font-face {
  font-family: Poppins;
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Lato;
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url('../fonts/Lato-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

#header,
.jd-brand-footer {
  color: #000;
  font-family: Poppins, Arial, sans-serif;
}

#header { background: #fff; border: 0; box-shadow: 0 3px 8px rgb(0 0 0 / 6%); }
#header .jd-header-banner { display: none; }
#header .header-nav,
#header .header-top { background: transparent; }
#header .header-top { padding: 20px 0 18px; }
#header .jd-secondary-nav { padding-top: 0; }
#header .jd-logo { width: 244px; height: auto; }
#header .jd-secondary-nav a,
#header .jd-header-tools a { color: #60646b; }
#header .jd-secondary-nav a:hover,
#header .jd-header-tools a:hover { color: #000; }
#header .jd-header-tools { justify-self: end; align-items: center; gap: 24px; }
#header .jd-header-tools .blockcart { color: #60646b; background: #f7f6f6; border: 0; border-radius: 24px; padding: 12px; }
#header .jd-header-tools .user-info a { display: inline-flex; align-items: center; min-height: 44px; }
#header .jd-header-tools .user-info { display: flex; align-items: center; gap: 12px; }
#header .jd-header-tools > a,
#header .jd-header-tools .blockcart .header,
#header .jd-header-tools .blockcart .header > a { display: inline-flex; align-items: center; gap: 4px; }
#header .jd-header-tools > a { min-height: 44px; }
#header .jd-header-tools .material-icons { line-height: 1; vertical-align: middle; }
#header #search_widget { width: 100%; max-width: 420px; }
#header #search_widget form { position: relative; }
#header #search_widget form input { height: 48px; border: 0; border-radius: 24px; background: #f7f6f6; color: #000; padding: 13px 36px 13px 44px; font-size: .8rem; }
#header #search_widget form input:focus { outline: 2px solid #000; outline-offset: 2px; }
#header #search_widget form input::placeholder { color: #707070; }
#header #search_widget form .search,
#header #search_widget form .clear,
#header #search_widget form button { color: #7a7a7a; }
#header #search_widget form .search,
#header #search_widget form .clear { top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; line-height: 24px; }
#header #search_widget form .search { left: 14px; right: auto; display: flex; align-items: center; justify-content: center; }
#header #search_widget form .clear { left: auto; right: 12px; }
#header .jd-navigation { padding-top: 0; }
#header #nel-jd-menu { color: #555; padding: 10px 0 4px; font-size: 14px; }
#header #nel-jd-menu a,
#header #nel-jd-menu summary { color: #555; }
#header #nel-jd-menu .nel-menu-universe,
#header #nel-jd-menu .nel-menu-deco .nel-menu-universe { display: block; padding: 0 0 8px; margin: 0; border: 0; border-bottom: 1px solid #000; border-radius: 0; background: transparent; color: #000; font-size: 14px; font-weight: 600; letter-spacing: 0; }
#header #nel-jd-menu details[open] > summary,
#header #nel-jd-menu a:hover,
#header #nel-jd-menu summary:hover { color: #000; text-decoration: underline; text-underline-offset: .2em; }
#header #nel-jd-menu .nel-menu-panel { border-color: #dedede; background: linear-gradient(to right, #f7f6f6 0, #f7f6f6 300px, #fff 300px); box-shadow: 0 6px 12px rgb(0 0 0 / 10%); }
#header #nel-jd-menu .nel-menu-branches .nel-menu-branches { border-color: #dedede; }
#header #nel-jd-menu :focus-visible,
#header a:focus-visible,
#header button:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
#header .header-nav .cart-preview.active,
#header #_mobile_cart .blockcart { background: #f7f6f6; border: 0; border-radius: 24px; color: #60646b; }
#header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i,
#header #_mobile_cart .blockcart a,
#header #_mobile_cart .blockcart i,
#header #_mobile_cart .cart-products-count { color: #60646b; }

body:not(#checkout) #footer { padding-top: 0; background: #fff; }
.jd-brand-footer { padding: 0; background: #fff; color: #272727; }
.jd-brand-footer ul { list-style: none; }
.jd-brand-footer .jd-footer-reassurance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; width: calc(100% - 48px); max-width: 1380px; min-height: 153px; margin: 0 auto; padding: 24px 0; font-family: Lato, Arial, sans-serif; }
.jd-footer-reassurance > li { display: flex; align-items: center; gap: 16px; margin: 0; padding-left: 8px; }
.jd-footer-reassurance > li > div { transform: translateY(-3px); }
.jd-footer-reassurance__icon { display: flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #cdf839; color: #fff; }
.jd-footer-reassurance__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.jd-footer-reassurance__icon .jd-footer-reassurance__check { stroke-width: 3; }
.jd-footer-reassurance h2 { margin: 0 0 4px; color: #161616; font-size: 20px; font-weight: 700; line-height: 1.4; text-transform: none; }
.jd-footer-reassurance p { margin: 0; color: #727272; font-size: 15px; line-height: 1.5; }
.jd-footer-navigation { background: linear-gradient(#f7f6f6 53px, #ebe2d5 53px); }
.jd-brand-footer .jd-footer-grid { grid-template-columns: 38% 39.5% 22.5%; gap: 0; width: calc(100% - 48px); max-width: 1224px; min-height: 262px; margin: 0 auto; padding: 0; border: 0; }
.jd-brand-footer .jd-footer-grid::after { content: none; }
.jd-brand-footer .jd-footer-grid h2 { display: flex; align-items: center; min-height: 53px; margin: 0; padding: 14px 0 0; border: 0; color: #272727; font-size: 16px; font-weight: 600; line-height: 1.5; text-transform: none; }
.jd-brand-footer .jd-footer-grid ul { margin: 0; padding: 24px 0 43px; }
.jd-brand-footer .jd-footer-grid section:first-child ul { padding-top: 27px; }
.jd-brand-footer .jd-footer-grid li { margin: 0; padding: 0; }
.jd-brand-footer .jd-footer-grid a,
.jd-brand-footer .jd-cookie-button { display: inline-block; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #272727; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 28px; text-align: left; box-shadow: none; }
.jd-brand-footer .jd-footer-grid a:hover { color: #000; text-decoration: underline; text-underline-offset: .2em; }
.jd-brand-footer .jd-cookie-button { min-height: 0; cursor: pointer; }
.jd-brand-footer .jd-footer-grid section:first-child a { line-height: 30px; }
.jd-brand-footer .jd-cookie-button__icon { display: none; }
.jd-brand-footer .jd-cookie-button:hover { background: transparent; color: #000; text-decoration: underline; box-shadow: none; }
.jd-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: calc(100% - 48px); max-width: 1240px; min-height: 76px; margin: 0 auto; padding: 14px 0 18px; }
.jd-brand-footer .jd-footer-payments,
.jd-brand-footer .jd-footer-socials { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.jd-footer-payments { gap: 8px; }
.jd-footer-payments li { display: flex; flex: 0 0 64px; align-items: center; justify-content: center; width: 64px; height: 34px; margin: 0; border: 1px solid #dedede; border-radius: 3px; background: #fff; }
.jd-footer-payments img { display: block; width: 52px; height: 28px; object-fit: contain; }
.jd-footer-payments__transfer { padding: 3px 6px; color: #272727; font: 8px/1.1 Arial, sans-serif; text-align: left; text-transform: uppercase; }
.jd-brand-footer .jd-footer-socials { flex-shrink: 0; gap: 16px; padding-right: 20px; }
.jd-footer-socials li { margin: 0; }
.jd-footer-socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #272727; }
.jd-footer-socials a:hover { background: #555; }
.jd-footer-socials img { display: block; width: 18px; height: 18px; object-fit: contain; }
.jd-brand-footer a:focus-visible,
.jd-brand-footer .jd-cookie-button:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

@media (min-width: 1200px) {
  #header .jd-header-grid { grid-template-columns: 244px minmax(240px, 1fr) auto; gap: 12px 40px; }
}
@media (min-width: 768px) {
  #header .jd-navigation { padding-top: 16px; }
  #header #nel-jd-menu .nel-menu-panel { padding-right: 200px; overflow: hidden; }
  #header #nel-jd-menu .nel-menu-seconds,
  #header #nel-jd-menu .nel-menu-all { width: 268px; max-width: 100%; }
  #header #nel-jd-menu .nel-menu-all { white-space: normal; overflow-wrap: break-word; }
  #header #nel-jd-menu .nel-menu-seconds { max-height: calc(min(65vh, 650px) - 96px); overflow: auto; }
  #header #nel-jd-menu .nel-menu-descendants { left: 316px; right: 200px; bottom: 0; max-height: none; }
  #header #nel-jd-menu .nel-menu-visual { top: 0; right: 0; bottom: 0; width: 180px; height: auto; border-radius: 0; }
  #header #nel-jd-menu .nel-menu-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  #header .jd-logo { width: 185px; }
  #header .jd-header-grid { row-gap: 12px; }
  #header .jd-header-tools { gap: 16px; }
  #header #search_widget { width: 100%; max-width: none; }
}
@media (max-width: 1199px) {
  .jd-brand-footer .jd-footer-reassurance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 32px 0; }
  .jd-footer-reassurance > li { padding-left: 0; }
  .jd-brand-footer .jd-footer-grid { grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; }
  .jd-footer-bottom { flex-wrap: wrap; justify-content: center; gap: 24px; padding: 24px 0; }
  .jd-brand-footer .jd-footer-socials { padding: 0; }
}
@media (max-width: 767px) {
  #header .header-top { padding: 12px 0 4px; }
  #header #search_widget { width: 100%; max-width: none; }
  #header #nel-jd-menu { font-size: 15px; }
  #header #nel-jd-menu .nel-menu-universe,
  #header #nel-jd-menu .nel-menu-deco .nel-menu-universe { font-size: 16px; }
  #header #nel-jd-menu .nel-menu-panel { background: #f7f6f6; box-shadow: none; border: 0; border-radius: 0; }
  #header #nel-jd-menu .nel-menu-visual { display: none; }
  #header .header-nav .jd-menu-toggle { color: #000; }
  .jd-brand-footer .jd-footer-reassurance { grid-template-columns: minmax(0, 1fr); width: max-content; max-width: calc(100% - 48px); gap: 24px; }
  .jd-footer-reassurance > li > div { min-width: 0; text-align: left; overflow-wrap: anywhere; }
  .jd-footer-reassurance h2 { font-size: 18px; }
  .jd-footer-navigation { background: #ebe2d5; }
  .jd-brand-footer .jd-footer-grid { display: block; width: 100%; }
  .jd-brand-footer .jd-footer-grid h2 { padding: 12px 24px; background: #ebe2d5; }
  .jd-brand-footer .jd-footer-grid ul { padding: 20px 24px 24px; }
  .jd-brand-footer .jd-footer-grid a,
  .jd-brand-footer .jd-cookie-button { padding: 4px 0; line-height: 28px; }
  .jd-brand-footer .jd-footer-payments { justify-content: center; }
}
