/* Visual and usability polish (theme 0.10.0), loaded after brand.css.
   Product page layout, product cards, browse chips, cart/checkout progress, mobile tap targets. */

/* ---------- Product page: photo stays in view beside the buy box (desktop) ---------- */
@media (min-width:992px){
 body.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px;align-items:start}
 body.single-product div.product>*{grid-column:1/-1}
 body.single-product div.product .woocommerce-product-gallery{grid-column:1;grid-row:1;float:none;margin:0;position:sticky;top:20px}
 body.single-product div.product .summary{grid-column:2;grid-row:1;float:none;margin:0}
 body.single-product div.product .woocommerce-product-gallery,body.single-product div.product .summary{width:100%!important;max-width:none!important;box-sizing:border-box}
 body.single-product .admin-bar div.product .woocommerce-product-gallery,
 body.admin-bar.single-product div.product .woocommerce-product-gallery{top:52px}
}
/* Delivery, payment and help: a quiet two-column card instead of the heaviest block on the page. */
.gs-buy-box{grid-template-columns:1fr 1fr;gap:10px 18px;padding:14px 16px;margin-top:16px}
.gs-buy-point{gap:10px}
.gs-buy-point .gs-icon{width:20px;height:20px}
.gs-buy-point b{font-size:13.5px}
.gs-buy-point small{font-size:12px;line-height:1.4}
.gs-pay-chips{grid-column:1/-1;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:2px 0 0;padding-bottom:2px}
.gs-pay-chips::-webkit-scrollbar{display:none}
.gs-pay-chips li{flex:none;font-size:11.5px;padding:3px 8px}
.gs-returns-note{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:10px 14px;border:1px solid var(--gs-stroke);border-radius:10px;background:#fff;font-size:14px}
.gs-returns-note .gs-icon{width:20px;height:20px;color:var(--gs-leaf);flex:none}
.gs-returns-note a{color:var(--gs-ink);text-decoration:none}
.gs-returns-note small{color:var(--gs-muted)}
body.single-product div.product .summary p.price{font-size:30px;font-weight:800;margin:6px 0 12px}
body.single-product div.product .product_meta{margin-top:14px;font-size:13px;color:var(--gs-muted)}
body.single-product .related.products>h2,body.single-product .upsells.products>h2{font-size:24px;margin:36px 0 16px}

/* ---------- Product cards (shop, category, search) ---------- */
ul.products li.product{border:1px solid var(--gs-stroke);border-radius:12px;padding:12px 12px 14px;background:#fff;transition:box-shadow .15s ease,transform .15s ease;display:flex;flex-direction:column}
ul.products li.product:hover{box-shadow:0 8px 24px #1f242114;transform:translateY(-2px)}
ul.products li.product a.woocommerce-LoopProduct-link{display:block}
ul.products li.product img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;margin:0 0 10px;border-radius:8px}
ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.35;font-weight:700;min-height:3.8em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;padding:0}
ul.products li.product .gs-card-summary,
.woocommerce ul.products li.product .gs-card-summary,
body.woocommerce ul.products li.product .gs-card-summary,
.gs-sell-details .gs-card-summary{font-size:12.5px;line-height:1.45;color:var(--gs-muted);margin:0 0 8px;display:block;-webkit-line-clamp:unset;line-clamp:unset;max-height:none;min-height:0;height:auto;overflow:visible}
ul.products li.product .price{display:block;margin-top:auto;font-size:18px;font-weight:800;color:var(--gs-ink)}
ul.products li.product .button{margin-top:10px;width:100%;text-align:center;min-height:44px;display:flex;align-items:center;justify-content:center}
.gs-sell-card{display:flex;flex-direction:column}
.gs-sell-photo img{aspect-ratio:1/1;object-fit:contain;width:100%;height:auto}

/* Browse chips: one tidy scrolling row on small screens, kept in view while scrolling a long list. */
.gs-browse{margin-bottom:14px}
.gs-chip{min-height:38px;display:inline-flex;align-items:center}
@media (max-width:760px){
 .gs-browse{position:sticky;top:0;z-index:20;background:#fff;margin:0 -16px 12px;padding:8px 16px;border-bottom:1px solid var(--gs-stroke)}
 .gs-browse .gs-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:4px}
 .gs-browse .gs-chips::-webkit-scrollbar{display:none}
 .gs-browse .gs-chip{flex:none}
}
.woocommerce-result-count{color:var(--gs-muted);font-size:13px}
.woocommerce-ordering select{min-height:40px;border-radius:20px;border:1px solid var(--gs-stroke);padding:0 14px;background:#fff}

.gs-from{font-size:.62em;font-weight:600;color:var(--gs-muted);text-transform:none;letter-spacing:0}

/* ---------- Cart and checkout: where you are ---------- */
.gs-progress{display:flex;align-items:center;justify-content:center;gap:0;list-style:none;margin:0 0 14px;padding:0;font-size:13px;font-weight:700;color:var(--gs-muted)}
.gs-progress li{display:flex;align-items:center;gap:8px}
.gs-progress li+li::before{content:"";width:36px;height:2px;background:var(--gs-stroke);margin:0 10px}
.gs-progress .gs-progress-no{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--gs-stroke);color:var(--gs-ink);font-size:12px}
.gs-progress .is-done .gs-progress-no,.gs-progress .is-current .gs-progress-no{background:var(--gs-leaf);color:#fff}
.gs-progress .is-current{color:var(--gs-ink)}
.gs-progress .is-done+li::before,.gs-progress .is-current+li::before{background:var(--gs-leaf)}
.gs-reassure{margin-bottom:18px}
@media (max-width:600px){
 .gs-progress li+li::before{width:18px;margin:0 6px}
 .gs-progress{font-size:12px}
 .gs-reassure{display:flex;overflow-x:auto;gap:14px;scrollbar-width:none}
 .gs-reassure li{flex:none}
}

/* ---------- Home: calmer rhythm ---------- */
.gs-sales-section{margin-top:44px}
@media (max-width:760px){.gs-sales-section{margin-top:32px}}

/* ---------- Mobile: comfortable thumbs ---------- */
@media (max-width:760px){
 .gs-header a,.gs-category-nav a,.gs-lang a{min-height:44px}
 .gs-lang a{display:inline-flex;align-items:center;padding-left:10px;padding-right:10px}
 body.single-product div.product .summary form.cart .quantity .qty{min-height:48px;min-width:56px}
 body.single-product div.product .summary form.cart{display:flex;gap:10px;align-items:center}
 .gs-buy-box{grid-template-columns:1fr 1fr;gap:8px 12px;padding:12px}
 .gs-buy-point small{display:none}
 .gs-buy-point b{font-size:13px}
 ul.products li.product{padding:10px}
 ul.products li.product .price{font-size:16px}
}
@media (prefers-reduced-motion:reduce){ul.products li.product,.gs-sell-card{transition:none}ul.products li.product:hover,.gs-sell-card:hover{transform:none}}
