/* Get Green - catalog, product page, Mix & Match, cart, checkout, account. */

/* ------------------------------------------------------------ product card */
.gg-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--gg-line); border-radius: var(--gg-r); overflow: hidden; }
.gg-card:hover { border-color: var(--gg-line-2); box-shadow: var(--gg-sh); }
.gg-card__link { display: flex; flex-direction: column; flex: 1; color: var(--gg-ink); }
.gg-card__link:hover { color: var(--gg-ink); }
.gg-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--gg-soft); overflow: hidden; }
.gg-card__img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.gg-card__tags { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.gg-card__media > .gg-grade { position: absolute; top: 10px; right: 10px; z-index: 1; background: #fff; }
.gg-card__body { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px 6px; flex: 1; }
.gg-card__eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gg-muted); }
.gg-card__t { font-weight: 800; font-size: .98rem; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.gg-card__rate { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--gg-ink); }
.gg-card__rate .gg-stars { width: 68px; height: 13px; -webkit-mask-size: 13.6px 13px; mask-size: 13.6px 13px; }
.gg-card__price { margin-top: auto; padding-top: 4px; font-size: 1.05rem; font-weight: 800; color: var(--gg-ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.gg-card__price del, .gg-card__price del .amount { color: #97a39b; font-weight: 600; font-size: .86rem; }
.gg-card__price ins { text-decoration: none; color: var(--gg-sale); }
.gg-from { font-size: .76rem; font-weight: 700; color: var(--gg-muted); }
.gg-card__buy { padding: 8px 14px 14px; }
.gg-card__buy .button, .gg-card__buy .added_to_cart { width: 100%; min-height: 44px; font-size: .88rem; padding: 0 12px; }
.gg-card__buy .button.product_type_simple { background: var(--gg-lime); color: var(--gg-forest); border-color: var(--gg-lime); }
.gg-card__buy .button.product_type_simple:hover { background: var(--gg-lime-d); border-color: var(--gg-lime-d); }
.gg-card__buy .button:not(.product_type_simple) { background: #fff; color: var(--gg-forest); border-color: var(--gg-line-2); }
.gg-card__buy .button:not(.product_type_simple):hover { border-color: var(--gg-forest); background: var(--gg-soft); }
.gg-card__buy .button.loading { opacity: .6; }
.gg-card__buy .button.added { display: none; }
.gg-card__buy .added_to_cart { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--gg-forest); color: #fff; font-weight: 800; }

/* ------------------------------------------------------------ rails */
.gg-railwrap { position: relative; }
.gg-prail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 0 6px; }
.gg-prail::-webkit-scrollbar { display: none; }
.gg-prail > .gg-card { scroll-snap-align: start; }
.gg-mnm__rail .gg-prail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
.gg-rnav { position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gg-line); background: #fff; color: var(--gg-ink); display: grid; place-items: center; box-shadow: var(--gg-sh); }
.gg-rnav:hover { border-color: var(--gg-forest); }
.gg-rnav:disabled { opacity: 0; pointer-events: none; }
.gg-rnav--prev { left: -18px; }
.gg-rnav--next { right: -18px; }

/* ------------------------------------------------------------ catalog */
.gg-shop { min-height: 40vh; }
.gg-cathero { padding: 26px 0 18px; background: linear-gradient(180deg, var(--gg-soft), #fff); border-bottom: 1px solid var(--gg-line); }
.gg-cathero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 14px 0 18px; }
.gg-cathero__t { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 8px; letter-spacing: -.03em; }
.gg-cathero__intro { margin: 0; max-width: 72ch; color: var(--gg-muted); font-size: 1.02rem; }
.gg-cathero__count { flex: none; margin: 0; font-weight: 700; font-size: .9rem; color: var(--gg-muted); background: #fff; border: 1px solid var(--gg-line); border-radius: 999px; padding: 6px 14px; }
.gg-shop > .woocommerce-notices-wrapper, .gg-toolbar, .gg-shop ul.products, .gg-shop .woocommerce-pagination, .gg-shop > .woocommerce-info { max-width: var(--gg-wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.gg-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 16px; }
.gg-toolbar__n { margin: 0; font-size: .9rem; color: var(--gg-muted); font-weight: 600; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .gg-select, .woocommerce select, .variations select {
	height: 44px; border-radius: 12px; border: 1.5px solid var(--gg-line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
	padding: 0 38px 0 14px; font-weight: 600; font-size: .92rem; color: var(--gg-ink); -webkit-appearance: none; appearance: none;
}
ul.products { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
ul.products::before, ul.products::after { display: none !important; content: none !important; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; list-style: none; }
.gg-shop .woocommerce-pagination { margin-top: 30px; margin-bottom: 10px; }
.woocommerce-pagination ul.page-numbers, .gg-pager .nav-links { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0; }
.woocommerce-pagination .page-numbers li { border: 0; }
.page-numbers a, .page-numbers span, .gg-pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--gg-line); font-weight: 700; color: var(--gg-ink); background: #fff; }
.page-numbers .current, .gg-pager .current { background: var(--gg-forest); color: #fff; border-color: var(--gg-forest); }
.gg-catcopy { max-width: var(--gg-wrap); margin: 48px auto 0; padding: 0 24px; }
.gg-catcopy__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding: 30px; border-radius: var(--gg-r-lg); background: var(--gg-soft); border: 1px solid var(--gg-line); }
.gg-catcopy__b h2 { font-size: 1.1rem; margin: 0 0 8px; }
.gg-catcopy__b p { margin: 0; color: var(--gg-muted); font-size: .95rem; line-height: 1.7; }
.gg-shop > .woocommerce-info { margin-top: 24px; }

/* ------------------------------------------------------------ product page */
.gg-pdp-crumbs { padding-top: 18px; padding-bottom: 6px; }
.single-product .gg-shop > .woocommerce-notices-wrapper { padding-top: 10px; }
.single-product div.product { max-width: var(--gg-wrap); margin: 0 auto; padding: 14px 24px 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.single-product div.product > * { grid-column: 1 / -1; min-width: 0; }
.single-product div.product > .gg-gal, .single-product div.product > .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product > .summary { grid-column: 2; }
.single-product div.product .summary, .single-product div.product .gg-gal, .single-product div.product .images { width: auto !important; float: none !important; margin: 0; }
.single-product .onsale, .gg-card .onsale { display: none !important; }
.gg-gal { position: sticky; top: 20px; }
.gg-gal__stage { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--gg-r-lg); background: var(--gg-soft); border: 1px solid var(--gg-line); overflow: hidden; display: grid; place-items: center; }
.gg-gal__main { width: 100%; height: 100%; object-fit: contain; padding: 5%; mix-blend-mode: multiply; }
.gg-gal__tag { position: absolute; top: 16px; left: 16px; z-index: 1; font-size: .82rem; padding: 6px 11px; }
.gg-gal__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gg-gal__thumb { flex: none; width: 76px; height: 76px; padding: 4px; border-radius: 12px; border: 2px solid var(--gg-line); background: var(--gg-soft); }
.gg-gal__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gg-gal__thumb.is-on { border-color: var(--gg-forest); }
.summary.entry-summary { display: flex; flex-direction: column; gap: 14px; }
.summary > * { margin: 0; }
.gg-pdp__eyebrow { align-self: flex-start; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gg-lime-ink); background: var(--gg-lime-50); padding: 5px 11px; border-radius: 999px; }
.gg-pdp__t { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; margin: 0; letter-spacing: -.03em; }
.gg-grade--inline { vertical-align: middle; font-size: .8rem; position: relative; top: -4px; }
.gg-pdp__rate { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--gg-ink); align-self: flex-start; }
.gg-pdp__rate span:last-child { color: var(--gg-muted); text-decoration: underline; text-underline-offset: 3px; }
.summary .price { font-size: 1.9rem; font-weight: 800; color: var(--gg-ink); letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.summary .price del { font-size: 1.15rem; color: #97a39b; font-weight: 600; }
.summary .price ins { text-decoration: none; color: var(--gg-sale); }
.woocommerce-product-details__short-description { color: var(--gg-text); font-size: 1rem; line-height: 1.65; }
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.woocommerce-product-details__short-description h2, .woocommerce-product-details__short-description h3, .woocommerce-product-details__short-description h4 {
	font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.5; margin: 0 0 4px; color: var(--gg-ink);
}
.woocommerce-product-details__short-description ul { padding-left: 20px; margin: 0 0 10px; }
.woocommerce-product-details__short-description [style*="font-size"], .woocommerce-product-details__short-description font { font-size: inherit !important; }
.woocommerce-product-details__short-description strong { font-weight: 700; }
.summary .price, .summary .price .amount { color: var(--gg-ink); }
.summary .price del .amount { color: #97a39b; }
.summary .price ins .amount { color: var(--gg-sale); }
.woocommerce-product-details__short-description li { margin-bottom: 4px; }
form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 0 !important; padding: 20px; border-radius: var(--gg-r); background: var(--gg-soft); border: 1px solid var(--gg-line); }
form.cart.variations_form { display: block; }
form.cart .quantity { flex: none; }
form.cart button.single_add_to_cart_button { flex: 1; min-height: 54px; font-size: 1.02rem; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.single_variation_wrap .woocommerce-variation-price .price { font-size: 1.5rem; }
.woocommerce-variation-availability p { margin: 6px 0 0; font-weight: 700; font-size: .9rem; }
.stock.in-stock { color: var(--gg-lime-ink); }
.stock.out-of-stock { color: var(--gg-sale); }
table.variations { width: 100%; border-collapse: collapse; margin: 0; }
table.variations tr { display: block; margin-bottom: 14px; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; }
table.variations th.label label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gg-ink); }
table.variations select.gg-hidden-select { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.gg-vtiles { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-vtile {
	position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 86px; min-height: 52px;
	padding: 8px 14px; border-radius: 13px; border: 2px solid var(--gg-line-2); background: #fff; color: var(--gg-ink); font-weight: 800; font-size: .92rem; line-height: 1.2; text-align: center;
}
.gg-vtile small { font-size: .8rem; font-weight: 700; color: var(--gg-muted); }
.gg-vtile:hover { border-color: var(--gg-forest); }
.gg-vtile.is-on { border-color: var(--gg-forest); background: var(--gg-lime-50); box-shadow: inset 0 0 0 1px var(--gg-forest); }
.gg-vtile.is-on small { color: var(--gg-lime-ink); }
.gg-vtile.is-on::after { content: ""; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--gg-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ccc3c' stroke-width='4'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.gg-vtile.is-off { opacity: .45; text-decoration: line-through; }
.gg-reset, .reset_variations { display: inline-block; margin-top: 4px; font-size: .84rem; font-weight: 700; color: var(--gg-muted); text-decoration: underline; }

/* quantity stepper (added by app.js) - body.gg scope beats plugin sheets */
body.gg .quantity { display: inline-flex; align-items: stretch; height: 54px; border-radius: 999px; border: 1.5px solid var(--gg-line-2); background: #fff; overflow: hidden; }
body.gg .quantity .qty { width: 52px; border: 0; text-align: center; font-weight: 800; font-size: 1.02rem; background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gg-qbtn { width: 44px; border: 0; background: transparent; display: grid; place-items: center; color: var(--gg-forest); }
.gg-qbtn:hover { background: var(--gg-soft); }
.quantity.hidden { display: none; }

.gg-pdp-trust { display: grid; gap: 2px; border-radius: var(--gg-r); border: 1px solid var(--gg-line); overflow: hidden; }
.gg-pdp-trust__i { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff; }
.gg-pdp-trust__i + .gg-pdp-trust__i { border-top: 1px solid var(--gg-line); }
.gg-pdp-trust__i > .gg-i { color: var(--gg-lime-ink); margin-top: 2px; }
.gg-pdp-trust__i b { display: block; color: var(--gg-ink); font-size: .95rem; }
.gg-pdp-trust__i span { display: block; color: var(--gg-muted); font-size: .86rem; }
.gg-pdp-deal { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--gg-forest); color: rgba(255, 255, 255, .9); font-size: .9rem; }
.gg-pdp-deal .gg-i { color: var(--gg-lime); }
.gg-pdp-deal .gg-code { color: var(--gg-lime); }
.product_meta { font-size: .86rem; color: var(--gg-muted); }
.gg-pdp-sections { margin-top: 44px; border-top: 1px solid var(--gg-line); }
.gg-pdp-sections__nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; padding: 12px 0; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--gg-line); }
.gg-pdp-sections__nav a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--gg-ink); border: 1px solid var(--gg-line); }
.gg-pdp-sections__nav a:hover { border-color: var(--gg-forest); }
.gg-pdp-section { padding: 34px 0; border-bottom: 1px solid var(--gg-line); max-width: 880px; }
.gg-pdp-section > h2, .gg-pdp-section #reviews h2, .woocommerce-Reviews-title { font-size: 1.4rem; margin: 0 0 16px; }
.gg-pdp-section--description { font-size: 1rem; line-height: 1.75; }
.gg-pdp-section--description h2 ~ h2, .gg-pdp-section--description h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.gg-pdp-section--description img { border-radius: 12px; }
.gg-pdp-section table.shop_attributes { width: 100%; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gg-line); font-size: .95rem; }
.shop_attributes th { width: 34%; color: var(--gg-muted); font-weight: 700; }
.shop_attributes td p { margin: 0; }
#reviews .commentlist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
#reviews .commentlist li { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--gg-line); }
#reviews .comment_container { display: flex; gap: 12px; }
#reviews .comment_container img.avatar { width: 40px; height: 40px; border-radius: 50%; }
#reviews .comment-text { flex: 1; }
#reviews .star-rating { float: right; }
#reviews .meta { font-size: .86rem; color: var(--gg-muted); margin-bottom: 6px; }
#reviews .description p { margin: 0; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; font-size: .9rem; line-height: 1; overflow: hidden; font-family: sans-serif; }
.star-rating::before { content: "\2605\2605\2605\2605\2605"; color: #d7ddd9; position: absolute; left: 0; top: 0; letter-spacing: .1em; }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "\2605\2605\2605\2605\2605"; color: var(--gg-gold); position: absolute; left: 0; top: 0; letter-spacing: .1em; }
#review_form_wrapper { padding: 20px; border-radius: var(--gg-r); background: var(--gg-soft); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea { width: 100%; border: 1.5px solid var(--gg-line-2); border-radius: 12px; padding: 12px 14px; background: #fff; }
.comment-form-rating .stars a { color: var(--gg-gold); font-size: 1.2rem; }
.related.products, .upsells.products { margin-top: 44px; }
.related.products > h2, .upsells.products > h2 { font-size: 1.5rem; margin: 0 0 18px; }
.single-product div.product .related ul.products, .single-product div.product .upsells ul.products { padding: 0; }

/* Mix & Match builder: the plugin's table becomes a card grid */
.mnm_form { display: block !important; }
.mnm_form table.mnm_table, .mnm_form .mnm_table tbody { display: block; width: 100%; }
.mnm_form .mnm_table thead { display: none; }
.mnm_form .mnm_table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mnm_form tr.mnm_item { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--gg-line); border-radius: 14px; overflow: hidden; }
.mnm_form tr.mnm_item.gg-picked { border-color: var(--gg-forest); box-shadow: inset 0 0 0 1px var(--gg-forest); background: var(--gg-lime-50); }
.mnm_form tr.mnm_item td { display: block; padding: 0; border: 0; }
.mnm_form td.product-thumbnail { background: var(--gg-soft); }
.mnm_form td.product-thumbnail figure { margin: 0; }
.mnm_form td.product-thumbnail a { display: block; pointer-events: none; }
body.gg .mnm_form .mnm_image, body.gg .mnm_form td.product-thumbnail figure { width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; }
body.gg .mnm_form td.product-thumbnail img { width: 100% !important; height: auto; aspect-ratio: 1; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.mnm_form td.product-details { padding: 10px 12px 4px; flex: 1; }
.mnm_form td.product-details > a { display: block; font-weight: 800; font-size: .9rem; line-height: 1.3; color: var(--gg-ink); }
.mnm_form td.product-details dl.variation { display: flex; gap: 4px; margin: 4px 0 0; font-size: .78rem; color: var(--gg-muted); }
.mnm_form td.product-details dl.variation dt, .mnm_form td.product-details dl.variation dd { margin: 0; }
.mnm_form td.product-quantity { padding: 6px 10px 12px; }
body.gg .mnm_form td.product-quantity .quantity { display: flex; flex-wrap: nowrap; width: 100%; height: 44px; justify-content: space-between; align-items: stretch; float: none; }
.mnm_form td.product-quantity .quantity > label { position: absolute !important; }
.mnm_form td.product-quantity .quantity .gg-qbtn { flex: none; }
.mnm_form td.product-quantity .qty { flex: 1 1 auto; width: 40px; min-width: 0; height: auto; display: block; }
.mnm_form .ux-quantity__button, .mnm_form input[type=button].plus, .mnm_form input[type=button].minus { display: none; }
.mnm_form .mnm_cart, .mnm_form .mnm_button_wrap, .mnm_form .mnm_price, .mnm_form .mnm_message { margin-top: 14px; }
.mnm_message::before, .mnm_message_content::before { display: none !important; }
body.gg .mnm_message { padding: 12px 16px !important; }
.mnm_message, .mnm_message_content { padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--gg-line); font-weight: 700; font-size: .92rem; list-style: none; }
.mnm_message ul { margin: 0; padding: 0; list-style: none; }
.mnm_form .mnm_button_wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.gg-mnm-bar { position: sticky; top: 8px; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 14px; border-radius: 14px; background: var(--gg-forest); color: #fff; }
.gg-mnm-bar__t { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.gg-mnm-bar__track { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.gg-mnm-bar__fill { height: 100%; width: 0; background: var(--gg-lime); border-radius: 999px; }
.gg-mnm-bar.is-full .gg-mnm-bar__t { color: var(--gg-lime); }

/* sticky mobile buy bar */
.gg-buybar { display: none; }

/* ------------------------------------------------------------ cart */
.woocommerce-cart .gg-woo-page, .woocommerce-checkout .gg-woo-page, .woocommerce-account .gg-woo-page { padding-top: 10px; padding-bottom: 60px; }
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px 30px; align-items: start; }
.woocommerce-cart .woocommerce > * { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce > form.woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 2; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .gg-empty, .woocommerce-cart .woocommerce > .return-to-shop, .woocommerce-cart .woocommerce > .cart-empty { grid-column: 1 / -1; }
.woocommerce-cart-form { min-width: 0; }
table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--gg-line); border-radius: var(--gg-r); overflow: hidden; background: #fff; }
table.shop_table th { text-align: left; padding: 14px 16px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gg-muted); background: var(--gg-soft); border-bottom: 1px solid var(--gg-line); }
table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--gg-line); vertical-align: middle; }
table.shop_table tr:last-child td { border-bottom: 0; }
table.cart td.product-thumbnail img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--gg-soft); mix-blend-mode: multiply; }
table.cart td.product-name a { font-weight: 800; color: var(--gg-ink); }
table.cart td.product-remove a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--gg-muted); font-size: 1.3rem; background: var(--gg-soft); }
table.cart td.product-remove a:hover { background: #fde8e5; color: var(--gg-sale); }
table.cart td.actions { background: var(--gg-soft); }
table.cart td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
table.cart td.actions .input-text, .woocommerce form .input-text, .woocommerce form select, .woocommerce-Input {
	height: 46px; border-radius: 12px; border: 1.5px solid var(--gg-line-2); padding: 0 14px; background: #fff; font-size: .95rem; min-width: 0;
}
.woocommerce form textarea.input-text { height: auto; min-height: 100px; padding: 12px 14px; }
table.cart td.actions .button[name=update_cart] { float: right; background: #fff; color: var(--gg-forest); border-color: var(--gg-line-2); }
.cart-collaterals { min-width: 0; }
.cart_totals, #order_review, .woocommerce-checkout-review-order { padding: 22px; border-radius: var(--gg-r-lg); border: 1px solid var(--gg-line); background: #fff; box-shadow: var(--gg-sh); }
.cart_totals { position: sticky; top: 20px; }
.cart_totals h2, #order_review_heading { font-size: 1.25rem; margin: 0 0 14px; }
.cart_totals table.shop_table { border: 0; border-radius: 0; }
.cart_totals table.shop_table th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--gg-muted); padding-left: 0; }
.cart_totals table.shop_table td { text-align: right; padding-right: 0; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 1.15rem; font-weight: 800; color: var(--gg-ink); }
.wc-proceed-to-checkout { padding-top: 14px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 1.05rem; }
.gg-cartnote { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; background: var(--gg-lime-50); color: var(--gg-forest); font-size: .88rem; }
.gg-cartnote .gg-i { color: var(--gg-lime-ink); margin-top: 1px; }
#shipping_method { list-style: none; margin: 0; padding: 0; text-align: left; }
#shipping_method li { margin-bottom: 6px; font-size: .9rem; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .84rem; text-align: left; }

/* ------------------------------------------------------------ checkout */
/* Classic float layout: address column left, order summary right and sticky (a grid starts the
   summary below the tall address column because both share the first row). */
form.checkout { display: flow-root; }
form.checkout > #customer_details { float: left; width: calc(58% - 17px); }
form.checkout > #order_review_heading, form.checkout > #order_review { float: right; clear: right; width: calc(42% - 17px); }
form.checkout > #order_review_heading { margin: 0 0 12px; }
form.checkout > #order_review { position: sticky; top: 20px; }
.col2-set::before, .col2-set::after, .u-columns::before, .u-columns::after { display: none !important; content: none !important; }
#customer_details.col2-set { display: grid; gap: 22px; }
#customer_details .col-1, #customer_details .col-2 { width: auto; float: none; padding: 22px; border-radius: var(--gg-r); border: 1px solid var(--gg-line); background: #fff; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 1.15rem; margin: 0 0 14px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .88rem; color: var(--gg-ink); }
.woocommerce form .form-row .required { color: var(--gg-sale); text-decoration: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 7px); float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide { clear: both; }
.woocommerce form .input-text, .woocommerce form select { width: 100%; }
.woocommerce-billing-fields__field-wrapper::after, .woocommerce-shipping-fields__field-wrapper::after { content: ""; display: table; clear: both; }
#payment { margin-top: 16px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
#payment ul.payment_methods li { padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--gg-line); background: #fff; }
#payment ul.payment_methods li label { font-weight: 800; color: var(--gg-ink); }
#payment .payment_box { margin-top: 8px; font-size: .88rem; color: var(--gg-muted); }
#payment .payment_box p { margin: 0; }
#place_order { width: 100%; min-height: 56px; font-size: 1.05rem; }
.woocommerce-terms-and-conditions-wrapper { font-size: .86rem; margin-bottom: 12px; }
.gg-gate { max-width: 560px; margin: 20px auto 30px; padding: 34px 30px; border-radius: var(--gg-r-lg); background: #fff; border: 1px solid var(--gg-line); box-shadow: var(--gg-sh); text-align: center; }
.gg-gate__ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--gg-lime-50); color: var(--gg-lime-ink); }
.gg-gate__t { font-size: 1.5rem; margin: 0 0 8px; }
.gg-gate__s { color: var(--gg-muted); margin: 0 0 22px; }
.gg-gate__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.woocommerce-checkout .woocommerce-info.gg-gatewrap, .woocommerce .woocommerce-info:has(.gg-gate) { padding: 0; border: 0; background: transparent; box-shadow: none; }
.woocommerce .woocommerce-info:has(.gg-gate)::before { display: none; }

