/* Good Wish Coffee — WooCommerce styles. Loaded only on store pages and where product shortcodes are used. */
.gw-shop{padding-top:8px}
.woocommerce-breadcrumb{font-size:.8rem;margin:16px 0;color:#888}
.woocommerce-breadcrumb a{color:#888}
.woocommerce-products-header__title,.product_title,.woocommerce-page .entry-title{font-size:clamp(1.6rem,3vw,2.2rem)}
.woocommerce-result-count{float:none;margin:0 0 12px;font-size:.85rem}
.woocommerce-ordering{margin:0 0 20px}
.woocommerce-ordering select{width:auto;min-width:220px}
@media(min-width:700px){.woocommerce-result-count{float:left;line-height:44px;margin:0}.woocommerce-ordering{float:right}}
.woocommerce-notices-wrapper{clear:both}

/* Product grids (shop, categories, related, upsells, shortcodes) */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid;gap:var(--gw-gap);list-style:none;margin:20px 0 0;padding:0;clear:both;grid-template-columns:repeat(2,minmax(0,1fr))}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
@media(min-width:700px){.woocommerce ul.products.columns-3,.woocommerce ul.products.columns-4,.woocommerce ul.products.columns-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1000px){
	.woocommerce ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
	.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
	.woocommerce ul.products.columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}
	.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.gw-featured .woocommerce ul.products{grid-template-columns:repeat(var(--cols-sm,2),minmax(0,1fr))}
@media(min-width:600px){.gw-featured .woocommerce ul.products{grid-template-columns:repeat(var(--cols-md,2),minmax(0,1fr))}}
@media(min-width:960px){.gw-featured .woocommerce ul.products{grid-template-columns:repeat(var(--cols,4),minmax(0,1fr))}}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto;margin:0;padding:0;position:relative;display:flex;flex-direction:column;text-align:left}
.woocommerce ul.products li.product a img{margin:0 0 14px;aspect-ratio:1;object-fit:cover;background:var(--gw-bg-alt);border-radius:var(--gw-radius);transition:opacity .2s}
.woocommerce ul.products li.product a:hover img{opacity:.92}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--gw-font-heading);font-size:1rem;padding:0;margin:0 0 6px;color:var(--gw-heading)}
.woocommerce ul.products li.product .price{display:block;color:var(--gw-text);font-size:.92rem;margin-bottom:12px}
.woocommerce ul.products li.product .price del{opacity:.55}
.woocommerce ul.products li.product .price ins{text-decoration:none;font-weight:600;color:var(--gw-heading)}
.woocommerce ul.products li.product .star-rating{margin:0 0 6px;font-size:.8em}
.woocommerce ul.products li.product .button{margin-top:auto;align-self:flex-start;min-height:40px;padding:.5em 1.2em;font-size:.85rem}
.woocommerce ul.products li.product .added_to_cart{margin-top:8px;font-size:.85rem}
.woocommerce span.onsale{position:absolute;top:10px;left:10px;right:auto;min-width:0;min-height:0;padding:4px 10px;line-height:1.4;border-radius:var(--gw-btn-radius);background:var(--gw-accent);color:#fff;font-size:.72rem;font-weight:400;z-index:2}
.woocommerce .stock.out-of-stock{color:#a33}
.woocommerce .stock.in-stock{color:#3a7a4a}

/* Buttons & forms */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--gw-accent);color:#fff;border:1px solid var(--gw-accent);border-radius:var(--gw-btn-radius);font-weight:400;padding:.65em 1.6em;min-height:44px;line-height:1.4}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--gw-heading);border-color:var(--gw-heading);color:#fff}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.5}
.woocommerce form .form-row{margin-bottom:16px}
.woocommerce form .form-row label{display:block;margin-bottom:4px;font-size:.9rem}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:.6em .9em}
.woocommerce .quantity .qty{width:84px;text-align:center}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--gw-accent);background:var(--gw-bg-alt);color:var(--gw-text);border-radius:0 0 var(--gw-radius) var(--gw-radius)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--gw-accent)}

/* Single product */
.woocommerce div.product{display:grid;gap:28px;margin-top:8px}
.woocommerce div.product::before,.woocommerce div.product::after{display:none}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;margin:0}
.woocommerce div.product .woocommerce-product-gallery__image img{border-radius:var(--gw-radius)}
.woocommerce div.product .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px;padding:0;list-style:none}
.woocommerce div.product .flex-control-thumbs li{width:auto;float:none}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gw-heading);font-size:1.3rem;margin-bottom:1em}
.woocommerce div.product p.price del{opacity:.55}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:1.5em}
.woocommerce div.product form.cart .variations{width:100%;margin-bottom:8px}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;padding:0 0 6px;text-align:left}
.woocommerce div.product form.cart .reset_variations{font-size:.8rem}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap;width:100%}
.woocommerce div.product .product_meta{font-size:.85rem;border-top:1px solid var(--gw-border);padding-top:14px}
.woocommerce div.product .product_meta>span{display:block}
@media(min-width:820px){
	.woocommerce div.product{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px;align-items:start}
	.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:4px 24px;list-style:none;margin:0 0 20px;padding:0;border-bottom:1px solid var(--gw-border)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;margin:0;padding:0;border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:10px 0;display:block;color:var(--gw-text);font-weight:400}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--gw-heading);border-bottom:2px solid var(--gw-accent)}
