/* Purowiki local shop: rounded, quiet catalogue surfaces.
   Scoped to WooCommerce archives so product, cart and checkout templates stay intact. */
body.woocommerce-shop,
body.tax-product_cat {
  --pw-shop-ink: #251b16;
  --pw-shop-muted: #77695d;
  --pw-shop-paper: #ffffff;
  --pw-shop-line: #e6d9ca;
  --pw-shop-gold: #c69a5c;
  --pw-shop-cocoa: #39271e;
}

body.woocommerce-shop .wd-page-title,
body.tax-product_cat .wd-page-title {
  width: min(1360px, calc(100% - 32px));
  margin: 22px auto 34px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(40, 25, 13, .13);
}

body.woocommerce-shop .wd-page-title .entry-title,
body.tax-product_cat .wd-page-title .entry-title {
  letter-spacing: -.035em;
}

body.woocommerce-shop .wd-products,
body.tax-product_cat .wd-products {
  --wd-gap-lg: 24px !important;
  --wd-gap-sm: 16px !important;
}

body.woocommerce-shop .wd-products .wd-product,
body.tax-product_cat .wd-products .wd-product {
  min-width: 0;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(53, 36, 23, .055);
}

body.woocommerce-shop .wd-products .wd-product .wd-product-wrapper,
body.tax-product_cat .wd-products .wd-product .wd-product-wrapper {
  height: 100%;
  padding: 12px;
  border: 1px solid var(--pw-shop-line);
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(53, 36, 23, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.woocommerce-shop .wd-products .wd-product:hover .wd-product-wrapper,
body.tax-product_cat .wd-products .wd-product:hover .wd-product-wrapper {
  transform: translateY(-3px);
  border-color: #d4b995;
  box-shadow: 0 20px 42px rgba(53, 36, 23, .12);
}

body.woocommerce-shop .wd-products .wd-product .wd-product-thumb,
body.tax-product_cat .wd-products .wd-product .wd-product-thumb {
  overflow: hidden;
  border-radius: 21px;
  background: var(--pw-shop-paper);
}

body.woocommerce-shop .wd-products .wd-product .wd-product-img-link,
body.tax-product_cat .wd-products .wd-product .wd-product-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1.06;
  padding: 15px;
}

body.woocommerce-shop .wd-products .wd-product .wd-product-img-link img,
body.tax-product_cat .wd-products .wd-product .wd-product-img-link img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.woocommerce-shop .wd-products .wd-product .product-labels,
body.tax-product_cat .wd-products .wd-product .product-labels {
  top: 13px;
  left: 13px;
}

body.woocommerce-shop .wd-products .wd-product .product-label,
body.tax-product_cat .wd-products .wd-product .product-label {
  border-radius: 999px !important;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
}

body.woocommerce-shop .wd-products .wd-product .product-element-bottom,
body.tax-product_cat .wd-products .wd-product .product-element-bottom {
  display: flex;
  flex-direction: column;
  min-height: 175px;
  padding: 16px 6px 5px;
}

body.woocommerce-shop .wd-products .wd-product .wd-entities-title,
body.tax-product_cat .wd-products .wd-product .wd-entities-title {
  margin-bottom: 7px;
  color: var(--pw-shop-ink);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.36;
  font-weight: 650;
}

body.woocommerce-shop .wd-products .wd-product .wd-product-cats,
body.tax-product_cat .wd-products .wd-product .wd-product-cats {
  color: var(--pw-shop-muted);
  font-size: 12px;
}

body.woocommerce-shop .wd-products .wd-product .wrap-price,
body.tax-product_cat .wd-products .wd-product .wrap-price {
  margin-top: auto;
  padding: 14px 0 11px;
}

body.woocommerce-shop .wd-products .wd-product .price,
body.tax-product_cat .wd-products .wd-product .price {
  color: var(--pw-shop-cocoa);
  font-size: 19px;
  font-weight: 750;
}

body.woocommerce-shop .wd-products .wd-product .wd-add-btn a,
body.tax-product_cat .wd-products .wd-product .wd-add-btn a {
  min-height: 42px;
  border-radius: 999px !important;
  background: var(--pw-shop-cocoa) !important;
  color: #fff !important;
  font-weight: 650;
  box-shadow: none;
}

body.woocommerce-shop .wd-products .wd-product .wd-add-btn a:hover,
body.tax-product_cat .wd-products .wd-product .wd-add-btn a:hover {
  background: #785433 !important;
}

body.woocommerce-shop .wd-products .wd-product .wd-buttons,
body.tax-product_cat .wd-products .wd-product .wd-buttons {
  top: 11px;
  right: 11px;
  border-radius: 999px;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

body.woocommerce-shop .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.woocommerce-shop .wd-off-canvas-btn > a,
body.tax-product_cat .wd-off-canvas-btn > a {
  min-height: 43px;
  border: 1px solid var(--pw-shop-line);
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--pw-shop-ink);
  box-shadow: 0 4px 16px rgba(53, 36, 23, .04);
}

body.woocommerce-shop .wd-off-canvas-btn > a,
body.tax-product_cat .wd-off-canvas-btn > a {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
}

body.woocommerce-shop .wd-widget,
body.tax-product_cat .wd-widget {
  padding: 20px;
  border: 1px solid var(--pw-shop-line);
  border-radius: 22px;
  background: #ffffff;
}

body.woocommerce-shop .wd-widget .widget-title,
body.tax-product_cat .wd-widget .widget-title {
  color: var(--pw-shop-ink);
}

body.tax-product_cat .term-description .tc-puro-hizli-gecis a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px !important;
  padding: 9px 18px;
  box-shadow: 0 6px 16px rgba(40, 25, 13, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}

body.tax-product_cat .term-description .tc-puro-hizli-gecis a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 21px rgba(40, 25, 13, .16);
}