/* ------------------------------------------------------------ account */
#customer_login.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#customer_login .u-column1, #customer_login .u-column2 { width: auto; float: none; padding: 28px; border-radius: var(--gg-r-lg); border: 1px solid var(--gg-line); background: #fff; }
#customer_login h2 { font-size: 1.35rem; margin: 0 0 16px; }
.woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; min-height: 52px; background: var(--gg-lime); color: var(--gg-forest); border-color: var(--gg-lime); }
.woocommerce-LostPassword { margin: 12px 0 0; font-size: .9rem; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper, .woocommerce-account .woocommerce > #customer_login, .woocommerce-account .woocommerce > .woocommerce-form-login, .woocommerce-account .woocommerce > h2 { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border-radius: var(--gg-r); border: 1px solid var(--gg-line); background: #fff; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--gg-ink); font-weight: 700; font-size: .94rem; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--gg-lime-50); color: var(--gg-forest); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-orders-table .button { min-height: 38px; font-size: .84rem; padding: 0 14px; }
.gg-empty { text-align: center; padding: 50px 20px; border-radius: var(--gg-r-lg); background: var(--gg-soft); border: 1px solid var(--gg-line); }
.gg-empty .gg-i { color: var(--gg-lime-ink); margin: 0 auto 10px; }
.gg-empty h2 { font-size: 1.4rem; margin: 0 0 6px; }
.gg-empty p { color: var(--gg-muted); margin: 0 0 18px; }
.woocommerce-cart .return-to-shop { display: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
	.gg-prail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
	.gg-mnm__rail .gg-prail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.gg-shop > .woocommerce-notices-wrapper, .gg-toolbar, .gg-shop ul.products, .gg-shop .woocommerce-pagination, .gg-catcopy, .gg-shop > .woocommerce-info { padding-left: 16px; padding-right: 16px; }
	.gg-cathero { padding: 16px 0 12px; }
	.gg-cathero__top { flex-direction: column; align-items: flex-start; gap: 8px; margin: 10px 0 14px; }
	.gg-cathero__t { font-size: 1.75rem; }
	.gg-cathero__intro { font-size: .94rem; }
	.gg-cathero__count { display: none; }
	.gg-cathero__chips { margin: 0 -16px; padding: 0 16px 2px; }
	.gg-toolbar { padding-top: 12px; padding-bottom: 12px; }
	.woocommerce-ordering select { height: 40px; font-size: .86rem; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.gg-prail, .gg-mnm__rail .gg-prail { grid-auto-columns: 46%; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; }
	.gg-rnav { display: none; }
	.gg-card { border-radius: 14px; }
	.gg-card__body { padding: 10px 11px 4px; gap: 4px; }
	.gg-card__t { font-size: .88rem; }
	.gg-card__eyebrow { font-size: .66rem; }
	.gg-card__price { font-size: .96rem; }
	.gg-card__buy { padding: 6px 10px 11px; }
	.gg-card__buy .button, .gg-card__buy .added_to_cart { min-height: 40px; font-size: .8rem; padding: 0 8px; white-space: normal; text-align: center; line-height: 1.15; }
	.gg-card__tags { top: 7px; left: 7px; }
	.gg-card__media > .gg-grade { top: 7px; right: 7px; }
	.gg-tag { font-size: .66rem; padding: 3px 7px; }
	.gg-catcopy { margin-top: 30px; }
	.gg-catcopy__in { padding: 20px; grid-template-columns: 1fr; }

	.single-product div.product { grid-template-columns: 1fr; gap: 18px; padding: 6px 16px 0; }
	.single-product div.product > .summary, .single-product div.product > .gg-gal { grid-column: 1; }
	.gg-gal { position: static; }
	.gg-gal__stage { border-radius: var(--gg-r); }
	.gg-pdp-crumbs { padding-top: 12px; }
	.gg-pdp__t { font-size: 1.7rem; }
	.summary .price { font-size: 1.6rem; }
	form.cart { padding: 14px; }
	.gg-vtile { min-width: 0; flex: 1 1 calc(33.33% - 8px); }
	.gg-pdp-sections { margin-top: 26px; }
	.gg-pdp-sections__nav { overflow-x: auto; top: 0; }
	.gg-pdp-sections__nav a { flex: none; }
	.gg-pdp-section { padding: 24px 0; }
	.mnm_form .mnm_table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gg-buybar {
		display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 85;
		padding: 10px 16px; background: #fff; border-top: 1px solid var(--gg-line); box-shadow: 0 -6px 18px rgba(15, 23, 18, .08);
	}
	.gg-buybar[hidden] { display: none; }
	.gg-buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
	.gg-buybar__t { font-weight: 800; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gg-ink); }
	.gg-buybar__p { font-weight: 800; font-size: .95rem; color: var(--gg-ink); }
	.gg-buybar__p del { font-size: .8rem; color: #97a39b; }
	.gg-buybar__p ins { text-decoration: none; color: var(--gg-sale); }
	.gg-buybar .gg-btn { min-height: 46px; padding: 0 18px; }

	.woocommerce-cart .woocommerce { grid-template-columns: 1fr; gap: 20px; }
	.woocommerce-cart .woocommerce > form.woocommerce-cart-form, .woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 1; }
	table.cart thead { display: none; }
	table.cart, table.cart tbody, table.cart tr, table.cart td { display: block; }
	table.cart tr.cart_item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 4px 14px; padding: 14px; border-bottom: 1px solid var(--gg-line); }
	table.cart td { padding: 0; border: 0; }
	table.cart td.product-thumbnail { grid-row: 1 / span 4; }
	table.cart td.product-remove { position: absolute; top: 12px; right: 12px; }
	table.cart td.product-name { padding-right: 36px; }
	table.cart td::before { content: attr(data-title) ": "; font-weight: 700; color: var(--gg-muted); font-size: .84rem; }
	table.cart td.product-name::before, table.cart td.product-thumbnail::before, table.cart td.product-remove::before, table.cart td.actions::before { content: none; }
	table.cart td.product-quantity .quantity { height: 42px; }
	table.cart td.actions { padding: 14px; }
	table.cart td.actions .button[name=update_cart] { float: none; width: 100%; margin-top: 10px; }
	form.checkout > #customer_details, form.checkout > #order_review_heading, form.checkout > #order_review { float: none; width: auto; position: static; }
	form.checkout > #order_review_heading { margin-top: 22px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
	#customer_login.col2-set { grid-template-columns: 1fr; }
	#customer_login .u-column1, #customer_login .u-column2 { padding: 20px; }
	.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.woocommerce-account .woocommerce > * { min-width: 0; }
	.woocommerce-MyAccount-navigation { min-width: 0; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: none; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
	.cart_totals { position: static; }
}

/* select2 (country/province) - WooCommerce's stylesheets are off, so the essentials live here */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: 46px; border-radius: 12px; border: 1.5px solid var(--gg-line-2); display: flex; align-items: center; padding: 0 14px; }
.select2-container .select2-selection__rendered { padding: 0 !important; line-height: 1.2 !important; color: var(--gg-ink); }
.select2-container .select2-selection__arrow { top: 10px !important; right: 10px !important; }
.select2-dropdown { border-radius: 12px; border: 1.5px solid var(--gg-line-2); overflow: hidden; }
.select2-results__option--highlighted { background: var(--gg-lime-50) !important; color: var(--gg-forest) !important; }
/* Checkout add-ons from plugins: rewards redemption and the express-delivery order bump */
body.gg .woocommerce-checkout .lws_wooreward_redeem, body.gg form.checkout [class*=lws] input[type=button], body.gg form.checkout [class*=lws] button { border-radius: 999px; }
.select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; height: 1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; white-space: nowrap !important; }
body.gg form.checkout [class*=lws] input[type=button], body.gg form.checkout [class*=lws] button, body.gg form.checkout .lws-button { background: var(--gg-forest) !important; color: #fff !important; border: 0 !important; min-height: 40px; padding: 0 16px !important; font-weight: 800 !important; }
/* Mix & Match: the plugin's sheet uses .single-product div.product form.cart .mnm_table ... (0,5,2); match and win. */
.single-product div.product form.cart.mnm_form .mnm_table tr.mnm_item > td { width: 100% !important; max-width: none !important; float: none !important; }
.single-product div.product form.cart.mnm_form .mnm_table .mnm_image,
.single-product div.product form.cart.mnm_form .mnm_table td.product-thumbnail figure { width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; }
.single-product div.product form.cart.mnm_form .mnm_table td.product-thumbnail img { width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: contain; }
.single-product div.product form.cart.mnm_form .mnm_table .quantity { display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important; width: 100% !important; height: 44px !important; margin: 0 !important; }
.single-product div.product form.cart.mnm_form .mnm_table .quantity .gg-qbtn { flex: 0 0 40px; height: auto; }
.single-product div.product form.cart.mnm_form .mnm_table .quantity .qty { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; height: auto !important; }
.single-product div.product form.cart.mnm_form .mnm_table td.product-details { padding: 10px 12px 4px !important; }
.single-product div.product form.cart.mnm_form .mnm_table td.product-quantity { padding: 6px 10px 12px !important; }
.mnm_message .mnm_message_content, .mnm_message ul.msg { border: 0 !important; padding: 0 !important; background: transparent !important; margin: 0 !important; }

/* ------------------------------------------------------------ card quick-add */
.gg-qa { display: flex; flex-direction: column; gap: 8px; }
.gg-qa__pills { display: flex; flex-wrap: wrap; gap: 5px; }
.gg-qa__pill { flex: 1 1 auto; min-width: 44px; min-height: 34px; padding: 0 8px; border-radius: 9px; border: 1.5px solid var(--gg-line-2); background: #fff; font-size: .78rem; font-weight: 800; color: var(--gg-ink); cursor: pointer; }
.gg-qa__pill:hover { border-color: var(--gg-forest); }
.gg-qa__pill.is-on { border-color: var(--gg-forest); background: var(--gg-forest); color: #fff; }
.gg-card__buy .gg-qa__add { background: var(--gg-lime); color: var(--gg-forest); border-color: var(--gg-lime); }
.gg-card__buy .gg-qa__add:hover { background: var(--gg-lime-d); border-color: var(--gg-lime-d); }
.gg-qa__price { font-weight: 800; }
.gg-card__buy .gg-qa__add.added { display: inline-flex; }
/* ------------------------------------------------------------ delivery minimum progress */
.gg-progress { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--gg-lime-50); border: 1px solid var(--gg-lime-100); }
.gg-progress__msg { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: .92rem; color: var(--gg-forest); }
.gg-progress__msg .gg-i { color: var(--gg-lime-ink); flex: none; }
.gg-progress__track { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; border: 1px solid var(--gg-lime-100); }
.gg-progress__track span { display: block; height: 100%; background: var(--gg-lime-d); border-radius: 999px; }
.gg-progress.is-done { background: var(--gg-forest); border-color: var(--gg-forest); }
.gg-progress.is-done .gg-progress__msg { color: #fff; }
.gg-progress.is-done .gg-progress__msg .gg-i { color: var(--gg-lime); }
.woocommerce-cart .woocommerce > .gg-progress { grid-column: 1 / -1; }
@media (max-width: 960px) { .gg-qa__pill { min-height: 32px; font-size: .74rem; padding: 0 6px; } }

/* filter chips */
.gg-filters { max-width: var(--gg-wrap); margin: 0 auto; padding: 0 24px 16px; }
.gg-chip--filter { min-height: 34px; font-size: .84rem; }
.gg-chip--filter.is-on { background: var(--gg-lime-50); border-color: var(--gg-forest); color: var(--gg-forest); }
.gg-chip--clear { min-height: 34px; font-size: .84rem; border-style: dashed; color: var(--gg-muted); }
@media (max-width: 960px) { .gg-filters { padding: 0 0 12px; } .gg-filters .gg-chiprail { padding: 0 16px; } }

/* product page: at a glance */
.gg-glance { display: flex; flex-direction: column; gap: 8px; }
.gg-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-fact { flex: 1 1 110px; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 11px 14px; border: 1px solid var(--gg-line); border-radius: 12px; background: #fff; }
.gg-fact--type { flex: 2 1 230px; }
.gg-fact--wide { flex-basis: 100%; }
.gg-fact__k { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gg-muted); }
.gg-fact__v { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--gg-ink); overflow-wrap: anywhere; }
.gg-x { color: var(--gg-muted); font-weight: 500; padding: 0 2px; }
.gg-split { display: flex; height: 6px; margin-top: 6px; border-radius: 999px; overflow: hidden; background: var(--gg-line); }
.gg-split__i { background: #5b4bc4; }
.gg-split__s { background: #e0a526; }
.gg-split__l { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 600; color: var(--gg-muted); }
.gg-batch { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--gg-lime-50); color: var(--gg-forest); font-size: .82rem; font-weight: 700; }
.gg-batch svg { color: var(--gg-lime-ink); }
@media (max-width: 560px) { .gg-fact { padding: 10px 12px; } .gg-fact__v { font-size: .95rem; } }

/* variation form: WooCommerce hides "Clear selection" with visibility, which still takes a line */
.variations_form .reset_variations[style*="hidden"] { display: none !important; }
.variations_form table.variations tr:last-child { margin-bottom: 0; }
.variations_form table.variations { margin-bottom: 0; }
/* phones: shorter gallery so the name and price land on the first screen */
@media (max-width: 760px) {
	.gg-gal__stage { aspect-ratio: 4 / 3; }
	.gg-gal__main { padding: 3%; }
	.gg-gal__thumbs { gap: 8px; margin-top: 8px; }
	.gg-gal__thumb { width: 56px; height: 56px; padding: 3px; border-radius: 10px; }
}

/* variation tiles v2: price, unit price, savings, sold out */
.gg-vtiles--rich { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; padding-top: 10px; }
.gg-vtiles--rich .gg-vtile { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; min-height: 96px; padding: 16px 8px 12px; border: 1.5px solid var(--gg-line-2); border-radius: 14px; background: #fff; color: var(--gg-ink); text-align: center; cursor: pointer; }
.gg-vtile__w { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.gg-vtile__p { font-size: .98rem; font-weight: 700; color: var(--gg-forest); line-height: 1.3; }
.gg-vtile__p del { margin-right: 2px; font-size: .8rem; font-weight: 500; color: var(--gg-muted); }
.gg-vtile__u { font-size: .74rem; font-weight: 600; color: var(--gg-muted); }
.gg-vtile__badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: var(--gg-lime); color: var(--gg-forest); font-size: .64rem; font-weight: 800; letter-spacing: .05em; line-height: 1.4; text-transform: uppercase; white-space: nowrap; }
.gg-vtile__badge--best { background: var(--gg-forest); color: var(--gg-lime); }
.gg-vtiles--rich .gg-vtile:hover { border-color: var(--gg-forest); }
.gg-vtiles--rich .gg-vtile.is-on { border-color: var(--gg-forest); background: var(--gg-lime-50); box-shadow: inset 0 0 0 1px var(--gg-forest); }
.gg-vtiles--rich .gg-vtile.is-on .gg-vtile__u { color: var(--gg-lime-ink); }
.gg-vtiles--rich .gg-vtile.is-soldout { opacity: 1; text-decoration: none; background: var(--gg-soft); border-style: dashed; color: var(--gg-muted); cursor: not-allowed; }
.gg-vtiles--rich .gg-vtile.is-soldout .gg-vtile__w { color: var(--gg-muted); text-decoration: line-through; }
.gg-vtiles--rich .gg-vtile.is-soldout .gg-vtile__p { font-size: .78rem; color: var(--gg-muted); }
.gg-rich-tiles .woocommerce-variation-price { display: none; }
.gg-rich-tiles .woocommerce-variation-availability p { margin: 10px 0 0; font-size: .86rem; }
.gg-atc-p { font-weight: 800; white-space: nowrap; }
@media (max-width: 760px) {
	.gg-vtiles--rich { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.gg-vtiles--rich .gg-vtile { min-height: 88px; padding: 15px 4px 10px; }
	.gg-vtile__w { font-size: 1.02rem; }
}
/* one row of tiles for up to six sizes on wider screens */
.gg-vtiles--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gg-vtiles--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gg-vtiles--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gg-vtiles--n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gg-vtiles--n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gg-vtiles--n6 .gg-vtile__w { font-size: 1rem; }
.gg-rich-tiles .reset_variations { display: none !important; }
@media (max-width: 1180px) and (min-width: 761px) { .gg-vtiles--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.gg-vtiles--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gg-vtiles--n5, .gg-vtiles--n6, .gg-vtiles--n7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* selected size: solid, so the savings badge never fights a corner check */
.gg-vtiles--rich .gg-vtile.is-on { background: var(--gg-forest); border-color: var(--gg-forest); box-shadow: none; color: #fff; }
.gg-vtiles--rich .gg-vtile.is-on::after { content: none; }
.gg-vtiles--rich .gg-vtile.is-on .gg-vtile__p { color: var(--gg-lime); }
.gg-vtiles--rich .gg-vtile.is-on .gg-vtile__u { color: rgba(255, 255, 255, .72); }
.gg-vtiles--rich .gg-vtile.is-on del { color: rgba(255, 255, 255, .55); }
.gg-vtiles--rich .gg-vtile.is-on .gg-vtile__badge--best { background: var(--gg-lime); color: var(--gg-forest); }
.gg-vtiles--rich { row-gap: 18px; }
.gg-atc-p { margin-left: 2px; padding-left: 12px; border-left: 1.5px solid rgba(14, 36, 25, .28); }
.gg-atc-p[hidden] { display: none; }

/* ---- catalog header v2: one compact block, then a single sort + filter row ---- */
.gg-cathero { padding: 22px 0 20px; }
.gg-cathero__t { margin: 12px 0 4px; }
.gg-cathero__count { display: block; margin: 0 0 10px; padding: 0; border: 0; background: none; border-radius: 0; font-size: .88rem; font-weight: 700; color: var(--gg-muted); }
.gg-cathero__intro { margin: 0; }
.gg-cathero__chips { margin-top: 16px; }
.gg-clamp__more { display: none; }
.gg-refine { max-width: var(--gg-wrap); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 12px; }
.gg-refine__chips { flex: 1; min-width: 0; }
.gg-refine__sort { flex: none; order: 2; }
.gg-refine .woocommerce-ordering { margin: 0; }
.gg-refine .woocommerce-ordering select { height: 38px; width: auto; padding: 0 34px 0 16px; border-radius: 999px; border-color: var(--gg-line); background-color: #fff; background-position: right 13px center; font-size: .86rem; font-weight: 700; }
.gg-chip--clear { border-style: dashed; color: var(--gg-muted); }
@media (max-width: 960px) {
	.gg-cathero { padding: 10px 0 14px; }
	.gg-cathero .gg-crumbs { font-size: .76rem; }
	.gg-cathero__t { font-size: 1.5rem; margin: 8px 0 2px; }
	.gg-cathero__count { font-size: .8rem; margin-bottom: 6px; }
	.gg-cathero__intro { font-size: .9rem; line-height: 1.5; }
	[data-gg-clamp]:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.gg-clamp__more { display: inline-block; margin-top: 4px; padding: 0; border: 0; background: none; font: 700 .84rem var(--gg-font); color: var(--gg-lime-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
	.gg-cathero__chips { margin: 12px -16px 0; padding: 0 16px 2px; }
	.gg-cathero__chips .gg-chip { min-height: 36px; font-size: .84rem; }
	.gg-refine { padding: 10px 0 12px; gap: 8px; }
	.gg-refine__sort { order: 0; padding-left: 16px; }
	.gg-refine__chips { padding-right: 16px; }
	.gg-refine .woocommerce-ordering select { height: 34px; max-width: 168px; padding: 0 30px 0 13px; font-size: .8rem; background-position: right 11px center; }
	.gg-refine .gg-chip { min-height: 34px; padding: 0 12px; font-size: .8rem; }
}

/* quick-add pills: one tidy grid instead of ragged wrapping */
.gg-qa__pills { display: grid; gap: 5px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gg-qa__pills--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gg-qa__pills--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gg-qa__pill { min-width: 0; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* frequently bought together: a quiet card instead of raw plugin markup */
.single-product .yith-wfbt-section { margin: 18px 0 0; padding: 18px; border: 1px solid var(--gg-line); border-radius: var(--gg-r); background: #fff; }
.single-product .yith-wfbt-section > h3 { margin: 0 0 12px; font-size: 1.05rem; }
.single-product .yith-wfbt-form { display: flex; flex-direction: column; gap: 12px; }
.single-product .yith-wfbt-images { width: auto; margin: 0; border: 0; border-collapse: collapse; }
.single-product .yith-wfbt-images td { padding: 0 !important; border: 0 !important; background: none !important; vertical-align: middle; }
.single-product .yith-wfbt-images .image-td img { display: block; width: 60px; height: 60px; padding: 4px; object-fit: contain; border: 1px solid var(--gg-line); border-radius: 10px; background: var(--gg-soft); mix-blend-mode: multiply; }
.single-product .yith-wfbt-images .image_plus { padding: 0 8px !important; color: var(--gg-muted); font-weight: 800; }
.single-product .yith-wfbt-items { order: 2; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.single-product .yith-wfbt-item label { display: flex; align-items: center; gap: 10px; font-size: 0; cursor: pointer; }
.single-product .yith-wfbt-item label > * { font-size: .88rem; }
.single-product .yith-wfbt-item input[type=checkbox] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--gg-forest); }
.single-product .yith-wfbt-item .product-name { color: var(--gg-text); line-height: 1.35; }
.single-product .yith-wfbt-item a { flex: 1; color: var(--gg-text); }
.single-product .yith-wfbt-item > label > .product-name { flex: 1; }
.single-product .yith-wfbt-item .price, .single-product .yith-wfbt-item .price .amount { margin: 0; font-size: .88rem !important; font-weight: 800; color: var(--gg-ink); }
.single-product .yith-wfbt-submit-block { order: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--gg-line); }
.single-product .yith-wfbt-submit-block .price_text { margin: 0; font-size: .88rem; color: var(--gg-muted); }
.single-product .yith-wfbt-submit-block .total_price, .single-product .yith-wfbt-submit-block .total_price .amount { font-size: 1.1rem; font-weight: 800; color: var(--gg-ink); }
.single-product .yith-wfbt-submit-button { min-height: 44px; margin: 0; padding: 0 20px; border-radius: 999px; background: var(--gg-forest); border-color: var(--gg-forest); color: #fff; font-size: .9rem; }

/* gallery sticks only within the top row (it used to slide over the description) and below the sticky bar */
.single-product div.product > .gg-gal { position: static; align-self: stretch; }
.gg-gal__in { position: sticky; top: calc(var(--gg-stick, 0px) + 20px); }
@media (max-width: 960px) { .gg-gal__in { position: static; } }
/* wider cards fit five sizes on one row */
@media (min-width: 961px) { .gg-qa__pills--n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* bought-together thumbnails sit together */
.single-product .yith-wfbt-images, .single-product .yith-wfbt-images tbody, .single-product .yith-wfbt-images tr { display: flex; align-items: center; }
.single-product .yith-wfbt-images .image-td { width: auto !important; }

/* sort pill: the generic ".woocommerce form select" rule wiped the arrow with a background shorthand */
.gg-refine .woocommerce-ordering select.orderby {
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2419' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3 8l4-4 4 4M17 20V4M13 16l4 4 4-4'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2419' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat, no-repeat; background-position: 13px center, right 12px center; background-size: 15px, 11px;
	padding: 0 30px 0 35px; max-width: none;
}

/* product section tabs stick below the sticky header (they sat at top:0, under it); phones get a scroll fade */
.gg-pdp-sections__nav { top: var(--gg-stick, 0px); }
@media (max-width: 960px) {
	.gg-pdp-sections__nav { scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 36px; }
	.gg-pdp-sections__nav::-webkit-scrollbar { display: none; }
}
/* zero search results */
.gg-noresults { max-width: var(--gg-wrap); margin: 0 auto 40px; padding: 0 24px; }
.gg-noresults__t { margin: 22px 0 10px; font-weight: 800; color: var(--gg-ink); }
.gg-noresults .gg-chipwrap { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 960px) { .gg-noresults { padding: 0 16px; } }
/* WooCommerce "show password" eye (Woo's own CSS is off) */
.woocommerce form .password-input { position: relative; display: block; }
.woocommerce form .password-input input { padding-right: 48px; }
.woocommerce form .show-password-input { position: absolute; top: 50%; right: 8px; width: 36px; height: 36px; margin: 0; padding: 0; transform: translateY(-50%); border: 0; border-radius: 8px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6a62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 19px no-repeat; cursor: pointer; font-size: 0; color: transparent; }
.woocommerce form .show-password-input.display-password { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E"); }

/* signed-out account page: a readable login column instead of full-width fields */
.woocommerce-account:not(.logged-in) .gg-woo-page .woocommerce { max-width: 480px; }
.gg-loginnew { margin-top: 22px; padding: 18px; border: 1px solid var(--gg-line); border-radius: var(--gg-r); background: var(--gg-soft); }
.gg-loginnew p { margin: 0 0 12px; font-size: .92rem; color: var(--gg-text); }
/* tablets (600-960px): three product columns and a gallery that does not fill the screen */
@media (min-width: 600px) and (max-width: 960px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.gg-prail, .gg-mnm__rail .gg-prail { grid-auto-columns: 31%; }
	.gg-gal__stage { aspect-ratio: auto; height: min(56vh, 460px); }
}
.woocommerce-account .woocommerce > .gg-loginnew { grid-column: 1 / -1; }
/* THC on cards (the old site showed it as a badge on the photo) */
.gg-card__eyebrow { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; }
.gg-card__thc { color: var(--gg-lime-ink); }

/* checkout: claim the Google review reward */
.gg-claim { margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--gg-lime-100); border-radius: var(--gg-r); background: var(--gg-lime-50); }
.gg-claim__t { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .98rem; color: var(--gg-forest); }
.gg-claim__t .gg-i { color: var(--gg-gold); }
.gg-claim__row { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--gg-text); cursor: pointer; }
.gg-claim__row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gg-forest); flex: none; }
.gg-claim__strain { margin: 10px 0 0; }
.gg-claim__strain label { display: block; margin-bottom: 4px; font-size: .84rem; font-weight: 700; color: var(--gg-muted); }
.gg-claim__strain input { width: 100%; max-width: 320px; height: 42px; padding: 0 12px; border: 1.5px solid var(--gg-line-2); border-radius: 10px; font: inherit; }
.gg-claim__note { margin: 10px 0 0; font-size: .84rem; color: var(--gg-muted); }


/* Sold out -> alternatives (inc/product.php) */
.gg-alt { margin: 16px 0 0; padding: 16px; border-radius: var(--gg-r); border: 1px solid var(--gg-lime-100); background: var(--gg-lime-50); }
.gg-alt__h { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; font-weight: 800; color: var(--gg-forest); }
.gg-alt__h .gg-i { color: var(--gg-lime-ink); }
.gg-alt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gg-alt__list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--gg-line); color: var(--gg-ink); text-decoration: none; }
.gg-alt__list a:hover { border-color: var(--gg-lime); }
.gg-alt__list img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; background: var(--gg-soft); }
.gg-alt__list span { min-width: 0; display: flex; flex-direction: column; }
.gg-alt__list b { font-size: .92rem; line-height: 1.3; }
.gg-alt__list small { color: var(--gg-muted); font-size: .84rem; }
.gg-alt__list .gg-i { margin-left: auto; flex: none; color: var(--gg-muted); }
.gg-alt__list small, .gg-alt__list small * { display: inline; white-space: nowrap; }
.gg-alt__list small .woocommerce-Price-amount { font-weight: 700; color: var(--gg-ink); }

/* Checkout: express-delivery add-on (Checkout Upsell Funnel) in theme colours instead of its yellow dashed box */
.viwcuf-checkout-ob-shortcode { margin: 0 0 14px; }
.vi-wcuf-ob-product-wrap, .vi-wcuf-product.vi-wcuf-ob-product-wrap { background: var(--gg-lime-50) !important; border: 1.5px solid var(--gg-lime-100) !important; border-radius: 14px !important; padding: 12px 14px !important; box-shadow: none !important; }
.vi-wcuf-ob-title { font-weight: 800 !important; color: var(--gg-ink) !important; }
.vi-wcuf-ob-price .woocommerce-Price-amount { font-weight: 800; color: var(--gg-forest); }
/* Woo "info" notices: lime dot instead of the default blue */
.woocommerce-info { border-color: var(--gg-lime-100) !important; background: var(--gg-lime-50) !important; color: var(--gg-ink) !important; }
.woocommerce-info::before { background: var(--gg-lime-ink) !important; color: var(--gg-lime-ink) !important; border-color: var(--gg-lime-ink) !important; }
