/* ===== Star Aminos — hide Woo defaults ===== */
body.woocommerce-shop .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb { display:none !important; }

body.woocommerce-shop .woocommerce-products-header > .woocommerce-products-header__title,
body.woocommerce-shop .woocommerce-products-header > .page-title,
body.post-type-archive-product .woocommerce-products-header > .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header > .page-title { display:none !important; }

body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header { margin:0 !important; padding:0 !important; }

footer.site-footer .site-info,
footer#colophon .site-info,
.powered-by-woocommerce,
.site-footer .powered-by { display:none !important; }

footer.site-footer { padding:0 !important; margin:0 !important; min-height:0 !important; border:0 !important; }

/* Kill theme's empty site-header + main padding on shop/product pages */
body.woocommerce-shop header.site-header,
body.post-type-archive-product header.site-header,
body.tax-product_cat header.site-header,
body.tax-product_tag header.site-header,
body.single-product header.site-header {
  display: none !important;
}

body.woocommerce-shop main.site-main,
body.post-type-archive-product main.site-main,
body.tax-product_cat main.site-main,
body.tax-product_tag main.site-main,
body.single-product main.site-main {
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-shop .woocommerce-products-header > .page-description,
body.post-type-archive-product .woocommerce-products-header > .page-description {
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile hamburger for shop nav (CSS-only, no JS — checkbox hack) */
@media (max-width: 860px) {
  .sa-shop-nav { position: relative !important; }

  .sa-shop-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    gap: 0 !important;
    background: #F5F3F1 !important;
    padding: 20px 6vw !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(58,58,58,.1) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,.06) !important;
    z-index: 99 !important;
  }
  .sa-shop-menu li {
    width: 100% !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(58,58,58,.06) !important;
  }
  .sa-shop-menu li:last-child { border-bottom: 0 !important; }
  .sa-shop-menu a { display: block !important; }

  .sa-shop-hamburger { display: block !important; }

  /* open state */
  .sa-shop-nav-check:checked ~ .sa-shop-menu { display: flex !important; }
  .sa-shop-nav-check:checked ~ .sa-shop-hamburger span:nth-child(1) {
    top: 9px !important; transform: rotate(45deg) !important;
  }
  .sa-shop-nav-check:checked ~ .sa-shop-hamburger span:nth-child(2) {
    opacity: 0 !important;
  }
  .sa-shop-nav-check:checked ~ .sa-shop-hamburger span:nth-child(3) {
    top: 9px !important; transform: rotate(-45deg) !important;
  }
}