body.woocommerce-shop .wd-pagination a,
body.woocommerce-shop .wd-pagination .current,
body.tax-product_cat .wd-pagination a,
body.tax-product_cat .wd-pagination .current {
  border-radius: 999px;
}

@media (max-width: 767px) {
  body.woocommerce-shop .wd-page-title,
  body.tax-product_cat .wd-page-title {
    width: calc(100% - 20px);
    margin: 12px auto 22px;
    border-radius: 22px;
  }

  body.woocommerce-shop .wd-products .wd-product .wd-product-wrapper,
  body.tax-product_cat .wd-products .wd-product .wd-product-wrapper {
    padding: 8px;
    border-radius: 24px;
  }

  body.woocommerce-shop .wd-products .wd-product,
  body.tax-product_cat .wd-products .wd-product {
    border-radius: 24px;
  }

  body.woocommerce-shop .wd-products .wd-product .wd-product-thumb,
  body.tax-product_cat .wd-products .wd-product .wd-product-thumb {
    border-radius: 17px;
  }

  body.woocommerce-shop .wd-products .wd-product .wd-product-img-link,
  body.tax-product_cat .wd-products .wd-product .wd-product-img-link {
    padding: 8px;
  }

  body.woocommerce-shop .wd-products .wd-product .product-element-bottom,
  body.tax-product_cat .wd-products .wd-product .product-element-bottom {
    min-height: 178px;
    padding: 13px 5px 3px;
  }
}

@media (max-width: 480px) {
  body.woocommerce-shop .wd-products .wd-product .wd-entities-title,
  body.tax-product_cat .wd-products .wd-product .wd-entities-title {
    font-size: 14px;
  }

  body.woocommerce-shop .wd-products .wd-product .price,
  body.tax-product_cat .wd-products .wd-product .price {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-shop .wd-products .wd-product .wd-product-wrapper,
  body.tax-product_cat .wd-products .wd-product .wd-product-wrapper {
    transition: none;
  }
}
