:root {
  --dgmb-ink:#123b32;
  --dgmb-forest:#0b493a;
  --dgmb-paper:#fffdf8;
  --dgmb-line:#e3dac8;
  --dgmb-dock-offset:calc(76px + env(safe-area-inset-bottom, 0px));
  --dgmb-utility-bottom:calc(10px + env(safe-area-inset-bottom, 0px));
}

/* Keep search positioning and the existing menu/branding mechanics. */
html body #header [data-device="mobile"] .diyet-search-box {
  background-color:#f8f6ef!important;border-color:#ddd6c8!important;
}
html body #header [data-device="mobile"] .diyet-search-box:focus-within {
  border-color:#517b66!important;outline:2px solid #d9e6d9;outline-offset:0;
}
html body #header [data-device="mobile"] .diyet-arama-input {
  background-color:transparent!important;
  color:var(--dgmb-ink)!important;font-size:16px!important;
}
html body #header [data-device="mobile"] .ct-header-trigger {
  border-radius:12px!important;background:var(--dgmb-forest)!important;
  box-shadow:0 3px 8px #123b3219!important;
}

/* Tuck both utilities into the dock instead of covering shopping controls. */
html body #gb-mobile-bottom-nav {
  background:#fffdf8!important;border-top:1px solid var(--dgmb-line)!important;
  box-shadow:0 -4px 22px #123b3212!important;
  min-height:0!important;padding:5px 8px calc(5px + env(safe-area-inset-bottom, 0px))!important;
  column-gap:3px!important;
}
html body:has(> :is(.dges-language-dropdown-v2[data-active],#dg-ai-floating)) #gb-mobile-bottom-nav {padding-right:57px!important;}
html body:has(> .dges-language-dropdown-v2[data-active]):has(> #dg-ai-floating) #gb-mobile-bottom-nav {padding-right:103px!important;}
html body #gb-mobile-bottom-nav > a {
  min-height:54px!important;height:54px!important;border-radius:12px!important;
  min-width:0!important;color:#204a3e!important;font-weight:700!important;
}
html body #gb-mobile-bottom-nav > a > span:last-child {
  max-width:100%;white-space:normal!important;text-align:center;font-size:10.5px!important;line-height:1.08!important;
}
html body #gb-mobile-bottom-nav > a.is-active {background:#e4eee4!important;color:#094635!important;}
html body #gb-mobile-bottom-nav > a:focus-visible {outline:2px solid #826032!important;outline-offset:-2px;}
html body div.dges-language-dropdown-v2[data-active] {
  top:auto!important;bottom:var(--dgmb-utility-bottom)!important;
  left:auto!important;right:7px!important;transform:none!important;width:44px!important;height:44px!important;
}
html body div.dges-language-dropdown-v2[data-active] label.dges-language-trigger-v2 {
  box-sizing:border-box;width:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;gap:3px!important;border-radius:11px!important;font-size:10px!important;
  color:var(--dgmb-ink)!important;background:var(--dgmb-paper)!important;
  border:1px solid var(--dgmb-line)!important;box-shadow:none!important;
}
html body div.dges-language-dropdown-v2[data-active] .dges-globe-v2 {font-size:14px!important;}
html body div.dges-language-dropdown-v2[data-active] .dges-chevron-v2 {display:none;}
html body div.dges-language-dropdown-v2[data-active] .dges-language-menu-v2 {
  top:auto!important;bottom:calc(100% + 8px)!important;
  left:auto!important;right:0!important;transform:none!important;
}
html body a.ct-back-to-top {
  bottom:var(--dgmb-dock-offset)!important;right:10px!important;
  width:44px!important;height:44px!important;border-radius:12px!important;
}
/* The existing assistant script pins its wrapper inline; position only the trigger dock. */
html body #dg-ai-floating > .dg-a-dock {
  position:fixed!important;inset:auto 7px var(--dgmb-utility-bottom) auto!important;
}
html body:has(> .dges-language-dropdown-v2[data-active]) #dg-ai-floating > .dg-a-dock {right:54px!important;}
html body #dg-ai-floating .dg-a-dock > .dg-a-open {
  box-sizing:border-box;width:44px!important;min-width:44px!important;height:44px!important;
  min-height:44px!important;border-radius:11px!important;
  justify-content:center!important;padding:0!important;gap:0!important;font-size:0!important;
}
html body #dg-ai-floating .dg-a-open > span {font-size:17px!important;}