.sa-shop-nav-check {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.sa-shop-menu,
.sa-shop-menu > li {
  list-style: none !important;
}

.sa-shop-menu > li {
  display: block !important;
}

/* ===== Star Aminos — hide compare + category placeholder + brand-color buttons ===== */

/* Remove Compare button on shop loop */
.woocommerce ul.products li.product .compare,
.woocommerce-page ul.products li.product .compare,
.products .compare,
a.compare,
.compare.button {
  display: none !important;
}

/* Remove category placeholder card showing "Research Peptides (34)" */
.products .product-category,
li.product-category {
  display: none !important;
}

/* Brand-color (rose-gold) for shop buttons */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button,
.products .button,
.products .add_to_cart_button,
.products .yith-wcqv-button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.yith-wcqv-button {
  background: #CFA18D !important;
  background-color: #CFA18D !important;
  color: #fff !important;
  border-color: #CFA18D !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.products .button:hover,
.products .add_to_cart_button:hover,
.products .yith-wcqv-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.yith-wcqv-button:hover {
  background: #b88670 !important;
  background-color: #b88670 !important;
  border-color: #b88670 !important;
  color: #fff !important;
}


/* ===== Star Aminos — tablet/iPad responsive + Huly-inspired halo (v1) ===== */
/* Extend hamburger threshold to 1024px so iPad landscape gets the dropdown menu */
@media(max-width:1024px){
  body .sa-menu{display:none !important;position:absolute !important;top:100% !important;left:0 !important;right:0 !important;background:var(--cream,#F5F3F1) !important;flex-direction:column !important;gap:0 !important;padding:20px 6vw !important;border-bottom:1px solid rgba(58,58,58,.1) !important;box-shadow:0 20px 40px rgba(0,0,0,.06) !important;z-index:50 !important}
  body .sa-menu.open{display:flex !important}
  body .sa-menu li{width:100% !important;padding:12px 0 !important;border-bottom:1px solid rgba(58,58,58,.06) !important}
  body .sa-menu li.sa-search{padding:14px 0 !important;border-bottom:none !important}
  body .sa-menu a{display:block !important;font-size:15px !important}
  body .sa-search-form{width:100% !important}
  body .sa-search-form input[type="search"]{width:100% !important;flex:1 !important;padding:12px 14px !important;font-size:14px !important}
  body .sa-search-form .sa-search-icon{padding:12px 14px !important}
  body .sa-hamburger{display:block !important}
  body .sa-cta-shop{display:none !important}
  body .sa-nav-inner{padding:14px 6vw !important}
}

/* Trust grid 4 -> 2 cols in tablet zone before mobile breakpoint */
@media(max-width:1100px){
  body .sa-trust-grid{grid-template-columns:repeat(2,1fr) !important;gap:32px !important}
}

/* Featured section stack on tablet */
@media(max-width:1024px){
  body .sa-featured-grid{grid-template-columns:1fr !important;gap:36px !important}
  body .sa-featured-img{max-width:480px !important;margin:0 auto !important}
  body .sa-split-grid{grid-template-columns:1fr !important;gap:36px !important}
  body .sa-peptides-grid{grid-template-columns:repeat(2,1fr) !important}
}

/* Hero typography scales down in awkward zone */
@media(max-width:1024px){
  body .sa-hero-title{font-size:clamp(40px,7vw,72px) !important;line-height:1.05 !important}
  body .sa-hero-grid{grid-template-columns:1fr !important;gap:40px !important}
  body .sa-hero-img-wrap{max-width:520px !important;margin:0 auto !important}
}

/* Huly-inspired halo glow on primary CTAs (subtle, brand colors) */
body .sa-btn-primary,
body .sa-cta-shop{position:relative;overflow:visible}
body .sa-btn-primary::after,
body .sa-cta-shop::after{
  content:'';position:absolute;inset:-3px;
  background:linear-gradient(135deg,rgba(124,143,163,.55),rgba(207,161,141,.55));
  filter:blur(16px);opacity:0;z-index:-1;pointer-events:none;
  border-radius:inherit;transition:opacity .55s ease
}
body .sa-btn-primary:hover::after,
body .sa-cta-shop:hover::after{opacity:1}
body .sa-btn-primary:hover,
body .sa-cta-shop:hover{transform:translateY(-1px);transition:transform .25s ease}


/* ===== Shop page nav — responsive parity (wrap to 2 rows) ===== */
@media(max-width:1100px){
  body .sa-shop-nav{flex-wrap:wrap !important;padding:14px 6vw !important;row-gap:12px !important}
  body .sa-shop-menu{order:99 !important;width:100% !important;justify-content:center !important;flex-wrap:wrap !important;gap:14px 22px !important;padding:6px 0 0 !important;font-size:13px !important;letter-spacing:.06em !important}
  body .sa-shop-menu li{padding:0 !important}
  body .sa-shop-menu li form{width:240px !important}
}
@media(max-width:640px){
  body .sa-shop-menu{font-size:12px !important;gap:10px 16px !important}
  body .sa-shop-menu li form{width:100% !important;order:99 !important}
}

/* WooCommerce shop product grid responsive */
@media(max-width:1100px){
  body .woocommerce ul.products[class*="columns-"]{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:24px !important}
  body .woocommerce ul.products li.product{width:auto !important;margin:0 !important;float:none !important}
}
@media(max-width:768px){
  body .woocommerce ul.products[class*="columns-"]{grid-template-columns:repeat(2,1fr) !important}
}
@media(max-width:480px){
  body .woocommerce ul.products[class*="columns-"]{grid-template-columns:1fr !important}
}


/* ===== Star Aminos — kill all blue button states + post-add-to-cart link (v1) ===== */
/* This block must come AFTER all earlier button overrides to win specificity battles. */

/* Brand color tokens */
:root{
  --sa-rose:#CFA18D;
  --sa-rose-dark:#B88670;
  --sa-rose-deep:#9F6F58;
  --sa-cream:#F5F3F1;
  --sa-ink:#3A3A3A;
}

/* ANY button-like element on the entire shop / cart / checkout / account flow */
body a.added_to_cart,
body a.added_to_cart:link,
body a.added_to_cart:visited,
body .woocommerce a.added_to_cart,
body .woocommerce-message a.button,
body .woocommerce-info a.button,
body .woocommerce-error a.button,
body .woocommerce-message .button,
body .woocommerce-info .button,
body .woocommerce-noreviews a.button,
body .cart_totals a.button,
body .return-to-shop a.button,
body .wc-block-components-button,
body .wc-forward,
body a.wc-forward{
  background:var(--sa-rose) !important;
  background-color:var(--sa-rose) !important;
  border:1px solid var(--sa-rose) !important;
  border-color:var(--sa-rose) !important;
  color:#fff !important;
  padding:14px 22px !important;
  font-size:13px !important;
  font-weight:600 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
  border-radius:0 !important;
  transition:background .2s ease, transform .2s ease, box-shadow .25s ease !important;
  display:inline-block !important;
  margin-left:10px !important;
}
body a.added_to_cart:hover,
body .woocommerce a.added_to_cart:hover,
body .woocommerce-message a.button:hover,
body .woocommerce-info a.button:hover,
body .woocommerce-error a.button:hover,
body .return-to-shop a.button:hover,
body a.wc-forward:hover,
body .wc-forward:hover{
  background:var(--sa-rose-dark) !important;
  background-color:var(--sa-rose-dark) !important;
  border-color:var(--sa-rose-dark) !important;
  color:#fff !important;
  transform:translateY(-1px) !important;
  box-shadow:0 6px 16px rgba(184,134,112,.25) !important;
}

/* Universal hover/focus/active on Woo buttons — kills theme blue */
body .products .button,
body .products .add_to_cart_button,
body .products .yith-wcqv-button,
body .woocommerce .button,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body .yith-wcqv-button{
  background:var(--sa-rose) !important;
  background-color:var(--sa-rose) !important;
  border:1px solid var(--sa-rose) !important;
  color:#fff !important;
  transition:background .2s ease, transform .2s ease, box-shadow .25s ease !important;
}
body .products .button:hover,
body .products .button:focus,
body .products .button:active,
body .products .add_to_cart_button:hover,
body .products .yith-wcqv-button:hover,
body .woocommerce .button:hover,
body .woocommerce .button:focus,
body .woocommerce .button:active,
body .woocommerce a.button:hover,
body .woocommerce a.button:focus,
body .woocommerce a.button:active,
body .woocommerce button.button:hover,
body .woocommerce button.button:focus,
body .woocommerce button.button:active,
body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover,
body .yith-wcqv-button:hover{
  background:var(--sa-rose-dark) !important;
  background-color:var(--sa-rose-dark) !important;
  border-color:var(--sa-rose-dark) !important;
  color:#fff !important;
  transform:translateY(-1px) !important;
  box-shadow:0 6px 16px rgba(184,134,112,.22) !important;
}

/* Loading spinner state on Add-to-Cart */
body .products .button.loading,
body .woocommerce .button.loading{
  background:var(--sa-rose-dark) !important;
  color:#fff !important;
  opacity:.85 !important;
}
body .products .button.added,
body .woocommerce .button.added{
  background:var(--sa-rose) !important;
  color:#fff !important;
}

/* WooCommerce notice bar (info/success/error) — replace blue accent with rose */
body .woocommerce-message,
body .woocommerce-info{
  border-top-color:var(--sa-rose) !important;
  background:#FBF6F2 !important;
}
body .woocommerce-message::before,
body .woocommerce-info::before{
  color:var(--sa-rose-dark) !important;
}
body .woocommerce-error{border-top-color:#C0664B !important}

/* Mini-cart, cart page, checkout — kill any blue */
body .woocommerce-cart .button,
body .woocommerce-checkout .button,
body .wc-proceed-to-checkout .checkout-button,
body #place_order,
body .woocommerce-Tabs-panel a.button{
  background:var(--sa-rose) !important;
  border-color:var(--sa-rose) !important;
  color:#fff !important;
}
body .woocommerce-cart .button:hover,
body .woocommerce-checkout .button:hover,
body .wc-proceed-to-checkout .checkout-button:hover,
body #place_order:hover{
  background:var(--sa-rose-dark) !important;
  border-color:var(--sa-rose-dark) !important;
}

/* Star ratings & sale flash */
body .woocommerce span.onsale,
body .products span.onsale{
  background:var(--sa-rose) !important;
  color:#fff !important;
  border-radius:0 !important;
}

/* ===== Shop page polish — premium product cards + category sections (v1) ===== */

/* Force CSS Grid on the products list (overrides theme float layout) */
body .woocommerce ul.products,
body.woocommerce, body .woocommerce-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:36px 28px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
body .woocommerce ul.products li.product,
body.woocommerce, body .woocommerce-page ul.products li.product{
  width:auto !important;
  margin:0 !important;
  float:none !important;
  clear:none !important;
  background:#fff !important;
  border:1px solid rgba(58,58,58,.08) !important;
  padding:22px 22px 26px !important;
  text-align:center !important;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease !important;
  position:relative !important;
  border-radius:2px !important;
}
body .woocommerce ul.products li.product:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 18px 42px rgba(58,58,58,.10) !important;
  border-color:rgba(207,161,141,.4) !important;
}
body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body .woocommerce ul.products li.product a.woocommerce-loop-product__link{
  display:block !important;
  text-decoration:none !important;
}
body .woocommerce ul.products li.product img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
  background:#FBF6F2 !important;
  margin:0 auto 18px !important;
  transition:transform .5s ease !important;
}
body .woocommerce ul.products li.product:hover img{transform:scale(1.03) !important}
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
body .woocommerce ul.products li.product h2,
body .woocommerce ul.products li.product h3{
  font-family:Georgia, 'Times New Roman', serif !important;
  font-size:19px !important;
  font-weight:600 !important;
  line-height:1.25 !important;
  color:var(--sa-ink) !important;
  margin:0 0 8px !important;
  padding:0 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  min-height:48px !important;
}
body .woocommerce ul.products li.product .price{
  font-family:Georgia, serif !important;
  font-size:18px !important;
  color:var(--sa-rose-deep) !important;
  font-weight:600 !important;
  margin:6px 0 16px !important;
  display:block !important;
}
body .woocommerce ul.products li.product .price del,
body .woocommerce ul.products li.product .price ins{font-size:16px !important;text-decoration:none !important}
body .woocommerce ul.products li.product .price del{color:rgba(58,58,58,.45) !important;text-decoration:line-through !important;margin-right:8px !important}

/* Card buttons row — Add to cart + Quick View side-by-side, full-width strip */
body .woocommerce ul.products li.product .button,
body .woocommerce ul.products li.product .yith-wcqv-button{
  width:auto !important;
  margin:4px 4px 0 !important;
  padding:11px 14px !important;
  font-size:11px !important;
  letter-spacing:.1em !important;
  font-weight:600 !important;
  text-transform:uppercase !important;
}

/* Shop catalog header — tighten + center */
body .woocommerce .woocommerce-result-count{
  text-align:center !important;
  font-size:12px !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  color:rgba(58,58,58,.55) !important;
  margin:0 0 28px !important;
  font-style:normal !important;
}
body .woocommerce .woocommerce-ordering{
  display:flex !important;
  justify-content:center !important;
  margin:0 0 36px !important;
}
body .woocommerce .woocommerce-ordering select{
  border:1px solid rgba(58,58,58,.15) !important;
  padding:10px 36px 10px 16px !important;
  background:#fff !important;
  font-size:13px !important;
}

/* Pagination (1, 2 →) */
body .woocommerce-pagination ul.page-numbers{
  display:flex !important;
  justify-content:center !important;
  gap:8px !important;
  border:none !important;
  margin:48px 0 24px !important;
}
body .woocommerce-pagination ul.page-numbers li{
  border:none !important;
  margin:0 !important;
}
body .woocommerce-pagination .page-numbers{
  border:1px solid rgba(58,58,58,.15) !important;
  padding:10px 16px !important;
  background:#fff !important;
  color:var(--sa-ink) !important;
  font-size:13px !important;
  font-weight:600 !important;
  letter-spacing:.06em !important;
  border-radius:0 !important;
  transition:all .2s ease !important;
}
body .woocommerce-pagination .page-numbers.current,
body .woocommerce-pagination .page-numbers:hover{
  background:var(--sa-rose) !important;
  color:#fff !important;
  border-color:var(--sa-rose) !important;
}

/* Responsive grid breakpoints */
@media(max-width:1100px){
  body .woocommerce ul.products,
  body.woocommerce, body .woocommerce-page ul.products{grid-template-columns:repeat(3,1fr) !important;gap:28px 22px !important}
}
@media(max-width:768px){
  body .woocommerce ul.products,
  body.woocommerce, body .woocommerce-page ul.products{grid-template-columns:repeat(2,1fr) !important;gap:22px 16px !important}
  body .woocommerce ul.products li.product{padding:18px 16px 22px !important}
}
@media(max-width:480px){
  body .woocommerce ul.products,
  body.woocommerce, body .woocommerce-page ul.products{grid-template-columns:1fr !important}
}


/* ===== Star Aminos — corrected Woo selectors (final pass) ===== */
/* body has class "woocommerce" directly, so ".woocommerce ul.products" matches via body itself.
   "body .woocommerce" (with space) does NOT match — fixed here with no space. */

/* Product grid as CSS Grid */
html body.woocommerce ul.products,
html body.woocommerce-page ul.products,
.woocommerce-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:36px 28px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
html body.woocommerce ul.products li.product,
html body.woocommerce-page ul.products li.product{
  width:auto !important;
  margin:0 !important;
  float:none !important;
  clear:none !important;
  background:#fff !important;
  border:1px solid rgba(58,58,58,.08) !important;
  padding:22px 22px 26px !important;
  text-align:center !important;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease !important;
  position:relative !important;
  border-radius:2px !important;
}
html body.woocommerce ul.products li.product:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 18px 42px rgba(58,58,58,.10) !important;
  border-color:rgba(207,161,141,.4) !important;
}
html body.woocommerce ul.products li.product img,
html body.woocommerce-page ul.products li.product img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
  background:#FBF6F2 !important;
  margin:0 auto 18px !important;
  transition:transform .5s ease !important;
}
html body.woocommerce ul.products li.product:hover img{transform:scale(1.03) !important}
html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce ul.products li.product h2{
  font-family:Georgia, serif !important;
  font-size:19px !important;
  font-weight:600 !important;
  line-height:1.25 !important;
  color:#3A3A3A !important;
  margin:0 0 8px !important;
  padding:0 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  min-height:48px !important;
}
html body.woocommerce ul.products li.product .price{
  font-family:Georgia, serif !important;
  font-size:18px !important;
  color:#9F6F58 !important;
  font-weight:600 !important;
  margin:6px 0 16px !important;
  display:block !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
html body.woocommerce ul.products li.product .button,
html body.woocommerce ul.products li.product .yith-wcqv-button{
  width:auto !important;
  margin:4px 4px 0 !important;
  padding:11px 14px !important;
  font-size:11px !important;
  letter-spacing:.1em !important;
  font-weight:600 !important;
  text-transform:uppercase !important;
}

/* Hide category tiles still leaking through */
html body.woocommerce ul.products li.product-category,
html body.woocommerce-page ul.products li.product-category{display:none !important}

/* Result-count + ordering header */
html body.woocommerce .woocommerce-result-count{
  text-align:center !important;
  font-size:12px !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  color:rgba(58,58,58,.55) !important;
  margin:0 0 28px !important;
  font-style:normal !important;
}
html body.woocommerce .woocommerce-ordering{
  display:flex !important;
  justify-content:center !important;
  margin:0 0 36px !important;
}
html body.woocommerce .woocommerce-ordering select{
  border:1px solid rgba(58,58,58,.15) !important;
  padding:10px 36px 10px 16px !important;
  background:#fff !important;
  font-size:13px !important;
  text-transform:none !important;
}

/* Pagination */
html body.woocommerce-page .woocommerce-pagination ul.page-numbers{
  display:flex !important;
  justify-content:center !important;
  gap:8px !important;
  border:none !important;
  margin:48px 0 24px !important;
  list-style:none !important;
  padding:0 !important;
}
html body.woocommerce-page .woocommerce-pagination ul.page-numbers li{border:none !important;margin:0 !important}
html body.woocommerce-page .woocommerce-pagination .page-numbers{
  border:1px solid rgba(58,58,58,.15) !important;
  padding:10px 16px !important;
  background:#fff !important;
  color:#3A3A3A !important;
  font-size:13px !important;
  font-weight:600 !important;
  border-radius:0 !important;
}
html body.woocommerce-page .woocommerce-pagination .page-numbers.current,
html body.woocommerce-page .woocommerce-pagination .page-numbers:hover{
  background:#CFA18D !important;
  color:#fff !important;
  border-color:#CFA18D !important;
}

/* Reset accidental side effects (in case parent rules cascaded) */
html body.woocommerce-shop, html body.woocommerce-page{
  background:transparent !important;
  color:inherit !important;
}

/* Responsive grid breakpoints — corrected selectors */
@media(max-width:1100px){
  html body.woocommerce ul.products,
  html body.woocommerce-page ul.products{grid-template-columns:repeat(3,1fr) !important;gap:28px 22px !important}
}
@media(max-width:768px){
  html body.woocommerce ul.products,
  html body.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr) !important;gap:22px 16px !important}
  html body.woocommerce ul.products li.product{padding:18px 16px 22px !important}
}
@media(max-width:480px){
  html body.woocommerce ul.products,
  html body.woocommerce-page ul.products{grid-template-columns:1fr !important}
}

