/* Beka Halat store archive — calm, product-first storefront */
body.post-type-archive-product {
  --beka-ink: #17334b;
  --beka-teal: #087d89;
  --beka-orange: #ef7b22;
  --beka-line: #e2e9ee;
  --beka-soft: #f4f7f9;
}
body.post-type-archive-product #main-content {
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
  padding-top: 28px;
  padding-bottom: 72px;
}
body.post-type-archive-product .wd-breadcrumbs {
  color: #7c8993;
  font-size: 13px;
}
body.post-type-archive-product .wd-breadcrumbs a { color: var(--beka-ink); }
body.post-type-archive-product .shop-loop-head {
  margin-bottom: 24px;
}
body.post-type-archive-product .shop-loop-head > .wd-shop-tools:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--beka-line);
}
body.post-type-archive-product .woocommerce-result-count {
  margin: 0;
  color: #75818b;
  font-size: 13px;
}
body.post-type-archive-product #beka-server-filters {
  margin: 16px 0;
}
body.post-type-archive-product #beka-server-filters > details {
  overflow: hidden;
  border: 1px solid var(--beka-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23,51,75,.045);
}
body.post-type-archive-product #beka-server-filters > details > summary {
  padding: 15px 18px;
  color: var(--beka-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
body.post-type-archive-product #beka-server-filters > details[open] > summary {
  border-bottom: 1px solid var(--beka-line);
}
body.post-type-archive-product .beka-filter-content {
  padding: 18px;
  background: #fbfcfd;
}
body.post-type-archive-product .beka-server-form > label {
  display: block;
  margin-bottom: 7px;
  color: var(--beka-ink);
  font-size: 13px;
  font-weight: 700;
}
body.post-type-archive-product #beka-global-search {
  width: min(100%, 520px);
  height: 46px;
  border: 1px solid #d4dfe6;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
}
body.post-type-archive-product .beka-server-form h3 {
  margin: 22px 0 10px;
  color: var(--beka-ink);
  font-size: 14px;
  font-weight: 700;
}
body.post-type-archive-product .beka-category-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
body.post-type-archive-product .beka-category-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #e6edf1;
  border-radius: 6px;
  background: #fff;
  color: #344b5e;
  font-size: 12px;
  line-height: 1.4;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
body.post-type-archive-product .beka-category-nav a:hover {
  border-color: #a9d1d6;
  background: #f0f8f8;
  color: var(--beka-teal);
}
body.post-type-archive-product .beka-category-nav small {
  flex: 0 0 auto;
  color: #87939d;
}
body.post-type-archive-product .beka-rating-options,
body.post-type-archive-product .beka-length-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
body.post-type-archive-product .beka-rating-options label,
body.post-type-archive-product .beka-length-options label {
  color: #4b5d6c;
  font-size: 13px;
}
body.post-type-archive-product .wd-products-per-page,
body.post-type-archive-product .wd-products-shop-view,
body.post-type-archive-product .woocommerce-ordering {
  margin-top: 10px;
}
body.post-type-archive-product .wd-products-per-page,
body.post-type-archive-product .wd-products-shop-view {
  border-color: var(--beka-line);
}
body.post-type-archive-product .woocommerce-ordering select {
  min-height: 42px;
  border-color: #dce5ea;
  border-radius: 6px;
  color: var(--beka-ink);
}
body.post-type-archive-product .wd-products.wd-grid-g {
  --wd-col-lg: 4 !important;
  --wd-col-md: 3 !important;
  --wd-col-sm: 2 !important;
  --wd-gap-lg: 20px !important;
  --wd-gap-sm: 12px !important;
}
body.post-type-archive-product .wd-product-wrapper {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--beka-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(23,51,75,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.post-type-archive-product .wd-product-wrapper:hover {
  transform: translateY(-4px);
  border-color: #c7d9e1;
  box-shadow: 0 13px 28px rgba(23,51,75,.12);
}
body.post-type-archive-product .wd-product-thumb {
  overflow: hidden;
  background: #f6f8f9;
}
body.post-type-archive-product .wd-product-thumb img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
  transition: transform .25s ease;
}
body.post-type-archive-product .wd-product-wrapper:hover .wd-product-thumb img {
  transform: scale(1.035);
}
body.post-type-archive-product .wd-product .product-element-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 15px 15px 16px;
}
body.post-type-archive-product .wd-product .wd-entities-title {
  min-height: 3em;
  margin: 0 0 10px;
  color: var(--beka-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
body.post-type-archive-product .wd-product .wd-entities-title a { color: inherit; }
body.post-type-archive-product .wd-product .price {
  margin-top: auto;
  color: var(--beka-ink);
  font-size: 15px;
  font-weight: 700;
}
body.post-type-archive-product .wd-product .beka-sapan-price {
  color: var(--beka-teal);
}
body.post-type-archive-product .wd-product .wd-add-btn {
  margin-top: 12px;
}
body.post-type-archive-product .wd-product .wd-add-btn a.button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--beka-teal);
  border-radius: 6px;
  background: var(--beka-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background .18s ease, border-color .18s ease;
}
body.post-type-archive-product .wd-product .wd-add-btn a.button:hover {
  border-color: var(--beka-ink);
  background: var(--beka-ink);
}
@media (max-width: 900px) {
  body.post-type-archive-product .beka-category-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.post-type-archive-product #main-content { width: calc(100% - 28px); padding-top: 18px; }
  body.post-type-archive-product .shop-loop-head > .wd-shop-tools:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  body.post-type-archive-product .beka-filter-content { padding: 13px; }
  body.post-type-archive-product .beka-category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.post-type-archive-product .wd-product .product-element-bottom { padding: 12px 10px; }
  body.post-type-archive-product .wd-product .wd-entities-title { font-size: 13px; }
}