/* Keep the quick-rail and the carousel geometry established by the homepage patch. */
body.home.page-id-595 #main-container > .gb-quick-categories > :is(#dg-unified-mini-v8,.gb-quick-categories__inner:not(.dg-mini-v8-source)) {
  border-color:#e2d6bd!important;background:#f8f3e8!important;
}
body.home.page-id-595 .gb-home-product-grid :is(h2.woocommerce-loop-product__title,.price) {color:var(--dgmb-ink)!important;}
body.home.page-id-595 .gb-home-product-grid ul.products > li.product {box-shadow:0 3px 12px #153d3110!important;}

/* The finder’s [hidden] state is authoritative. Its old grid CSS overrode it. */
html body #main-container #gb-shop-filter {
  box-sizing:border-box;width:100%!important;max-width:100%!important;
  margin:8px 0 10px!important;padding:13px!important;
  border-radius:19px!important;border-color:var(--dgmb-line)!important;
  background:linear-gradient(150deg,#fffdf8,#f5efdf)!important;box-shadow:0 5px 16px #153d3110!important;
}
html body #gb-shop-filter .gb-shop-filter__head {gap:10px!important;margin-bottom:11px!important;align-items:flex-start!important;}
html body #gb-shop-filter .gb-shop-filter__head > div:first-child {min-width:0;}
html body #gb-shop-filter .gb-shop-filter__eyebrow {
  margin:0 0 5px!important;color:#28604d!important;font-size:10px!important;letter-spacing:.12em!important;line-height:1.35!important;
}
html body #gb-shop-filter .gb-shop-filter__head h2 {
  margin:0 0 5px!important;font-size:clamp(21px,6.2vw,27px)!important;line-height:1.15!important;
  letter-spacing:-.025em!important;color:var(--dgmb-ink)!important;
}
html body #gb-shop-filter .gb-shop-filter__head p {margin:0!important;font-size:13px!important;line-height:1.38!important;}
html body #gb-shop-filter .gb-shop-filter__count {
  flex:0 0 62px!important;min-width:0!important;min-height:60px!important;
  padding:7px 4px!important;border-radius:13px!important;background:#f4e8cb!important;box-shadow:none!important;
}
html body #gb-shop-filter .gb-shop-filter__count strong {font-size:23px!important;line-height:1.08!important;}
html body #gb-shop-filter .gb-shop-filter__count span {font-size:8px!important;letter-spacing:.035em!important;text-align:center;}
html body #gb-shop-filter .gb-shop-filter__search {
  grid-template-columns:19px minmax(0,1fr) auto!important;gap:7px!important;
  border-radius:13px!important;padding:4px 4px 4px 10px!important;
}
html body #gb-shop-filter .gb-shop-filter__search input {
  min-width:0!important;width:100%!important;height:44px!important;font-size:16px!important;
}
html body #gb-shop-filter .gb-shop-filter__search button {min-width:60px!important;min-height:44px!important;padding:0 12px!important;border-radius:9px!important;}
html body #gb-shop-filter .gb-shop-filter__categories {gap:6px!important;margin-top:7px!important;}
html body #gb-shop-filter .gb-filter-chip {min-height:44px!important;padding:0 12px!important;font-size:12px!important;}
html body #gb-shop-filter .gb-filter-advanced-toggle {
  margin-top:4px!important;min-height:44px!important;color:var(--dgmb-ink)!important;
  font-size:13px!important;
}
html body #gb-shop-filter #gb-filter-advanced[hidden] {display:none!important;}
html body #gb-shop-filter #gb-filter-advanced:not([hidden]) {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;padding:10px!important;border-radius:12px!important;
}
html body #gb-shop-filter #gb-filter-advanced > :first-child,
html body #gb-shop-filter #gb-filter-advanced > :is(#gb-filter-stock,#gb-filter-clear) {grid-column:1/-1;}
html body #gb-shop-filter #gb-filter-advanced :is(label,select,input:not([type="checkbox"]),button) {min-width:0!important;max-width:100%!important;}
html body #gb-shop-filter #gb-filter-advanced :is(select,input:not([type="checkbox"])) {width:100%!important;}
html body #gb-shop-filter .gb-shop-filter__status {margin-top:5px!important;font-size:12px!important;}
html body #gb-shop-filter .gb-shop-filter__status:empty {display:none!important;}