/* === added_to_cart View Cart link — corrected selector === */
html body a.added_to_cart,
html body .woocommerce a.added_to_cart{
  background:#CFA18D !important;
  background-color:#CFA18D !important;
  border:1px solid #CFA18D !important;
  color:#fff !important;
  padding:14px 22px !important;
  font-size:13px !important;
  font-weight:600 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
  border-radius:0 !important;
  display:inline-block !important;
  margin-left:10px !important;
  transition:background .2s ease, transform .2s ease, box-shadow .25s ease !important;
}
html body a.added_to_cart:hover,
html body .woocommerce a.added_to_cart:hover{
  background:#B88670 !important;
  background-color:#B88670 !important;
  border-color:#B88670 !important;
  color:#fff !important;
  transform:translateY(-1px) !important;
  box-shadow:0 6px 16px rgba(184,134,112,.25) !important;
}


/* ===== Shop container width + button layout ===== */
html body.woocommerce-shop #woocommerce-wrapper.wide-max-width,
html body.woocommerce-page #woocommerce-wrapper.wide-max-width,
html body.archive.post-type-archive-product #woocommerce-wrapper{
  max-width:1320px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:6vw !important;
  padding-right:6vw !important;
  box-sizing:border-box !important;
  width:100% !important;
}
html body.woocommerce-shop #primary,
html body.woocommerce-shop #main,
html body.woocommerce-shop #content{
  max-width:none !important;
  width:100% !important;
}

