/* Universal Store Clean Child 5.0.0
 * Final product desktop width + smaller title + short description toggle + gallery warranty card.
 * Safe layer: only layout/visual overrides, no DOM loops.
 */
:root{--usg-product-wide:min(100% - 28px, 1680px);--usg-product-title-max:42px;--usg-product-title-mid:2.25vw;--usg-product-title-min:28px;}
@media (min-width:1025px){
  body.usg-theme.single-product #page,
  body.usg-theme.single-product .site,
  body.usg-theme.single-product .site-content,
  body.usg-theme.single-product .content-area,
  body.usg-theme.single-product #primary,
  body.usg-theme.single-product .site-main,
  body.usg-theme.single-product .inside-article,
  body.usg-theme.single-product .entry-content,
  body.usg-theme.single-product .woocommerce,
  body.usg-theme.single-product .usg-woo-page,
  body.usg-theme.single-product .usg-woo-page>.usg-container,
  body.usg-theme.single-product .usg-container{
    width:100%!important;
    max-width:none!important;
    margin-inline:auto!important;
  }
  body.usg-theme.single-product .inside-article,
  body.usg-theme.single-product .site-main,
  body.usg-theme.single-product .entry-content,
  body.usg-theme.single-product .woocommerce,
  body.usg-theme.single-product .usg-woo-page>.usg-container{
    padding-inline:0!important;
  }
  body.usg-theme.single-product div.product,
  body.usg-theme.single-product div.product.usg-single-product-layout{
    width:var(--usg-product-wide)!important;
    max-width:1680px!important;
    margin-inline:auto!important;
  }
  body.usg-theme.single-product .usg-single-product-hero{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:minmax(0, 48%) minmax(420px, 52%)!important;
    gap:clamp(28px,3.8vw,70px)!important;
  }
  body.usg-theme.single-product .woocommerce-product-gallery,
  body.usg-theme.single-product .usg-single-product-gallery,
  body.usg-theme.single-product .summary,
  body.usg-theme.single-product .entry-summary,
  body.usg-theme.single-product .usg-single-product-summary{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.usg-theme .site-header .inside-header,
  body.usg-theme .main-navigation .inside-navigation{
    width:min(100% - 28px, 1680px)!important;
    max-width:1680px!important;
  }
}
body.usg-theme.single-product .product_title,
body.usg-theme.single-product h1.product_title,
body.usg-theme.single-product .summary .product_title,
body.usg-theme.single-product .entry-summary .product_title{
  font-size:clamp(var(--usg-product-title-min),var(--usg-product-title-mid),var(--usg-product-title-max))!important;
  line-height:1.38!important;
  letter-spacing:-.03em!important;
  margin-bottom:14px!important;
  font-weight:950!important;
  text-wrap:balance;
}
body.usg-theme.single-product .woocommerce-product-details__short-description,
body.usg-theme.single-product .entry-summary .woocommerce-product-details__short-description{
  position:relative!important;
  color:var(--usg-muted,#64748b)!important;
  line-height:2!important;
  margin:10px 0 14px!important;
  max-width:100%!important;
}
body.usg-theme.single-product .woocommerce-product-details__short-description.usg-is-collapsible:not(.is-expanded){
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden!important;
  max-height:4.1em!important;
}
body.usg-theme.single-product .woocommerce-product-details__short-description.is-expanded{
  display:block!important;
  max-height:none!important;
  overflow:visible!important;
}
body.usg-theme.single-product .usg-shortdesc-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:0!important;
  background:rgba(37,99,235,.08)!important;
  color:var(--usg-primary,#2563eb)!important;
  border-radius:999px!important;
  min-height:34px!important;
  padding:0 14px!important;
  margin:0 0 14px!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:900!important;
  cursor:pointer!important;
  transition:background-color .16s ease, transform .16s ease;
}
body.usg-theme.single-product .usg-shortdesc-toggle:hover{background:rgba(37,99,235,.13)!important;}
body.usg-theme.single-product .usg-shortdesc-toggle:active{transform:scale(.98)}
body.usg-theme.single-product .usg-gallery-warranty-card{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  margin-top:14px!important;
  padding:16px 18px!important;
  border:1px solid rgba(22,163,74,.24)!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(236,253,245,.95),rgba(255,255,255,.96))!important;
  box-shadow:0 10px 26px rgba(15,23,42,.05)!important;
  color:#065f46!important;
}
body.usg-theme.single-product .usg-gallery-warranty-card__icon{
  flex:0 0 50px!important;
  width:50px!important;
  height:50px!important;
  border-radius:18px!important;
  display:grid!important;
  place-items:center!important;
  background:#16a34a!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(22,163,74,.22)!important;
}
body.usg-theme.single-product .usg-gallery-warranty-card__icon svg{display:block!important;width:28px!important;height:28px!important;fill:currentColor!important;}
body.usg-theme.single-product .usg-gallery-warranty-card__text{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;}
body.usg-theme.single-product .usg-gallery-warranty-card__text strong{font-size:15px!important;font-weight:950!important;line-height:1.55!important;color:#065f46!important;}
body.usg-theme.single-product .usg-gallery-warranty-card__text small{font-size:12px!important;font-weight:700!important;line-height:1.8!important;color:#047857!important;}
@media (min-width:1025px){
  body.usg-theme.single-product .usg-gallery-warranty-card{margin-top:16px!important;}
}
@media (max-width:1024px){
  body.usg-theme.single-product div.product,
  body.usg-theme.single-product div.product.usg-single-product-layout{width:min(100% - 16px, 760px)!important;max-width:760px!important;}
  body.usg-theme.single-product .product_title,
  body.usg-theme.single-product h1.product_title{font-size:clamp(24px,6.4vw,34px)!important;line-height:1.42!important;}
  body.usg-theme.single-product .usg-gallery-warranty-card{padding:14px!important;border-radius:18px!important;}
}