/* Two equal columns. Preserve the add-to-cart elements, labels, and link targets. */
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;gap:11px!important;padding:0!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product {
  box-sizing:border-box;width:auto!important;max-width:none!important;min-width:0!important;
  align-items:stretch!important;margin:0!important;padding:7px!important;
  border-radius:16px!important;border:1px solid var(--dgmb-line)!important;
  background:var(--dgmb-paper)!important;box-shadow:0 4px 13px #153d3110!important;
  text-align:left!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product > figure {
  width:100%!important;aspect-ratio:1!important;min-height:0!important;height:auto!important;
  margin:0 0 8px!important;padding:0!important;overflow:hidden!important;
  border-radius:10px!important;background:#f5efe3!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product > figure > a.ct-media-container {
  width:100%!important;height:100%!important;aspect-ratio:1!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product > figure img {
  width:100%!important;height:100%!important;padding:0!important;object-fit:contain!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product .woocommerce-loop-product__title::before {
  content:none!important;display:none!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product .woocommerce-loop-product__title {
  min-height:0!important;width:100%!important;margin:0 0 6px!important;padding:0 2px!important;
  color:var(--dgmb-ink)!important;font-size:clamp(13px,3.65vw,15.5px)!important;line-height:1.28!important;
  overflow-wrap:anywhere;text-align:left!important;letter-spacing:0!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product > .price {
  min-height:0!important;width:100%!important;margin:auto 0 8px!important;padding:0 2px!important;
  color:var(--dgmb-forest)!important;font-size:17px!important;line-height:1.25!important;text-align:left!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product > .price::after {
  font-size:9px!important;white-space:nowrap;margin-inline-start:3px!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product > .ct-woo-card-actions {
  min-height:0!important;width:100%!important;gap:5px!important;margin:0!important;padding:0!important;
}
html body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main-container main ul.products[data-products] > li.product .ct-woo-card-actions > a.button {
  box-sizing:border-box;width:100%!important;min-height:44px!important;height:auto!important;
  margin:0!important;padding:8px 5px!important;border-radius:10px!important;
  background:var(--dgmb-forest)!important;color:#fffdf8!important;
  font-size:12px!important;line-height:1.2!important;letter-spacing:0!important;white-space:normal!important;text-align:center!important;
  box-shadow:none!important;
}

/* Translated storefronts use their own cards, not the native Woo archive. */
html body.dgmirror-locale #main-container .dges-shop-hero {
  margin:14px 0 14px!important;padding:15px!important;border-radius:17px!important;
  border:1px solid var(--dgmb-line)!important;background:linear-gradient(150deg,#fffdf8,#f5efdf)!important;
}
html body.dgmirror-locale #main-container .dges-shop-hero h1 {
  margin:4px 0!important;color:var(--dgmb-ink)!important;font-size:clamp(27px,7.2vw,32px)!important;line-height:1.15!important;
}
html body.dgmirror-locale #main-container .dges-shop-hero p {font-size:14px!important;line-height:1.42!important;}
html body.dgmirror-locale #main-container .dges-shop-toolbar {gap:7px!important;}
html body.dgmirror-locale #main-container .dges-shop-toolbar select {min-width:0!important;min-height:44px!important;font-size:16px!important;}
html body.dgmirror-locale #main-container .dges-products-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-inline:0!important;gap:11px!important;}
html body.dgmirror-locale #main-container .dges-products-grid > .dges-product-card {
  min-width:0!important;padding:7px!important;border-radius:16px!important;
  background:var(--dgmb-paper)!important;border:1px solid var(--dgmb-line)!important;box-shadow:0 4px 13px #153d3110!important;
}
html body.dgmirror-locale #main-container .dges-product-card .dges-product-image {border-radius:10px!important;background:#f5efe3!important;}
html body.dgmirror-locale #main-container .dges-product-card .dges-product-image img {padding:0!important;object-fit:contain!important;}
html body.dgmirror-locale #main-container .dges-product-card .dges-product-body {min-width:0!important;padding:8px 0 0!important;gap:0!important;}
html body.dgmirror-locale #main-container .dges-product-card .dges-product-title {
  min-height:0!important;margin-bottom:7px!important;font-size:clamp(13px,3.65vw,15.5px)!important;line-height:1.28!important;color:var(--dgmb-ink)!important;overflow-wrap:anywhere;
}
html body.dgmirror-locale #main-container .dges-product-card .dges-product-price {
  margin:auto 0 8px!important;color:var(--dgmb-forest)!important;font-size:17px!important;line-height:1.25!important;
}
html body.dgmirror-locale #main-container .dges-product-card a.dges-card-cart {
  min-height:44px!important;padding:6px 5px!important;border-radius:10px!important;background:var(--dgmb-forest)!important;
  color:#fffdf8!important;font-size:12px!important;line-height:1.2!important;text-align:center!important;white-space:normal!important;
}

/* Product detail: remove oversized intervals; keep the quantity and form intact. */
html body.single-product #main-container main .entry-header h1.page-title {
  font-size:clamp(25px,7.3vw,32px)!important;line-height:1.13!important;letter-spacing:-.024em!important;
}
html body.single-product #main-container .product-entry-wrapper {margin-top:18px!important;}
html body.single-product #main-container .product-entry-wrapper .woocommerce-product-gallery {margin-bottom:19px!important;}
html body.single-product #main-container .woocommerce-product-gallery .woocommerce-product-gallery__image {border-radius:15px;overflow:hidden;}
html body.single-product #main-container .entry-summary > :is(.price,.woocommerce-product-details__short-description,.ct-product-divider,.ct-product-add-to-cart) {margin-bottom:16px!important;}
html body.single-product #main-container .entry-summary > .price {line-height:1.2!important;font-size:26px!important;color:var(--dgmb-forest)!important;}
html body.single-product #main-container form.cart button.single_add_to_cart_button {
  border-radius:11px!important;background:var(--dgmb-forest)!important;color:#fffdf8!important;min-height:48px!important;
}
html body.single-product #main-container .woocommerce-tabs.wc-tabs-wrapper {padding-block-start:28px!important;}

