/* Grado Alimenticio 1.0.0 - Ficha comercial y cotizacion B2B.
   Estilos acotados a fichas y modal; el checkout no se altera. */

/* Diseño del producto con el HTML NATIVO de WooCommerce. */
body.single-product .ga-woo{padding-top:34px}
body.single-product .ga-woo .woocommerce-breadcrumb{margin-bottom:25px;font-size:12px}
body.single-product .ga-woo div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);column-gap:42px;row-gap:0;align-items:start;min-width:0}
body.single-product .ga-woo div.product::before,body.single-product .ga-woo div.product::after{display:none;content:none}
body.single-product .ga-woo div.product>div.images,body.single-product .ga-woo div.product>div.summary{min-width:0;float:none!important;width:100%!important;margin:0!important}
body.single-product .ga-woo div.product>div.images{border:1px solid var(--ga-stroke);border-radius:20px;padding:18px;background:#fff;overflow:hidden}
body.single-product .ga-woo .woocommerce-product-gallery{opacity:1!important}
body.single-product .ga-woo .woocommerce-product-gallery__wrapper{border-radius:14px;overflow:hidden;background:#f8faf6}
body.single-product .ga-woo .woocommerce-product-gallery__image{background:#f8faf6;text-align:center}
body.single-product .ga-woo .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;max-height:470px;object-fit:contain;margin:auto}
body.single-product .ga-woo div.product div.images .woocommerce-product-gallery__trigger{z-index:5;top:28px;right:28px;background:#fff;border:1px solid var(--ga-stroke);box-shadow:0 2px 12px rgba(17,52,38,.08)}
body.single-product .ga-woo .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,minmax(0,86px));gap:10px;margin-top:13px!important;list-style:none;padding:0}
body.single-product .ga-woo .flex-control-thumbs li{float:none!important;width:auto!important;border:1px solid var(--ga-stroke);border-radius:9px;padding:4px;overflow:hidden;cursor:pointer}
body.single-product .ga-woo .flex-control-thumbs li:has(img.flex-active){border-color:#5b966b;box-shadow:0 0 0 2px rgba(81,148,96,.15)}
body.single-product .ga-woo .flex-control-thumbs img{width:100%;height:70px;object-fit:contain;display:block}
body.single-product .ga-woo .onsale{z-index:4;background:#507d45;color:#fff;padding:5px 11px;line-height:1.3;border-radius:8px;min-height:0;min-width:0;font-size:11px;font-weight:750;left:28px;top:28px;margin:0}

body.single-product .ga-woo div.product>div.summary{border:1px solid var(--ga-stroke);border-radius:20px;background:#fff;box-shadow:0 12px 35px rgba(15,53,38,.035);padding:clamp(19px,2.4vw,34px)}
body.single-product .ga-product-eyebrow{color:var(--ga-forest);font-size:11px;font-weight:800;letter-spacing:.105em;text-transform:uppercase;margin-bottom:10px}
body.single-product .ga-woo .summary .product_title{font-size:clamp(28px,3.15vw,42px)!important;line-height:1.12;margin:0 0 15px;color:var(--ga-deep);letter-spacing:-.033em}
body.single-product .ga-woo .summary .woocommerce-product-rating{margin-bottom:13px;font-size:13px}
body.single-product .ga-woo .summary>p.price,body.single-product .ga-woo .summary>span.price{font-size:clamp(23px,2.3vw,30px);margin:7px 0 18px;color:var(--ga-deep);line-height:1.35}
body.single-product .ga-woo .summary>p.price del,body.single-product .ga-woo .summary>span.price del{font-size:15px;color:#77897b;font-weight:500}
body.single-product .ga-woo .summary>p.price ins,body.single-product .ga-woo .summary>span.price ins{text-decoration:none}
body.single-product .ga-woo .summary.ga-variation-selected>p.price{display:none}
body.single-product .ga-woo .summary .woocommerce-product-details__short-description{color:#52645a;font-size:14px;line-height:1.65;margin:0 0 20px;padding-bottom:17px;border-bottom:1px solid var(--ga-stroke)}
body.single-product .ga-woo .summary .woocommerce-product-details__short-description p{margin:0 0 10px}
body.single-product .ga-woo .summary .woocommerce-product-details__short-description p:last-child{margin-bottom:0}
body.single-product .ga-woo .summary form.cart{margin:8px 0 13px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.single-product .ga-woo .summary form.cart .variations{border:0;margin:0 0 8px;width:100%}
body.single-product .ga-woo .summary form.cart .variations td,body.single-product .ga-woo .summary form.cart .variations th{padding:5px 0 7px;border:0;background:transparent}
body.single-product .ga-woo .summary form.cart .variations label{font-size:13px;color:var(--ga-ink);font-weight:750;display:block;margin-bottom:5px}
body.single-product .ga-woo .summary form.cart .variations select{height:46px;min-width:210px;border-radius:10px;border:1px solid #c4d9c8;background:#fff;padding:8px 12px}
body.single-product .ga-woo .summary form.cart .reset_variations{font-size:12px;color:#356b4e;margin-left:10px}
body.single-product .ga-woo .summary .woocommerce-variation-add-to-cart{display:flex;align-items:stretch;gap:9px;flex-wrap:wrap}
body.single-product .ga-woo .summary .woocommerce-variation-price{font-size:21px;font-weight:800;margin:0 0 10px;color:var(--ga-deep)}
body.single-product .ga-woo .summary .woocommerce-variation-price .price{font-size:23px}
body.single-product .ga-woo .summary form.cart .quantity{float:none;margin:0!important}
body.single-product .ga-woo .summary form.cart .quantity .qty{min-width:76px;min-height:48px;border:1px solid #c4d9c8;border-radius:10px}
body.single-product .ga-woo .summary form.cart button.single_add_to_cart_button{float:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;background:var(--ga-deep);color:#fff;font-size:14px;font-weight:800;border-radius:10px;cursor:pointer}
body.single-product .ga-woo .summary form.cart button.single_add_to_cart_button:hover{background:var(--ga-forest)}
body.single-product .ga-woo .summary form.cart button.single_add_to_cart_button:disabled{cursor:not-allowed;opacity:.55}
body.single-product .ga-single-quote-cta{margin:12px 0 18px}
body.single-product .ga-quote-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 17px;border:1px solid #9ebea8;background:#edf5ed;color:var(--ga-deep);border-radius:10px;font-size:14px;font-weight:800;cursor:pointer;text-align:left}
body.single-product .ga-quote-trigger:hover{background:#d8ecd9;border-color:#6eab80}
body.single-product .ga-single-quote-cta p{font-size:11px;color:#728477;margin:6px 2px 0;line-height:1.4}
body.single-product .ga-woo .summary .product_meta{display:block;margin:18px 0 15px;padding-top:13px;border-top:1px solid var(--ga-stroke);font-size:11px;color:#677b70;line-height:1.75}
body.single-product .ga-woo .summary .product_meta>*{display:block}
body.single-product .ga-woo .summary .product_meta a{color:#315d4b}
body.single-product .ga-product-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0 0}
body.single-product .ga-product-trust>div{padding:10px;background:#f6f9f5;border:1px solid #e2ebdf;border-radius:10px;min-width:0}
body.single-product .ga-product-trust>div>span{display:inline-grid;place-items:center;width:24px;height:24px;margin-bottom:5px;border-radius:7px;background:#e4f1df;color:#276044;font-weight:800}
body.single-product .ga-product-trust strong{display:block;color:var(--ga-deep);font-size:11px;line-height:1.3}
body.single-product .ga-product-trust small{display:block;color:#607768;font-size:10px;line-height:1.4;margin-top:4px}

/* Descripcion completa en una columna legible y productos relacionados abajo. */
body.single-product .ga-woo div.product>.woocommerce-tabs,body.single-product .ga-woo div.product>.related.products,body.single-product .ga-woo div.product>.upsells.products{grid-column:1/-1;float:none;min-width:0;width:100%;clear:both}
body.single-product .ga-woo div.product>.woocommerce-tabs{margin-top:55px;padding-top:24px;border-top:1px solid var(--ga-stroke)}
body.single-product .ga-woo .woocommerce-tabs ul.tabs{margin:0 0 22px!important;padding:0!important;border-bottom:1px solid var(--ga-stroke)}
body.single-product .ga-woo .woocommerce-tabs ul.tabs::before,body.single-product .ga-woo .woocommerce-tabs ul.tabs li::after,body.single-product .ga-woo .woocommerce-tabs ul.tabs li::before{display:none!important}
body.single-product .ga-woo .woocommerce-tabs ul.tabs li{margin:0 15px 0 0;border:0!important;background:transparent!important;border-radius:0;padding:0 3px!important}
body.single-product .ga-woo .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--ga-forest)!important}
body.single-product .ga-woo .woocommerce-tabs ul.tabs li a{padding:12px 0!important;font-size:13px}
body.single-product .ga-woo .woocommerce-tabs .panel{max-width:840px;margin-inline:auto;font-size:15px;line-height:1.77;overflow-wrap:anywhere}
body.single-product .ga-woo .woocommerce-tabs .panel h2{font-size:clamp(20px,2vw,27px);line-height:1.23;margin:25px 0 15px}
body.single-product .ga-woo .woocommerce-tabs .panel h3{font-size:19px;margin:23px 0 12px}
body.single-product .ga-woo .woocommerce-tabs .panel p,body.single-product .ga-woo .woocommerce-tabs .panel li{line-height:1.75}
body.single-product .ga-woo .woocommerce-tabs .panel img{max-width:100%;height:auto}
body.single-product .ga-woo .related.products{margin-top:48px;padding-top:27px;border-top:1px solid var(--ga-stroke)}
body.single-product .ga-woo .related.products>h2,body.single-product .ga-woo .upsells.products>h2{font-size:clamp(22px,2.5vw,29px);letter-spacing:-.02em;margin:0 0 18px;color:var(--ga-deep)}
body.single-product .ga-woo .related.products ul.products li.product img{height:auto;object-fit:contain}

@media(max-width:1050px){
  body.single-product .ga-woo div.product{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);column-gap:22px}
  body.single-product .ga-woo div.product>div.summary{padding:20px}
  body.single-product .ga-product-trust{grid-template-columns:1fr;gap:7px}
  body.single-product .ga-product-trust>div{display:grid;grid-template-columns:26px 1fr;gap:0 7px;align-items:center}
  body.single-product .ga-product-trust>div>span{grid-row:span 2;margin:0}
}
@media(max-width:767px){
  body.single-product .ga-woo{padding-top:20px}
  body.single-product .ga-woo div.product{grid-template-columns:minmax(0,1fr);gap:18px}
  body.single-product .ga-woo div.product>div.images{padding:12px;border-radius:14px}
  body.single-product .ga-woo div.product>div.summary{border-radius:14px;padding:19px}
  body.single-product .ga-woo .woocommerce-product-gallery__image img{max-height:370px}
  body.single-product .ga-woo .summary form.cart button.single_add_to_cart_button{flex:1 1 150px}
  body.single-product .ga-woo div.product>.woocommerce-tabs{margin-top:26px;padding-top:18px}
  body.single-product .ga-woo .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px}
  body.single-product .ga-woo .related.products{margin-top:30px}
}