/* Buttons side-by-side, equal-width */
html body.woocommerce ul.products li.product .button,
html body.woocommerce ul.products li.product .yith-wcqv-button{
  display:inline-block !important;
  width:auto !important;
  min-width:0 !important;
  flex:1 1 auto !important;
  margin:8px 4px 0 !important;
  padding:11px 10px !important;
  font-size:11px !important;
  white-space:nowrap !important;
  letter-spacing:.08em !important;
}
html body.woocommerce ul.products li.product{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
}
html body.woocommerce ul.products li.product > a{flex:0 0 auto !important}
html body.woocommerce ul.products li.product .price{margin-bottom:14px !important}

/* Wrap the Add-to-cart + Quick View into a horizontal strip */
html body.woocommerce ul.products li.product::after{content:'';display:block;height:0}

/* Force-render the button strip as a flex row by targeting the container the buttons live in.
   Woo emits buttons as direct siblings inside the LI, so we use flex on the LI but constrain button display. */
html body.woocommerce ul.products li.product{padding-bottom:18px !important}


/* ===== Shop layout final corrections ===== */

/* Widen the page wrapper on shop archive pages */
html body.woocommerce-shop #page,
html body.archive.post-type-archive-product #page,
html body.tax-product_cat #page{
  max-width:1320px !important;
  width:auto !important;
  margin:0 auto !important;
  padding-left:5vw !important;
  padding-right:5vw !important;
  box-sizing:border-box !important;
}
html body.woocommerce-shop #content,
html body.woocommerce-shop #primary,
html body.woocommerce-shop #main,
html body.woocommerce-shop #woocommerce-wrapper{
  max-width:none !important;
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Hide the Research Peptides (34) category tile in shop loop */
html body.woocommerce ul.products li.product-category,
html body.woocommerce-page ul.products li.product-category,
html body ul.products li.product-category{display:none !important}

