/* Font families follow WordPress theme typography; approved sizes/weights retained. */
/* Native product cards only. Existing typography, grid columns and ordering remain. */
ul.products li.product.et-classic-gold {
  max-width:320px; padding:0; background:#fff; border-radius:12px; overflow:hidden;
  text-align:center; box-shadow:0 3px 15px rgb(17 31 79 / 5%);
}
ul.products li.product.et-classic-gold .loop-image-wrap { margin:0; }
ul.products li.product.et-classic-gold .et-catalogue-cover {
  display:flex; flex-direction:column; gap:6px; box-sizing:border-box;
  width:100%; aspect-ratio:4 / 3; padding:6px 8px 8px; background:#fff;
}
ul.products li.product.et-classic-gold .et-design-count {
  align-self:flex-end; flex-shrink:0; padding:2px 9px; border:1px solid transparent;
  border-radius:20px; background:#f8f1df; color:#715c2c;
  font-weight:400;font-size:12px;line-height:22px; letter-spacing:normal; white-space:nowrap;
}
ul.products li.product.et-classic-gold .et-cover-art { display:block; flex:1; min-height:0; }
ul.products li.product.et-classic-gold .loop-image-wrap img.et-cover-image {
  display:block; width:100%; height:100%; max-height:none; margin:0;
  object-fit:contain; border-radius:0; transform:none;
}
ul.products li.product.et-classic-gold .woocommerce-loop-product__title {
  margin:18px 18px 0; padding:0;
}
ul.products li.product.et-classic-gold .botiga-wc-loop-product__title { color:#111f4f; }
ul.products li.product.et-classic-gold .price {
  display:block; margin:10px 18px 22px; color:#111f4f;
}
ul.products li.product.et-classic-gold .price::after {
  content:""; display:block; width:38px; height:2px; margin:15px auto 0; background:#cb9d4d;
}
/* Keep the existing sale badge, below the count row to avoid mobile overlap. */
ul.products li.product.et-classic-gold span.onsale { top:40px!important; }

ul.products li.product.et-classic-gold .et-card-hoops {
  margin:8px 18px 0; color:#64718a; font-weight:400;font-size:13px;line-height:28px;
}

/* Approved Gold Sweep: product cover images only, theme typography untouched. */
ul.products li.product.et-classic-gold .et-cover-art {
  position:relative; overflow:hidden; isolation:isolate;
}
ul.products li.product.et-classic-gold .et-cover-art::after {
  content:""; position:absolute; inset:-50% -80%; z-index:1; pointer-events:none;
  background:linear-gradient(110deg,transparent 38%,#e8c16c26 47%,#fff9e880 50%,#e8c16c26 53%,transparent 62%);
  transform:translateX(-75%);
}
@keyframes et-product-gold-sweep { to { transform:translateX(75%); } }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  ul.products li.product.et-classic-gold .loop-image-wrap:hover .et-cover-art::after {
    animation:et-product-gold-sweep 1.15s ease-out both;
  }
}
@media (prefers-reduced-motion:no-preference) {
  ul.products li.product.et-classic-gold a:focus-visible .et-cover-art::after {
    animation:et-product-gold-sweep 1.15s ease-out both;
  }
}
@media (prefers-reduced-motion:reduce) {
  ul.products li.product.et-classic-gold .et-cover-art::after { content:none; animation:none; }
}

/* Category product grids: three desktop columns; category tiles and mobile unchanged. */
@media (min-width:992px) {
  body.tax-product_cat ul.products:has(> li.type-product) {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Approved Stitched Line: one separator with equal space on both sides. */
body.tax-product_cat hr.et-child-divider {
  display:block; width:100%; height:1px; padding:0; border:0;
  margin:48px 0; clear:both;
  background:repeating-linear-gradient(90deg,#b8a077 0,#b8a077 6px,transparent 6px,transparent 12px);
}

/* Owner-approved sorting toolbar top padding; other spacing preserved. */
.woocommerce-sorting-wrapper { padding-top:15px; }

/* Category header-to-content gap: consistent for products and child collections. */
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-page-header{margin-bottom:0;}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-page-header + .content-wrapper{margin-top:0!important;}
body:is(.tax-product_cat,.search:where(.woocommerce)) #primary{padding-top:32px!important;}
body.tax-product_cat #primary > .wp-block-spacer:has(+ .et-child-collections){display:none;}

/* Approved Stitched Detail: open sorting row; separator only above pagination. */
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper > .row{
 display:flex;flex-wrap:wrap!important;align-items:center;justify-content:space-between;gap:14px 24px;
 margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;
}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper > .row > :is(.botiga-sorting-left,.botiga-sorting-right){
 flex:0 1 auto;width:auto;max-width:100%;min-width:0;padding:0;
}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper :is(.botiga-sorting-left-inner,.botiga-sorting-right-inner){margin:0;padding:0;}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper .woocommerce-result-count{
 margin:0;padding:0;font-family:var(--et-font-body,inherit);font-size:13px;line-height:1.6;color:#63708a;
}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper form.woocommerce-ordering{float:none;margin:0;}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper select.orderby{
 -webkit-appearance:none;appearance:none;box-sizing:border-box;width:200px;max-width:100%;min-height:44px;
 margin:0;padding:10px 40px 10px 14px;border:1px solid #b8a077;border-radius:4px;box-shadow:none;
 background-color:#f8f3e7;color:#111e50;font-family:var(--et-font-body,inherit);font-size:13px;line-height:1.6;font-weight:400;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394702c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 13px center;background-size:16px 16px;cursor:pointer;
 transition:border-color .18s ease,background-color .18s ease;
}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper select.orderby:hover{background-color:#f7f3e9;border-color:#b8954e;}
body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper select.orderby:focus-visible{outline:2px solid #b8954e;outline-offset:3px;}
@media(max-width:560px){
 body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper > .row{align-items:stretch;gap:12px;padding:0;}
 body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper > .row > :is(.botiga-sorting-left,.botiga-sorting-right){flex:0 0 100%;width:100%;}
 body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper .botiga-sorting-right-inner{display:block;width:100%;}
 body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper select.orderby{width:100%;}
}
@media(prefers-reduced-motion:reduce){body:is(.tax-product_cat,.search:where(.woocommerce)) .woocommerce-sorting-wrapper select.orderby{transition:none;}}

body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination{
 margin-top:32px;padding-top:22px;border-top:1px dashed #b8a077;text-align:center;
}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination ul.page-numbers{
 display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:0;padding:0;list-style:none;
}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination ul.page-numbers li{display:block;margin:0;padding:0;}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li .page-numbers{
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
 min-width:42px;width:auto;height:44px;padding:7px 10px;border:1px dashed #d2c3a4;border-radius:5px;
 background:transparent;color:#111e50;font-family:var(--et-font-body,inherit);font-size:13px;font-weight:400;line-height:1.5;
 text-decoration:none;transition:background-color .18s,color .18s,border-color .18s;
}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li .page-numbers.current{background:#b8954e;border-color:#b8954e;color:#fff;font-weight:600;}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li a.page-numbers:is(:hover,:focus-visible){background:#f8f3e7;border-color:#b8954e;color:#89651e;}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li a.page-numbers:focus-visible{outline:2px solid #b8954e;outline-offset:3px;}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li .page-numbers:is(.prev,.next){border-style:solid;}
body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li .page-numbers.dots{border-color:transparent;min-width:24px;padding-inline:3px;}
@media(max-width:600px){
 body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination ul.page-numbers{gap:4px;}
 body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li .page-numbers{min-width:34px;padding-inline:7px;}
}
@media(prefers-reduced-motion:reduce){body:is(.tax-product_cat,.search:where(.woocommerce)) nav.woocommerce-pagination li .page-numbers{transition:none;}}

/* Match all catalogue card titles to the approved Home category size; families/weights retained. */
html body ul.products li.product :is(.woocommerce-loop-category__title,.woocommerce-loop-product__title,.botiga-wc-loop-product__title),
html body ul.products li.product .woocommerce-loop-product__title a{font-size:14px!important;}
