/* HR Atelier 0.1.5 — present HR Variation Swatches 5.4.0 without changing its data or cart logic. */
/* Classical WooCommerce loops: theme contains the cards, the plugin owns their swatches. */
.woocommerce ul.products li.product .hr-loop-swatches-wrapper,
.hr-curated-products .woocommerce ul.products li.product .hr-loop-swatches-wrapper{
  display:block!important;max-width:100%;min-width:0;margin:2px 15px 13px!important;
  padding:11px 0 0;border-top:1px solid #f0f0ee;position:relative;
}
.woocommerce ul.products li.product .hr-loop-swatches-wrapper:before{
  content:'Seçenekler';display:block;color:#6b7780;font-size:11px;font-weight:700;
  letter-spacing:.015em;line-height:1.4;margin:0 0 8px;
}
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatches-container{
  width:100%;max-width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center;
  gap:8px!important;min-height:30px;
}
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item{
  display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;
  width:27px;min-width:27px;height:27px;min-height:27px;
  margin:0!important;box-sizing:border-box;overflow:visible;
  border:1px solid #cdd2d5;border-radius:8px;
  background-color:#fff;color:var(--hr-ink,#233039);font-size:11px;font-weight:700;
  cursor:pointer;transition:border-color .15s ease, box-shadow .15s ease;
}
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item.text-swatch{
  min-width:32px;width:auto;max-width:100%;height:29px;
  padding:0 9px;white-space:nowrap;
}
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item img{
  display:block;width:100%!important;height:100%!important;padding:0!important;
  background:transparent!important;object-fit:cover!important;aspect-ratio:1/1!important;border-radius:inherit;
}
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item:hover,
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item:focus-visible,
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item.hr-is-selected{
  border-color:var(--hr-accent,#ec7233)!important;
  outline:2px solid var(--hr-accent,#ec7233);outline-offset:2px;
  box-shadow:none;
}
.woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-more-link{
  display:inline-flex;align-items:center;min-height:29px;margin:0 0 0 2px!important;
  padding:0 2px;font-size:11px;font-weight:750;color:var(--hr-ink,#233039);text-decoration:underline;
  text-underline-offset:3px;
}
/* Variation choices on the individual product page; WooCommerce retains stock/price authority. */
body.hr-at-product-detail .hr-product-buy-panel form.variations_form,
body.hr-at-product-detail .hr-product-buy-panel form.variations_form.cart{display:block!important;width:100%;}
body.hr-at-product-detail .hr-product-buy-panel form.variations_form table.variations,
body.hr-at-product-detail .hr-product-buy-panel form.variations_form table.variations tbody{
  display:block!important;max-width:100%;width:100%;border:0!important;border-collapse:collapse;
}
body.hr-at-product-detail .hr-product-buy-panel form.variations_form table.variations tr{
  display:flex!important;flex-direction:column;gap:5px;margin:0 0 16px;
}
body.hr-at-product-detail .hr-product-buy-panel form.variations_form table.variations th,
body.hr-at-product-detail .hr-product-buy-panel form.variations_form table.variations td,
body.hr-at-product-detail .hr-product-buy-panel form.variations_form table.variations td.value{
  display:block!important;width:100%!important;max-width:100%;padding:0!important;
  text-align:left!important;vertical-align:top!important;border:0!important;
}
body.hr-at-product-detail .hr-product-buy-panel form.variations_form table.variations label{
  display:inline-block;font-size:13px!important;font-weight:750!important;line-height:1.5!important;
  color:var(--hr-ink,#233039);margin:0 0 2px;
}
body.hr-at-product-detail .hr-product-buy-panel .hr-selected-label-title{
  font-size:12px;font-weight:550;color:#687681;margin-left:5px;
}
body.hr-at-product-detail .hr-product-buy-panel .hr-swatches-wrapper-php{
  width:100%!important;max-width:100%!important;display:flex!important;
  flex-wrap:wrap!important;gap:10px!important;margin:8px 0 6px!important;
}
body.hr-at-product-detail .hr-product-buy-panel .hr-swatch-btn-php{
  max-width:100%;min-height:37px;line-height:1.3!important;box-sizing:border-box!important;
  white-space:normal!important;border-radius:8px;
}
body.hr-at-product-detail .hr-product-buy-panel .hr-swatch-btn-php.is-color{
  min-height:0;flex:0 0 auto;
}
body.hr-at-product-detail .hr-product-buy-panel .hr-swatch-btn-php:focus-visible{
  outline:3px solid var(--hr-accent,#ec7233);outline-offset:3px;
}
body.hr-at-product-detail .hr-product-buy-panel .single_variation_wrap{
  display:block!important;max-width:100%;padding-top:9px;
}
body.hr-at-product-detail .hr-product-buy-panel .woocommerce-variation-price{
  font-size:19px;font-weight:750;color:#1c303a;margin-bottom:8px;
}
body.hr-at-product-detail .hr-product-buy-panel .woocommerce-variation-availability{
  margin-bottom:9px;
}
body.hr-at-product-detail .hr-product-buy-panel form.variations_form .reset_variations{
  display:inline-block;margin-top:8px;font-size:12px;font-weight:650;color:#697985;
}
/* Keep variant button separated from controls on narrow phones. */
@media(max-width:600px){
 .woocommerce ul.products li.product .hr-loop-swatches-wrapper{margin:4px 10px 11px!important;padding-top:9px}
 .woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatches-container{gap:7px!important}
 .woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item{width:25px;min-width:25px;height:25px;min-height:25px}
 .woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item.text-swatch{width:auto;height:28px}
 body.hr-at-product-detail .hr-product-buy-panel .hr-swatches-wrapper-php{gap:8px!important}
 body.hr-at-product-detail .hr-product-buy-panel .woocommerce-variation-add-to-cart{align-items:stretch}
}
@media(prefers-reduced-motion:reduce){
 .woocommerce ul.products li.product .hr-loop-swatches-wrapper .hr-swatch-item{transition:none}
}
/* Classic product grid is used in the catalog to keep the swatch plugin's Woo hooks. */
.hr-shop-archive{padding-block:34px 80px;min-height:55vh}
.hr-shop-archive .woocommerce-products-header__title{font-size:clamp(25px,3vw,36px);font-weight:850;color:var(--hr-ink,#233039);letter-spacing:-.03em;margin:0 0 24px}
.hr-shop-archive .woocommerce-breadcrumb{font-size:12px;color:#71808b;margin-bottom:22px}
.hr-shop-archive .woocommerce-result-count{color:#647481;font-size:13px}
.hr-shop-archive .woocommerce-ordering select{min-height:40px;padding:8px 12px;border:1px solid #dce2e5;background:white;border-radius:9px;max-width:100%}
.hr-shop-archive .woocommerce-pagination{margin:32px auto 0;text-align:center}
.hr-shop-archive .woocommerce-pagination ul{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;border:0;padding:0;margin:0}
.hr-shop-archive .woocommerce-pagination .page-numbers li{border:0}
.hr-shop-archive .woocommerce-pagination .page-numbers a,
.hr-shop-archive .woocommerce-pagination .page-numbers .current{display:inline-flex;align-items:center;justify-content:center;min-width:37px;min-height:37px;border:1px solid #e4e6e8;border-radius:8px;background:#fff}
.hr-shop-archive .woocommerce-pagination .page-numbers .current{background:var(--hr-ink);color:#fff}
@media(max-width:600px){.hr-shop-archive{padding-block:18px 42px}.hr-shop-archive .woocommerce-result-count,.hr-shop-archive .woocommerce-ordering{float:none!important;width:100%;margin-bottom:12px}}
/* Custom (non-taxonomy) attributes may not emit options in plugin loop rendering. */
.woocommerce ul.products li.product .hr-loop-swatches-wrapper:not(:has(.hr-swatch-item)) {display:none!important}
