/*
 * Print Fabrique Commerce Suite — Botiga-safe storefront additions (v4.6.7)
 *
 * IMPORTANT: this file deliberately does NOT style Botiga's layout primitives
 * (.container, .site-container, .site-main, .content-area, header rows,
 * .summary, product gallery widths, ul.products grids, etc.). Botiga remains
 * the sole owner of desktop/tablet/mobile layout. Only PF-owned components are
 * styled here.
 */

.gm-store-style .gm-loop-variations{margin-top:6px;color:var(--gm-store-muted,#6d6864);font-size:13px;line-height:1.35}
.gm-store-style .gm-loop-color-swatches{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:18px;margin-top:9px;line-height:1}
.gm-store-style .gm-loop-color-swatch{display:inline-block;box-sizing:border-box;width:17px;height:17px;flex:0 0 17px;min-height:0!important;margin:0!important;padding:0!important;border:1px solid rgba(20,20,20,.18);border-radius:50%;background:var(--gm-swatch,#d7d7d7);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);line-height:1!important;cursor:pointer;appearance:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.gm-store-style .gm-loop-color-swatch:hover{border-color:var(--gm-store-text,#211f1d);transform:scale(1.12)}
.gm-store-style .gm-loop-color-swatch.is-active{border-color:#9e744a;box-shadow:0 0 0 2px rgba(158,116,74,.18),inset 0 0 0 1px rgba(255,255,255,.25)}
.gm-store-style .gm-loop-color-more{display:inline-flex;align-items:center;min-height:15px;color:var(--gm-store-text,#211f1d);font-size:13px;font-weight:650;line-height:1}

.gm-store-style .gm-tier-prices{clear:both;margin:22px 0;padding:18px;background:#fff;border:1px solid var(--gm-store-border,#e7e4e1);border-radius:14px}
.gm-store-style .gm-tier-prices>strong{display:block;color:var(--gm-store-text,#211f1d);font-size:17px}
.gm-store-style .gm-tier-prices table{width:100%;margin:10px 0;border-collapse:collapse}
.gm-store-style .gm-tier-prices th,.gm-store-style .gm-tier-prices td{padding:9px 7px;color:var(--gm-store-text,#211f1d);border-bottom:1px solid var(--gm-store-border,#e7e4e1);font-size:14px;text-align:left}
.gm-store-style .gm-tier-prices th{font-weight:700}
.gm-store-style .gm-tier-prices small{display:block;color:var(--gm-store-muted,#6d6864);font-size:12px;line-height:1.45}

.gm-store-style .gm-product-service-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px;padding:20px;background:var(--gm-store-info,#f4f4f4);border-radius:14px}
.gm-store-style .gm-product-service-item{min-width:0}
.gm-store-style .gm-product-service-item strong,.gm-store-style .gm-product-service-item span{display:block}
.gm-store-style .gm-product-service-item strong{margin-bottom:3px;color:var(--gm-store-text,#211f1d);font-size:14px;line-height:1.3}
.gm-store-style .gm-product-service-item span{color:var(--gm-store-muted,#6d6864);font-size:13px;line-height:1.4}

.gm-store-style .gm-xindao-from{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.2}
.gm-store-style .gm-xindao-from-main{display:block}
.gm-store-style .gm-xindao-from-qty{display:block;color:var(--gm-store-muted,#6d6864);font-size:13px;font-weight:600;line-height:1.35}
.gm-store-style .gm-xindao-from-loop small{display:none!important}

@media(max-width:549px){
 .gm-store-style .gm-product-service-card{gap:14px 12px;padding:16px 14px}
 .gm-store-style .gm-product-service-item strong{font-size:13px}
 .gm-store-style .gm-product-service-item span{font-size:12px}
 .gm-store-style .gm-xindao-from-qty{font-size:12px}
}