/* Hide Compare button (YITH) on every product card */
html body .yith-wcompare-button,
html body a.compare,
html body a.yith-compare,
html body .compare-button,
html body .products .compare,
html body li.product .compare,
html body li.product a.button.compare{display:none !important;visibility:hidden !important;height:0 !important;width:0 !important;margin:0 !important;padding:0 !important;border:0 !important;font-size:0 !important;line-height:0 !important;overflow:hidden !important}

/* Buttons row — inline side-by-side (override earlier flex-column on li.product) */
html body.woocommerce ul.products li.product{
  display:block !important;  /* revert flex-column */
}
html body.woocommerce ul.products li.product .button,
html body.woocommerce ul.products li.product .yith-wcqv-button{
  display:inline-block !important;
  width:calc(50% - 8px) !important;
  margin:8px 2px 0 !important;
  padding:11px 8px !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
  white-space:nowrap !important;
  vertical-align:top !important;
  box-sizing:border-box !important;
}
html body.woocommerce ul.products li.product .button.add_to_cart_button{
  width:calc(60% - 8px) !important;
}
html body.woocommerce ul.products li.product .yith-wcqv-button{
  width:calc(40% - 8px) !important;
}

/* Title — allow 2 lines */
html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce ul.products li.product h2{
  font-size:17px !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 0 6px !important;
}


