:root {
  --dnd-store-ink: #223b30;
  --dnd-store-green: #184737;
  --dnd-store-soft: #f3f6f1;
  --dnd-store-border: #e2e9e1;
}

.dnd-mobile-nav { display: none; }
.dnd-catalog-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--dnd-store-ink);
  font: 500 13px/1.4 Montserrat, Arial, sans-serif;
}
.dnd-catalog-sort label { flex-shrink: 0; }
.dnd-catalog-sort select {
  width: auto;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 32px 8px 12px;
  border: 1px solid #d5e0d5;
  border-radius: 7px;
  background-color: #fff;
  color: var(--dnd-store-ink);
  font: inherit;
}
.dnd-catalog-sort button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--dnd-store-green);
  border-radius: 7px;
  background: var(--dnd-store-green);
  color: #fff;
  font: 600 12px/1.3 Montserrat, Arial, sans-serif;
}
.dnd-catalog-sort button:hover { background: #28664d; color: #fff; }

body.home .dnd-home .elementor-heading-title,
body.woocommerce-shop .elementor-10934 .elementor-heading-title,
body.single-product .elementor-location-single .elementor-heading-title {
  letter-spacing: -.02em;
}
body.home .dnd-home.dnd-hero { background: #edf3eb !important; }
body.home .dnd-home .dnd-hero-title .elementor-heading-title { font-weight: 600; }
body.home .dnd-home.dnd-products { background: #f5f8f3 !important; }
body.home .dnd-home.dnd-products .woocommerce ul.products li.product {
  border-radius: 10px;
  overflow: hidden;
}
body.woocommerce .elementor-widget-loop-grid .e-loop-item.elementor-10739 {
  border-color: var(--dnd-store-border);
  border-radius: 10px;
}
body.woocommerce .elementor-widget-loop-grid .elementor-10739 .elementor-widget-woocommerce-product-title a {
  font-weight: 500 !important;
}
body.single-product .elementor-10930 .elementor-element-86e9945 .product_title {
  font-weight: 600;
}
body.single-product .elementor-10930 .elementor-element-8dc87c8 .woocommerce-product-gallery {
  background: #f8faf7;
}

body.woocommerce-cart main.site-main,
body.woocommerce-checkout main.site-main,
body.woocommerce-account main.site-main {
  width: min(1160px, calc(100% - 48px));
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 0 64px;
  color: var(--dnd-store-ink);
  font-family: Montserrat, Arial, sans-serif;
}
body.woocommerce-cart main.site-main .entry-title,
body.woocommerce-checkout main.site-main .entry-title,
body.woocommerce-account main.site-main .entry-title {
  color: var(--dnd-store-green);
  font: 600 clamp(26px, 3vw, 36px)/1.2 Montserrat, Arial, sans-serif;
}
body.woocommerce-cart main.site-main .shop_table,
body.woocommerce-checkout main.site-main .shop_table,
body.woocommerce-cart main.site-main .cart_totals,
body.woocommerce-checkout main.site-main #payment {
  border-color: var(--dnd-store-border);
  border-radius: 9px;
}
body.woocommerce-cart main.site-main .button,
body.woocommerce-checkout main.site-main .button,
body.woocommerce-account main.site-main .button {
  border-radius: 7px;
  font-family: Montserrat, Arial, sans-serif;
}
body.woocommerce-checkout main.site-main input.input-text,
body.woocommerce-checkout main.site-main textarea,
body.woocommerce-checkout main.site-main .select2-selection {
  border-color: #cedbd0;
  border-radius: 6px;
}

@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
  .dnd-mobile-nav {
    position: fixed;
    z-index: 98;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #e1e9e1;
    background: #fff;
    box-shadow: 0 -3px 18px rgba(20, 52, 36, .09);
  }
  .dnd-mobile-nav a {
    display: flex;
    min-width: 0;
    min-height: 56px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #53665a;
    font: 500 10px/1.2 Montserrat, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
  }
  .dnd-mobile-nav a[aria-current="page"],
  .dnd-mobile-nav a:hover { color: #1c6249; }
  .dnd-mobile-nav a:last-child { color: #1c6249; }
  .dnd-mobile-nav__icon { position: relative; display: inline-flex; }
  .dnd-mobile-nav__icon svg { width: 23px; height: 23px; }
  .dnd-mobile-nav__count {
    position: absolute;
    top: -5px;
    right: -9px;
    display: flex;
    min-width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 1px solid #fff;
    border-radius: 10px;
    background: #1c6249;
    color: #fff;
    font: 600 9px/1 Montserrat, Arial, sans-serif;
  }
  body .dnd-sticky-button { display: none !important; }
  .dnd-catalog-sort { justify-content: stretch; gap: 8px; }
  .dnd-catalog-sort label { font-size: 11px; }
  .dnd-catalog-sort select { min-width: 0; flex: 1 1 auto; font-size: 12px; }
  .dnd-catalog-sort button { padding: 8px 12px; }
  body.home .dnd-home.dnd-hero .dnd-hero-title .elementor-heading-title {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.14;
  }
  body.home .dnd-home.dnd-hero { padding: 32px 20px !important; }
  body.home .dnd-home.dnd-hero .elementor-column > .elementor-widget-wrap { padding: 8px !important; }
  body.home .dnd-home.dnd-hero .dnd-hero-visual img { max-height: 260px; width: auto; object-fit: contain; }
  body.home .dnd-home.dnd-products .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.woocommerce .elementor-widget-loop-grid .elementor-10739 .elementor-widget-woocommerce-product-title a {
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
  }
  body.single-product .elementor-10930 .elementor-element-86e9945 .product_title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
  }
  body.single-product .elementor-10930 .elementor-element-c8743d1 .variations_button {
    flex-wrap: wrap !important;
  }
  body.woocommerce-cart main.site-main,
  body.woocommerce-checkout main.site-main,
  body.woocommerce-account main.site-main {
    width: calc(100% - 32px);
    padding: 26px 0 42px;
  }
  body.woocommerce-cart main.site-main .shop_table,
  body.woocommerce-checkout main.site-main .shop_table { width: 100%; }
  body.woocommerce-checkout main.site-main .form-row { width: 100%; float: none; }
  body.woocommerce-checkout main.site-main #payment { overflow-wrap: anywhere; }
}