.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 24px}
.woocommerce div.product .related>h2,.woocommerce div.product .upsells>h2{font-size:1.3rem}
.woocommerce table.shop_attributes th{width:30%;font-weight:600}
.woocommerce #reviews #comments ol.commentlist li img.avatar{border-radius:50%}

/* Cart */
.woocommerce table.shop_table{border:1px solid var(--gw-border);border-radius:var(--gw-radius);border-collapse:separate;border-spacing:0;width:100%}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 16px;border-top:1px solid var(--gw-border);vertical-align:middle}
.woocommerce table.shop_table thead th{border-top:0;background:var(--gw-bg-alt);font-weight:600;font-size:.85rem}
.woocommerce-cart table.cart img{width:72px;border-radius:var(--gw-radius)}
.woocommerce a.remove{color:var(--gw-text)!important;border:1px solid var(--gw-border);width:28px;height:28px;line-height:26px}
.woocommerce a.remove:hover{background:var(--gw-heading)!important;color:#fff!important}
.woocommerce-cart table.cart td.actions .coupon{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:auto;flex:1 1 160px}
@media(max-width:700px){
	.woocommerce table.shop_table_responsive thead{display:none}
	.woocommerce table.shop_table_responsive tr{display:block;border-bottom:1px solid var(--gw-border)}
	.woocommerce table.shop_table_responsive td{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right!important;border-top:0}
	.woocommerce table.shop_table_responsive td::before{content:attr(data-title) ": ";font-weight:600;text-align:left}
	.woocommerce table.shop_table_responsive td.product-remove::before,.woocommerce table.shop_table_responsive td.product-thumbnail::before,.woocommerce table.shop_table_responsive td.actions::before{display:none}
	.woocommerce-cart table.cart td.actions{display:block;text-align:left!important}
}
.woocommerce .cart-collaterals,.woocommerce-page .cart-collaterals{margin-top:24px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-page .cart-collaterals .cart_totals{float:none;width:100%}
@media(min-width:820px){.woocommerce .cart-collaterals .cart_totals{float:right;width:46%}}
.woocommerce .wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;font-size:1rem;padding:.9em 1em}

/* Checkout */
.woocommerce-checkout #customer_details{margin-bottom:24px}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2,.woocommerce-page .col2-set .col-1,.woocommerce-page .col2-set .col-2{float:none;width:100%}
@media(min-width:900px){
	.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);column-gap:48px;align-items:start}
	.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1/span 2}
	.woocommerce-checkout form.checkout #order_review_heading,.woocommerce-checkout form.checkout #order_review{grid-column:2}
}
.woocommerce-checkout #payment{background:var(--gw-bg-alt);border-radius:var(--gw-radius)}
.woocommerce-checkout #payment div.payment_box{background:#fff;color:var(--gw-text)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--gw-border)}
.woocommerce #payment #place_order{width:100%;float:none;font-size:1rem;padding:.9em 1em}

/* My account */
.woocommerce-account .woocommerce{display:grid;gap:24px}
@media(min-width:820px){.woocommerce-account .woocommerce{grid-template-columns:220px minmax(0,1fr);gap:48px}}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--gw-border);border-radius:var(--gw-radius)}
.woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px;color:var(--gw-text);text-decoration:none;border-bottom:1px solid var(--gw-border)}
.woocommerce-MyAccount-navigation li:last-child a{border-bottom:0}
.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation li a:hover{background:var(--gw-bg-alt);color:var(--gw-heading)}
.woocommerce-account:not(.logged-in) .woocommerce{display:block;max-width:900px}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon,.woocommerce form.woocommerce-ResetPassword{border:1px solid var(--gw-border);border-radius:var(--gw-radius);padding:24px;margin:0 0 24px}
.woocommerce-cart .woocommerce-cart-form,.woocommerce-checkout .woocommerce-form-coupon-toggle{margin-bottom:20px}

/* Block-based cart/checkout keep their own styling; just align with theme tokens */
.wc-block-components-button:not(.is-link){background:var(--gw-accent);color:#fff;border-radius:var(--gw-btn-radius)}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{max-width:100%}
.woocommerce span.gw-soldout{position:absolute;top:10px;left:10px;z-index:2;padding:4px 10px;background:var(--gw-heading);color:#fff;font-size:.72rem;border-radius:var(--gw-btn-radius)}