/* ===== Final cascade winners (last block in CSS) ===== */

/* Hide product-category tile — winning specificity over li.product flex rules */
html body.woocommerce ul.products li.product.product-category,
html body.woocommerce-page ul.products li.product.product-category,
html body ul.products li.product.product-category,
.products li.product-category{
  display:none !important;
  width:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  position:absolute !important;
}

/* Force shop page wrapper to use full available width */
html body.woocommerce-shop #page,
html body.archive.post-type-archive-product #page{
  max-width:1400px !important;
  box-sizing:border-box !important;
  margin:0 auto !important;
  padding:0 5vw !important;
}
html body.woocommerce-shop article#woocommerce-wrapper{
  max-width:none !important;
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
}


/* Quick View shorter padding so text fits in narrower cards */
html body.woocommerce ul.products li.product .yith-wcqv-button{
  padding:11px 6px !important;
  font-size:10.5px !important;
  letter-spacing:.04em !important;
}
html body.woocommerce ul.products li.product .button.add_to_cart_button,
html body.woocommerce ul.products li.product .button.product_type_simple{
  font-size:10.5px !important;
  letter-spacing:.04em !important;
  padding:11px 6px !important;
}
html body.woocommerce-shop #page,
html body.archive.post-type-archive-product #page{
  max-width:1280px !important;
  margin:0 auto !important;
  padding-left:32px !important;
  padding-right:32px !important;
  box-sizing:border-box !important;
}
html body.woocommerce-shop,
html body.archive.post-type-archive-product{
  overflow-x:hidden !important;
}


