/*Trim heading into 2 lines max*/ 
/* Extra safeguard: trim visually with CSS */
.woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;     /* max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px!important;
  margin: 20px 0px!important;
}


/* Two-cell container */
.gg2gm-shop-row-cta {
  display: inline-flex;             /* switch grid → flex for tighter control */
  justify-content: space-between;
  align-items: center;      
  margin-top: 14px;
  gap: 12px;
}

.gg2gm-cart-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

/* Button with icon + text */
.gg2gm-cart-btn {
    display: inline-flex!important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
  border-radius: 10px!important;   
  text-decoration: none;
  font-size: 16px!important;
  font-weight: 700!important;
  line-height: 1;
  border: 0;
  background: var(--accent, #e77d42);
  color: #fff !important;
  transition: filter .15s ease, transform .02s ease;
}

.gg2gm-cart-btn:hover { filter: brightness(0.95); }
.gg2gm-cart-btn:active { transform: translateY(1px); }

.gg2gm-cart-svg { fill: currentColor; display: inline-block; }

/* Right: price */
.gg2gm-cta-right {
  justify-self: end;
  font-weight: 700;
  font-size: 25px;
  color: #000;
}

.gg2gm-cta-right .price { margin: 0; }
.gg2gm-cta-right del { opacity: .65; margin-right: 6px; }

/* Clean residual Woo buttons */
.woocommerce ul.products li.product .button { margin: 0; }
