/*
 Theme Name:   GTradX Child Plus
 Theme URI:    https://gtradx.example
 Description:  Light child theme for Astra with GTradX UI tweaks (Verified badge, RFQ emphasis, product card styles).
 Author:       GTradX
 Template:     astra
 Version:      1.2.0
*/

/* --- Product card layout tweaks (light) --- */
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 12px;
  transition: box-shadow .2s ease, transform .1s ease;
  background: #ffffff;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

/* --- Verified Vendor badge --- */
.badge--verified {
  display:inline-flex;
  align-items:center;
  gap:.35em;
  padding: .25em .55em;
  border: 1px solid #2b8a3e;
  color: #2b8a3e;
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1;
  font-weight: 600;
  background: rgba(43,138,62,.06);
}
.badge--verified::before{
  content: "✓";
  font-weight: 900;
}

/* Position under title */
.gtradx-badge-wrap { margin: 6px 0 4px; }

/* --- Request a Quote (YITH) emphasis --- */
.add-request-quote-button,
.yith-ywraq-add-to-quote,
.yith-ywraq-add-button,
.single-product .yith-ywraq-add-to-quote {
  display: inline-flex !important;
  align-items:center;
  justify-content:center;
  padding: 10px 14px !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid #0B3C5D !important;
  background: #0B3C5D !important;
  color: #ffffff !important;
  transition: filter .15s ease, transform .05s ease;
}
.add-request-quote-button:hover,
.yith-ywraq-add-to-quote:hover,
.yith-ywraq-add-button:hover,
.single-product .yith-ywraq-add-to-quote:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

/* Secondary buttons */
.tinvwl_add_to_wishlist_button, .tinvwl_add_to_wishlist_button:visited {
  border-radius: 8px;
}

/* Hide vendor info for guests (CSS fallback) */
body.logged-out .dokan-seller-name, 
body.logged-out .sold-by, 
body.logged-out .dokan-store-info {
  display:none !important;
}