/* Hide Quick View on shop loop — cleaner cards, full-width Add to Cart */
html body.woocommerce ul.products li.product .yith-wcqv-button,
html body.woocommerce ul.products li.product a.yith-wcqv-button{
  display:none !important;
  visibility:hidden !important;
  width:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

/* Add to Cart — full width with proper text */
html body.woocommerce ul.products li.product .button.add_to_cart_button,
html body.woocommerce ul.products li.product .button.product_type_simple,
html body.woocommerce ul.products li.product a.button{
  display:block !important;
  width:100% !important;
  margin:14px 0 0 !important;
  padding:13px 12px !important;
  font-size:12px !important;
  letter-spacing:.1em !important;
  text-align:center !important;
  text-transform:uppercase !important;
  font-weight:600 !important;
}

/* Card padding tweak so button has breathing room */
html body.woocommerce ul.products li.product{
  padding:22px 18px 24px !important;
}


/* ===== Shop page width + top gap fixes (final) ===== */

/* Kill body padding that creates white gaps on edges */
html body.woocommerce-shop,
html body.archive.post-type-archive-product,
html body.tax-product_cat{
  padding:0 !important;
  margin:0 !important;
  overflow-x:hidden !important;
}

/* Force #page to fill viewport width up to max-width and stay centered */
html body.woocommerce-shop #page,
html body.archive.post-type-archive-product #page,
html body.tax-product_cat #page{
  width:100% !important;
  max-width:1320px !important;
  margin:0 auto !important;
  padding:0 32px !important;
  box-sizing:border-box !important;
}