/* Calm empty-cart state. A filled cart and checkout retain their existing layout. */
html body.woocommerce-cart #main-container .dgs-empty-cart {
  margin:12px 0 36px!important;padding:20px 16px 0!important;gap:12px!important;
  border-radius:20px!important;box-shadow:0 5px 20px #123b3210!important;
}
html body.woocommerce-cart #main-container .dgs-empty-cart__visual {
  width:68px!important;height:68px!important;
}
html body.woocommerce-cart #main-container .dgs-empty-cart__visual svg {width:38px!important;height:38px!important;}
html body.woocommerce-cart #main-container .dgs-empty-cart__content {padding-bottom:10px!important;}
html body.woocommerce-cart #main-container .dgs-empty-cart__content h2 {font-size:26px!important;line-height:1.14!important;margin-bottom:8px!important;}
html body.woocommerce-cart #main-container .dgs-empty-cart__content p {font-size:14px!important;line-height:1.42!important;}
html body.woocommerce-cart #main-container .dgs-empty-cart__actions {margin-top:14px!important;gap:7px!important;}
html body.woocommerce-cart #main-container .dgs-empty-cart__actions a {min-height:46px!important;padding-block:8px!important;border-radius:10px!important;}
html body.woocommerce-cart #main-container .dgs-empty-cart__trust {margin-inline:-16px!important;padding:11px 16px!important;gap:6px!important;}