/* YADDAK Dokan Suite 1.16.6 — individual storefront only.
   Uses real Dokan template + WooCommerce product loop. No replacement of checkout/cart.
   Every selector is scoped to dokan_is_store_page() body class to protect directory.
*/
body.yaddak-dokan-single-store-page {
  --yds-black:#151715;
  --yds-yellow:#F5C400;
  --yds-green:#147c50;
  --yds-line:#e7e9e6;
  --yds-muted:#626861;
  --yds-bg:#f6f7f4;
  background:var(--yds-bg);
}
body.yaddak-dokan-single-store-page .dokan-store-wrap,
body.yaddak-dokan-single-store-page .dokan-store-wrap *,
body.yaddak-dokan-single-store-page .dokan-store-wrap *::before,
body.yaddak-dokan-single-store-page .dokan-store-wrap *::after {
  box-sizing:border-box !important;
}
body.yaddak-dokan-single-store-page :is(.wd-page-content,.main-page-wrapper) {
  max-width:100% !important;
}
body.yaddak-dokan-single-store-page :is(.wd-content-layout,.content-layout-wrapper) {
  width:min(1350px,calc(100% - 32px)) !important;
  max-width:1350px !important;
  margin-inline:auto !important;
  padding:25px 0 42px !important;
}
body.yaddak-dokan-single-store-page .wd-content-area.site-content {
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  --wd-col-lg:12 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap {
  width:100% !important;
  max-width:1320px !important;
  min-width:0 !important;
  margin:0 auto !important;
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start !important;
  gap:20px !important;
  direction:rtl !important;
  float:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.dokan-store-sidebar,#dokan-secondary) {
  flex:0 0 252px !important;
  width:252px !important;
  max-width:252px !important;
  margin:0 !important;
  padding:0 !important;
  min-width:0 !important;
  float:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.dokan-single-store,#dokan-primary) {
  order:0;
  flex:1 1 0 !important;
  width:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(#dokan-content,.store-page-wrap) {
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
/* Store hero: photo, overlay, accessible real text/logo. */
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-profile-frame-wrapper {
  margin:0 0 12px !important;
  width:100% !important;
  min-width:0 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-frame {
  overflow:hidden !important;
  width:100% !important;
  border:1px solid #262a26 !important;
  border-bottom:3px solid var(--yds-yellow) !important;
  border-radius:17px !important;
  background:var(--yds-black) !important;
  box-shadow:0 10px 28px rgba(15,20,15,.08) !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-box {
  position:relative !important;
  min-height:210px !important;
  height:auto !important;
  isolation:isolate !important;
  overflow:hidden !important;
  background:#191c19 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-img,
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-box > img {
  position:absolute !important;
  inset:0 !important;
  z-index:-2 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center !important;
  opacity:.68 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-box::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1 !important;
  background:linear-gradient(90deg,rgba(14,17,15,.35),rgba(14,17,15,.85));
  pointer-events:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-summery-wrapper {
  position:relative !important;
  z-index:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-height:210px !important;
  height:auto !important;
  padding:22px 26px !important;
  background:transparent !important;
  width:100% !important;
  margin:0 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-summery {
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
  display:block !important;
  text-align:right !important;
  background:transparent !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-head {
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin:0 0 10px !important;
  max-width:100% !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.profile-img,.profile-img-circle) {
  position:static !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 70px !important;
  width:70px !important;
  height:70px !important;
  min-width:70px !important;
  margin:0 !important;
  padding:3px !important;
  overflow:hidden !important;
  border:2px solid #fff !important;
  border-radius:15px !important;
  background:#fff !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-img img {
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  border-radius:11px !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap h1.store-name {
  display:block !important;
  width:auto !important;
  margin:0 !important;
  color:#fff !important;
  font-size:clamp(21px,2.2vw,31px) !important;
  line-height:1.55 !important;
  font-weight:900 !important;
  text-align:right !important;
  text-shadow:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.profile-info,.dokan-store-info) {
  position:relative !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  text-align:right !important;
  max-width:100% !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-info {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:7px 15px !important;
  list-style:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-info li,
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-info a {
  position:static !important;
  float:none !important;
  color:#ecefed !important;
  overflow-wrap:anywhere !important;
  font-size:11px !important;
  line-height:1.8 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-info li i {
  color:var(--yds-yellow) !important;
}
/* Store tabs and filter toolbar */
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  gap:10px !important;
  margin:0 0 12px !important;
  padding:8px 10px !important;
  background:#fff !important;
  border:1px solid var(--yds-line) !important;
  border-radius:13px !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs ul {
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:5px !important;
  list-style:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs li {
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs li a {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  min-height:38px !important;
  padding:7px 15px !important;
  border:0 !important;
  border-radius:9px !important;
  background:transparent !important;
  color:#323a34 !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.55 !important;
  text-align:center !important;
  text-decoration:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs li.active a,
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs li a:hover {
  background:var(--yds-black) !important;
  color:#fff !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-share-btn-wrap :is(a,button),
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs .dokan-share-btn {
  border:1px solid var(--yds-green) !important;
  background:var(--yds-green) !important;
  color:#fff !important;
  border-radius:10px !important;
  min-height:37px !important;
  padding:8px 12px !important;
  font-size:11px !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-products-filter-area {
  width:100% !important;
  min-width:0 !important;
  margin:0 0 14px !important;
  padding:12px !important;
  background:#fff !important;
  border:1px solid var(--yds-line) !important;
  border-radius:13px !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-products-ordeby {
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  width:100% !important;
  gap:8px !important;
  margin:0 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.dokan-store-products-filter-search,.orderby-search) {
  min-width:0 !important;
  flex:1 1 180px !important;
  margin:0 !important;
  max-width:100% !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(input[type="search"],input[type="text"],select) {
  min-width:0 !important;
  max-width:100% !important;
  min-height:43px !important;
  border-radius:10px !important;
  border:1px solid #dadfda !important;
  background:#fff !important;
  color:var(--yds-black) !important;
  padding:8px 12px !important;
  box-shadow:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.search-store-products,button[type="submit"],.dokan-btn) {
  padding:9px 14px !important;
  min-height:40px !important;
  border-radius:10px !important;
  border:0 !important;
  background:var(--yds-black) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:800 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.search-store-products,button[type="submit"],.dokan-btn):hover {
  background:var(--yds-green) !important;
  color:#fff !important;
}
/* The actual seller product loop: override the Woodmart fixed columns that
   caused a single thin right-hand card and a blank area on the left. */
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items {
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.seller-items ul.products,.seller-items .products,.seller-items .wd-products) {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:15px !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  float:none !important;
  --wd-col:3 !important;
  --wd-gap:15px !important;
  list-style:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.seller-items ul.products,.seller-items .products,.seller-items .wd-products)::before,
body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.seller-items ul.products,.seller-items .products,.seller-items .wd-products)::after {
  display:none !important;
  content:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(li.product,.product-grid-item,.wd-product) {
  display:flex !important;
  flex-direction:column !important;
  align-self:stretch !important;
  justify-self:stretch !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  grid-column:auto !important;
  border:1px solid var(--yds-line) !important;
  border-radius:15px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 7px 25px rgba(23,28,23,.035) !important;
  text-align:right !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(li.product,.product-grid-item,.wd-product) > :is(.product-wrapper,.wd-product-inner) {
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  padding:0 !important;
  margin:0 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.product-element-top,.product-image-link,.woocommerce-loop-product__link,.product-thumbnail,.wd-product-image) {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.product-image-link,.woocommerce-loop-product__link,.product-thumbnail) img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:250px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 auto !important;
  background:#fafbf9 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.wd-product-info,.product-details,.product-content,.product-element-bottom,.product-infos) {
  min-width:0 !important;
  max-width:100% !important;
  width:100% !important;
  padding:12px !important;
  margin:0 !important;
  text-align:right !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.wd-entities-title,.woocommerce-loop-product__title,h2.product-title,h3.product-title) {
  font-size:13px !important;
  font-weight:900 !important;
  color:var(--yds-black) !important;
  line-height:1.8 !important;
  text-align:right !important;
  margin:0 0 8px !important;
  overflow-wrap:anywhere !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items .price,
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items .price :is(bdi,.amount) {
  color:var(--yds-green) !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.65 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.button,.add_to_cart_button,.product_type_simple) {
  width:100% !important;
  min-height:40px !important;
  border-radius:10px !important;
  background:var(--yds-yellow) !important;
  color:#111 !important;
  font-size:12px !important;
  font-weight:900 !important;
  text-align:center !important;
  margin-top:auto !important;
  padding:10px !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.button,.add_to_cart_button,.product_type_simple):hover {
  background:var(--yds-green) !important;
  color:#fff !important;
}
/* Sidebar is useful (contact and seller info): keep it below products on mobile. */
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-sidebar :is(.widget,.dokan-widget-area .widget) {
  min-width:0 !important;
  border:1px solid var(--yds-line) !important;
  border-radius:13px !important;
  padding:14px !important;
  margin:0 0 12px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-sidebar :is(.widget-title,h3) {
  color:var(--yds-black) !important;
  font-size:14px !important;
  font-weight:900 !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap a:focus-visible,
body.yaddak-dokan-single-store-page .dokan-store-wrap button:focus-visible,
body.yaddak-dokan-single-store-page .dokan-store-wrap input:focus-visible {
  outline:3px solid var(--yds-green) !important;
  outline-offset:2px !important;
}
@media (max-width:1050px) {
  body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.dokan-store-sidebar,#dokan-secondary) {
    flex-basis:210px !important;
    width:210px !important;
    max-width:210px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.seller-items ul.products,.seller-items .products,.seller-items .wd-products) {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    --wd-col:2 !important;
  }
}
@media (max-width:780px) {
  body.yaddak-dokan-single-store-page :is(.wd-content-layout,.content-layout-wrapper) {
    width:calc(100% - 16px) !important;
    padding:12px 0 22px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap {
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    width:100% !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.dokan-single-store,#dokan-primary) {
    order:0 !important;
    width:100% !important;
    max-width:100% !important;
    flex:0 0 auto !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.dokan-store-sidebar,#dokan-secondary) {
    order:1 !important;
    width:100% !important;
    max-width:100% !important;
    flex:0 0 auto !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-box,
  body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-summery-wrapper {
    min-height:180px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-summery-wrapper {
    padding:16px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-info {
    gap:4px 12px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs {
    justify-content:center !important;
    flex-wrap:wrap !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-products-ordeby {
    display:grid !important;
    grid-template-columns:1fr auto !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-products-ordeby :is(.orderby-search,select) {
    grid-column:1 / -1;
    width:100% !important;
  }
}
@media (max-width:600px) {
  body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(ul.products,.products,.wd-products) {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    --wd-col:1 !important;
    gap:12px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(li.product,.product-grid-item,.wd-product) {
    width:100% !important;
    margin:0 !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.product-image-link,.woocommerce-loop-product__link,.product-thumbnail) img {
    height:235px !important;
    max-height:235px !important;
    object-fit:contain !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .profile-info-head {
    justify-content:flex-start !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.profile-img,.profile-img-circle) {
    flex-basis:57px !important;
    width:57px !important;
    height:57px !important;
    min-width:57px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap h1.store-name {
    font-size:21px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs ul {
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-tabs li a {
    width:100% !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-products-ordeby {
    grid-template-columns:1fr !important;
    gap:7px !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap .dokan-store-products-ordeby > * {
    grid-column:1 / -1 !important;
    width:100% !important;
    margin:0 !important;
  }
  body.yaddak-dokan-single-store-page .dokan-store-wrap :is(.search-store-products,button[type="submit"]) {
    width:100% !important;
  }
}
/* Keep price and cart CTA on separate readable lines, including Woodmart skins. */
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.wd-product-info,.product-details,.product-infos) {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:7px !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items .price {
  display:block !important;
  width:100% !important;
  margin:0 !important;
  text-align:right !important;
}
body.yaddak-dokan-single-store-page .dokan-store-wrap .seller-items :is(.wd-product-info,.product-details,.product-infos) > :is(.button,.add_to_cart_button) {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  margin:7px 0 0 !important;
}