/* Make sure the announcement bar / nav / shop wrapper don't constrain inner width */
html body.woocommerce-shop #content,
html body.woocommerce-shop #primary,
html body.woocommerce-shop #main,
html body.woocommerce-shop article#woocommerce-wrapper,
html body.archive.post-type-archive-product #content,
html body.archive.post-type-archive-product #primary,
html body.archive.post-type-archive-product #main,
html body.archive.post-type-archive-product article#woocommerce-wrapper{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

/* The product grid itself should fill the whole content area */
html body.woocommerce ul.products,
html body.woocommerce-page ul.products,
html body.woocommerce-shop ul.products{
  width:100% !important;
  max-width:none !important;
}


/* ===== Body grid layout fix — #page must span full width on shop pages ===== */

/* Body uses display:grid — collapse to single 1fr column on shop archive */
html body.woocommerce-shop,
html body.archive.post-type-archive-product,
html body.tax-product_cat{
  display:block !important;
  grid-template-columns:1fr !important;
}

/* Make #page span full track width (belt-and-suspenders) */
html body.woocommerce-shop > #page,
html body.archive.post-type-archive-product > #page,
html body.tax-product_cat > #page{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:1320px !important;
  margin:0 auto !important;
  padding:0 32px !important;
  box-sizing:border-box !important;
}


/* Final hide rule for product-category — simple display:none, no position:absolute (avoid grid placement issues) */
html body.woocommerce ul.products li.product.product-category,
html body.woocommerce-page ul.products li.product.product-category,
html body ul.products li.product-category,
html body ul.products li.product.product-category{
  display:none !important;
  position:static !important;
}


/* Kill WooCommerce clearfix pseudos that hijack grid cells (push everything to col 2+) */
html body.woocommerce ul.products::before,
html body.woocommerce ul.products::after,
html body.woocommerce-page ul.products::before,
html body.woocommerce-page ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
.woocommerce .products ul::before,
.woocommerce .products ul::after{
  display:none !important;
  content:none !important;
}