/*
 * Glenwood store styles: shop, product cards, product page, cart dropdown,
 * cart page, checkout, order received. Loaded after style.css and
 * woocommerce.css.
 *
 * Type: Bookmania (--gw-font-serif) for titles and descriptions, a system
 * sans (--gw-font-sans) for interface text. Colors come from the brand
 * variables in style.css, editable under Restaurant Settings > Site design.
 */
:root {
	--gw-border-strong: #cdc8bd;
	--gw-danger: #b42318;
	--gw-danger-bg: #fef3f2;
	--gw-success-bg: #eef5f0;
	--gw-shadow: 0 1px 2px rgba(20, 18, 14, .04), 0 12px 32px rgba(20, 18, 14, .10);
	--gw-ease: cubic-bezier(.2, .7, .2, 1);
	--gw-pill: 999px;
	--gw-field-h: 58px;
	--gw-store-max: 1700px;
	--gw-gutter: clamp(20px, 3vw, 48px);
}

/* ==========================================================================
   WooCommerce base (formerly woocommerce.css, from the 2019 starter theme):
   responsive shop tables, product grid fallbacks, stock and form states,
   notices. The theme's own store design follows below and overrides it.
   ========================================================================== */

/* Shop tables */
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td:before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove:before {
	display: none;
}

table.shop_table_responsive tr td.actions:before,
table.shop_table_responsive tr td.download-actions:before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {
	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td:before {
		display: none;
	}
}

/* Products */
ul.products {
	content: "";
	display: table;
	table-layout: fixed;
	margin: 0;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 2em;
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
}

@media screen and (min-width: 48em) {
	ul.products li.product {
		width: 30.7966666667%;
		float: left;
		margin-right: 3.8%;
	}

	ul.products li.product.first {
		clear: both;
	}

	ul.products li.product.last {
		margin-right: 0;
	}
}

/* Single product */
.single-product div.product {
	content: "";
	display: table;
	table-layout: fixed;
	position: relative;
}

.single-product div.product .woocommerce-product-gallery {
	position: relative;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1em;
	right: 1em;
	display: block;
	z-index: 99;
}

.stock:empty:before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
}

/* Checkout */
@media screen and (min-width: 768px) {
	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}

	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}

	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}

/* General WooCommerce components */
/* Header cart */
/* Star rating */
/* Tabs */
/* Password strength meter */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3D9CD2;
}

/* Forms */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: red;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	content: "";
	display: table;
	table-layout: fixed;
	background-color: #0f834d;
	clear: both;
}

.woocommerce-info {
	background-color: #3D9CD2;
}

.woocommerce-error {
	background-color: #e2401c;
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: #3D9CD2;
	z-index: 9999;
}

/* WooCommerce widgets */
/* WooCommerce Price Filter */

/* ==========================================================================
   Store design
   ========================================================================== */


/* ------------------------------------------------------------------ base */
.woocommerce-page .site-main,
.woocommerce .site-main {
	font-feature-settings: "lnum" 1;
}

.woocommerce-page .site-main p,
.woocommerce .site-main p {
	font-size: 17px;
	line-height: 1.6;
}

.woocommerce .amount,
.woocommerce .price,
.gw-mini-price {
	font-variant-numeric: lining-nums tabular-nums;
}

.woocommerce-page .site-main :is(a, button, input, select, textarea):focus-visible,
.gw-minicart :is(a, button, input):focus-visible {
	outline: 2px solid var(--gw-text);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --------------------------------------------------------------- buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce-page .button,
.gw-minicart .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	margin: 0;
	padding: .8em 1.6em;
	font-family: var(--gw-font-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	color: var(--gw-text);
	background: #fff;
	border: 1px solid var(--gw-border-strong);
	border-radius: var(--gw-pill);
	cursor: pointer;
	transition: background-color .2s var(--gw-ease), color .2s var(--gw-ease), border-color .2s var(--gw-ease), opacity .2s, transform .2s var(--gw-ease);
}

.woocommerce .button:hover,
.woocommerce-page .button:hover,
.gw-minicart .button:hover {
	border-color: var(--gw-text);
	background: #fff;
	color: var(--gw-text);
}

/* Primary: add to cart, proceed to checkout, place order. */
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce-page .button.alt,
.woocommerce #place_order {
	color: #fff;
	background: var(--gw-accent);
	border-color: var(--gw-accent);
}

.woocommerce .button.alt:hover,
.woocommerce-page .button.alt:hover,
.woocommerce #place_order:hover {
	color: #fff;
	background: var(--gw-accent-light);
	border-color: var(--gw-accent-light);
}

/* Dark: checkout from the dropdown. */
.gw-minicart .button.gw-button-dark,
.woocommerce .button.gw-button-dark {
	color: #fff;
	background: var(--gw-text);
	border-color: var(--gw-text);
}

.gw-minicart .button.gw-button-dark:hover {
	color: #fff;
	background: color-mix(in srgb, var(--gw-text) 82%, #fff);
}

.woocommerce .button:active {
	transform: translateY(1px);
}

.woocommerce .button:disabled,
.woocommerce .button.disabled,
.woocommerce .button[disabled] {
	opacity: .4;
	cursor: not-allowed;
}

.woocommerce .button.loading {
	opacity: .6;
	pointer-events: none;
}

/* --------------------------------------------------------------- notices */
.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup {
	max-width: var(--gw-store-max);
	margin: 0 auto 20px;
	text-align: left;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	margin: 0 0 16px;
	padding: 14px 18px;
	font-family: var(--gw-font-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	list-style: none;
	color: var(--gw-text);
	background: var(--gw-surface) !important;
	border: 0;
	border-left: 3px solid var(--gw-accent-light);
	border-radius: 8px;
}

.woocommerce-info {
	border-left-color: var(--gw-text-2);
}

.woocommerce-error {
	display: block !important;
	color: var(--gw-danger);
	background: var(--gw-danger-bg) !important;
	border-left-color: var(--gw-danger);
}

.woocommerce-error li + li {
	margin-top: 6px;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	min-height: 0;
	padding: .45em 1em;
	font-size: 14px;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a {
	color: inherit;
	font-weight: 600;
}

/* =====================================================================
   Shop: hero, categories, toolbar, grid
   ===================================================================== */
.gw-shop-hero {
	margin: 0;
	padding: clamp(48px, 6vw, 88px) var(--gw-gutter) clamp(36px, 4vw, 56px);
	text-align: center;
	background: linear-gradient(to bottom, var(--gw-tile) 0%, #fff 100%);
}

.gw-shop-hero__inner {
	max-width: 980px;
	margin: 0 auto;
}

.gw-shop-hero__title.page-title {
	margin: 0 0 clamp(16px, 2vw, 24px);
	font-family: var(--gw-font-serif);
	/* "The Glenwood Shop" is about 8.7em wide in Bookmania Black: this keeps
	   it on one line from phones (34px) up to large screens (68px). */
	font-size: clamp(30px, min(5.2vw, (100vw - 48px) / 9.2), 68px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
	white-space: nowrap;
	text-align: center !important;
	color: var(--gw-text);
}

/* Category names can be long ("Gift Boxes with Flat Rate Shipping"):
   smaller, and allowed to wrap evenly on narrow screens. */
.gw-shop-hero__title.page-title.is-category {
	font-size: clamp(30px, 4.2vw, 56px);
	white-space: normal;
	text-wrap: balance;
}

.gw-shop-hero__intro {
	max-width: 660px;
	margin: 0 auto;
	color: var(--gw-text);
}

.gw-shop-hero__intro p {
	margin: 0 0 .7em;
	font-family: var(--gw-font-serif);
	font-size: clamp(17px, 1.35vw, 19px) !important;
	line-height: 1.5 !important;
	text-align: center !important;
}

.gw-shop-hero__intro p:last-child {
	margin-bottom: 0;
}

/* Category pills */
.gw-shop-nav {
	margin: clamp(28px, 3.5vw, 44px) auto 0;
}

.gw-shop-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gw-shop-nav__list li {
	margin: 0;
}

.gw-shop-nav__list a {
	display: inline-block;
	padding: .62em 1.15em;
	font-family: var(--gw-font-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	color: var(--gw-text);
	background: rgba(255, 255, 255, .7);
	border: 1px solid var(--gw-border);
	border-radius: var(--gw-pill);
	transition: border-color .2s var(--gw-ease), background-color .2s var(--gw-ease), color .2s var(--gw-ease);
}

.gw-shop-nav__list a:hover {
	background: #fff;
	border-color: var(--gw-text);
}

.gw-shop-nav__list .current-menu-item > a,
.gw-shop-nav__list a[aria-current="page"] {
	color: #fff;
	background: var(--gw-text);
	border-color: var(--gw-text);
}

/* Shop body */
.shop.contain {
	max-width: var(--gw-store-max);
	margin: 0 auto;
	padding: 0 var(--gw-gutter) 112px;
}

/* Count + sort */
.gw-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
	font-family: var(--gw-font-sans);
}

.gw-shop-toolbar__count {
	margin: 0;
	font-size: 14px !important;
	color: var(--gw-text-2);
}

.gw-shop-toolbar .woocommerce-ordering {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 14px;
}

.gw-shop-toolbar .woocommerce-ordering::before {
	content: "Sort by";
	white-space: nowrap;
	color: var(--gw-text);
}

.gw-shop-toolbar .woocommerce-ordering select {
	width: auto;
	field-sizing: content;
	min-height: 0;
	padding: 4px 22px 4px 2px;
	font-family: var(--gw-font-sans);
	font-size: 14px;
	color: var(--gw-text-2);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 14px;
	border: 0;
	cursor: pointer;
	appearance: none;
}

.gw-shop-toolbar .woocommerce-ordering select:hover {
	color: var(--gw-text);
}

/* Grid */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.products::before,
ul.products::after {
	content: none !important;
}

ul.products li.product,
.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	float: none !important;
	text-align: left;
	container-type: inline-size;
}

ul.products li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

/* Tile */
.gw-card__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--gw-tile);
	border-radius: var(--gw-radius);
}

/* Photos are pinned to the square (any shape fits whole: tall bottles,
   wide mugs) instead of setting the tile's height themselves. */
ul.products li.product .gw-card__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 9%;
	box-sizing: border-box;
	object-fit: contain;
	/* White photo backgrounds melt into the cream tile. */
	mix-blend-mode: multiply;
	transition: transform .6s var(--gw-ease), opacity .4s var(--gw-ease);
}

ul.products li.product .gw-card__media .gw-card__alt {
	opacity: 0;
}

ul.products li.product .woocommerce-LoopProduct-link:hover .gw-card__media img {
	transform: scale(1.035);
}

ul.products li.product .woocommerce-LoopProduct-link:hover .gw-card__media:has(.gw-card__alt) img:not(.gw-card__alt) {
	opacity: 0;
}

ul.products li.product .woocommerce-LoopProduct-link:hover .gw-card__media .gw-card__alt {
	opacity: 1;
}

/* Tags */
.gw-card__tags {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gw-tag {
	display: inline-block;
	padding: 4px 9px 3px;
	font-family: var(--gw-font-sans);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .07em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--gw-text);
	background: #fff;
	border-radius: var(--gw-pill);
}

.gw-tag.is-favorite {
	color: #fff;
	background: var(--gw-accent);
}

.gw-tag.is-soldout {
	color: #fff;
	background: var(--gw-text);
}

/* Name + price */
.gw-card__body {
	padding: 14px 2px 0;
}

.gw-card__body .woocommerce-loop-product__title {
	margin: 0 0 3px;
	padding: 0;
	font-family: var(--gw-font-sans);
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	text-align: left !important;
	color: var(--gw-text);
	text-wrap: pretty;
}

.gw-card__body .price {
	display: block;
	font-family: var(--gw-font-sans);
	font-size: 15px;
	text-align: left !important;
	color: var(--gw-text-2);
}

.gw-card__body .price del {
	margin-right: .35em;
	opacity: .55;
}

.gw-card__body .price ins {
	text-decoration: none;
	color: var(--gw-text);
}

/* Quick add: a round "+" on the tile's bottom-right corner. */
ul.products li.product .button {
	position: absolute;
	top: calc(100cqw - 56px);
	right: 12px;
	z-index: 2;
	width: 44px;
	min-width: 0;
	height: 44px;
	min-height: 0;
	padding: 0;
	font-size: 0;
	color: var(--gw-text);
	background: #fff;
	border: 0;
	box-shadow: 0 2px 10px rgba(20, 18, 14, .14);
	opacity: 0;
	transform: translateY(6px);
}

ul.products li.product .button::before {
	content: "+";
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

/* Products with choices go to their page: show an arrow instead. */
ul.products li.product .button.product_type_variable::before,
ul.products li.product .button:not(.add_to_cart_button)::before {
	content: "\2192";
	font-size: 18px;
}

ul.products li.product .button.loading::before {
	content: "\2026";
}

ul.products li.product .button.added::before {
	content: "\2713";
	font-size: 18px;
}

ul.products li.product:hover .button,
ul.products li.product:focus-within .button,
ul.products li.product .button.loading,
ul.products li.product .button.added {
	opacity: 1;
	transform: none;
}

ul.products li.product .button:hover {
	color: #fff;
	background: var(--gw-text);
}

/* The dropdown confirms the add, so no "View cart" link under the card. */
ul.products li.product .added_to_cart {
	display: none;
}

@media (hover: none) {
	ul.products li.product .button {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1200px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 12px;
	}

	/* One swipeable row of categories. */
	.gw-shop-nav {
		margin-left: calc(-1 * var(--gw-gutter));
		margin-right: calc(-1 * var(--gw-gutter));
	}

	.gw-shop-nav__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		padding: 2px var(--gw-gutter) 8px;
		scroll-padding-inline: var(--gw-gutter);
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.gw-shop-nav__list::-webkit-scrollbar {
		display: none;
	}

	.gw-shop-nav__list li {
		scroll-snap-align: start;
	}

	.gw-card__body .woocommerce-loop-product__title,
	.gw-card__body .price {
		font-size: 14px !important;
	}

	ul.products li.product .button {
		top: calc(100cqw - 46px);
		right: 8px;
		width: 38px;
		height: 38px;
	}

	.gw-card__tags {
		top: 8px;
		left: 8px;
	}
}

/* Pagination */
.woocommerce-pagination {
	margin-top: 72px;
}

.woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	font-family: var(--gw-font-sans);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: var(--gw-text);
	border: 1px solid var(--gw-border);
	border-radius: var(--gw-pill);
}

.woocommerce-pagination .page-numbers a:hover {
	border-color: var(--gw-text);
}

.woocommerce-pagination .page-numbers span.current {
	color: #fff;
	background: var(--gw-text);
	border-color: var(--gw-text);
}

/* Market page "Glenwood's Favorites" uses the same cards. */
.featured.shop {
	max-width: var(--gw-store-max);
	padding-left: var(--gw-gutter);
	padding-right: var(--gw-gutter);
}

.featured.shop > h2 {
	margin-bottom: 32px;
	text-align: center;
}

/* =====================================================================
   Product page: details left, photo right
   ===================================================================== */
.single-product .site-main > .contain {
	max-width: var(--gw-store-max);
	margin: 0 auto;
	padding: clamp(16px, 3vw, 40px) var(--gw-gutter) 0;
}

.single-product .back {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	margin: 0;
	padding: 0;
	font-family: var(--gw-font-sans);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: var(--gw-text-2);
}

.single-product .back:hover {
	color: var(--gw-text);
}

.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 88px);
	align-items: start;
	max-width: var(--gw-store-max);
	margin: 28px auto 112px;
	padding: 0 var(--gw-gutter);
}

.single-product div.product .woocommerce-product-gallery {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	width: auto;
	float: none;
	margin: 0;
	opacity: 1 !important;
}

/* Details sit vertically centered against the photo beside them. */
.single-product div.product .summary {
	grid-column: 1;
	grid-row: 1;
	align-self: center;
	width: auto;
	float: none;
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery__image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--gw-tile);
	border-radius: 14px;
}

/* Link and photo fill the square, so the photo always fits whole inside it. */
.single-product div.product .woocommerce-product-gallery__image > a {
	position: absolute;
	inset: 0;
	display: block;
}

.single-product div.product .woocommerce-product-gallery__image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	padding: 8%;
	box-sizing: border-box;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.single-product div.product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	font-size: 0;
	text-indent: 0;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(20, 18, 14, .12);
}

.single-product div.product .woocommerce-product-gallery__trigger::before {
	content: "";
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.single-product div.product .woocommerce-product-gallery__trigger img {
	display: none !important;
}

/* Title, price, description */
.single-product div.product .product_title {
	margin: 0 0 10px;
	font-family: var(--gw-font-serif);
	font-size: clamp(40px, 4.6vw, 66px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.025em;
	text-align: left !important;
	color: var(--gw-text);
	text-wrap: pretty;
}

.single-product div.product .summary p.price,
.single-product div.product .summary .price {
	display: block;
	margin: 0 0 28px;
	font-family: var(--gw-font-serif);
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 700;
	color: var(--gw-text);
}

.single-product div.product .summary .price del {
	margin-right: .3em;
	font-weight: 400;
	opacity: .5;
}

.single-product div.product .summary .price ins {
	text-decoration: none;
}

.single-product div.product .woocommerce-product-details__short-description {
	margin: 0 0 32px;
	color: var(--gw-text);
}

.single-product div.product .woocommerce-product-details__short-description p {
	margin: 0 0 .6em;
	font-family: var(--gw-font-serif);
	font-size: clamp(18px, 1.45vw, 21px) !important;
	line-height: 1.55 !important;
	text-align: left !important;
}

.single-product div.product .woocommerce-product-details__short-description ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.single-product div.product .woocommerce-product-details__short-description li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
	font-family: var(--gw-font-sans);
	font-size: 17px;
	line-height: 1.5;
}

.single-product div.product .woocommerce-product-details__short-description li::before {
	position: absolute;
	top: 0;
	left: 2px;
	content: "\2713";
	font-weight: 700;
}

.single-product div.product .stock {
	margin: 0 0 16px;
	font-family: var(--gw-font-sans);
	font-size: 14px;
	font-weight: 600;
}

.single-product div.product .stock.out-of-stock {
	color: var(--gw-danger);
}

/* Options (size, amount...) as pills */
.single-product div.product form.variations_form {
	display: block;
}

.single-product div.product table.variations {
	width: 100%;
	margin: 0 0 24px;
	border: 0;
}

.single-product div.product table.variations tr {
	display: block;
	margin-bottom: 18px;
}

.single-product div.product table.variations th,
.single-product div.product table.variations td {
	display: block;
	padding: 0;
	text-align: left;
	border: 0;
	background: none;
}

.single-product div.product table.variations label {
	display: block;
	margin-bottom: 10px;
	font-family: var(--gw-font-sans);
	font-size: 15px;
	font-weight: 400;
	color: var(--gw-text-2);
}

.gw-pills-chosen {
	font-weight: 600;
	color: var(--gw-text);
}

.single-product div.product table.variations select.gw-pills-source {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	opacity: 0;
	pointer-events: none;
}

.gw-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gw-pill {
	min-width: 52px;
	min-height: 44px;
	padding: 0 16px;
	font-family: var(--gw-font-sans);
	font-size: 15px;
	font-weight: 500;
	color: var(--gw-text);
	background: #fff;
	border: 1px solid var(--gw-border-strong);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.gw-pill:hover {
	border-color: var(--gw-text);
}

.gw-pill[aria-checked="true"] {
	border-color: var(--gw-text);
	box-shadow: inset 0 0 0 1px var(--gw-text);
}

.gw-pill:disabled {
	color: var(--gw-text-2);
	background: var(--gw-surface);
	border-style: dashed;
	opacity: .55;
	cursor: not-allowed;
}

/* Quantity + add to cart */
.single-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 0 0 20px;
}

.single-product div.product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.single-product div.product form.cart .single_add_to_cart_button {
	flex: 0 1 auto;
	min-width: 220px;
	min-height: 54px;
	padding: 0 28px;
	font-size: 16px;
	border-radius: 10px;
}

.single-product div.product .woocommerce-variation.single_variation {
	display: none;
}

.gw-product-note {
	margin: 0 !important;
	font-family: var(--gw-font-sans);
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: var(--gw-text-2);
}

.gw-product-note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Quantity stepper (works with or without the +/- buttons plugin) */
.quantity {
	display: inline-flex;
	align-items: stretch;
	margin: 0;
	overflow: hidden;
	background: var(--gw-surface);
	border: 0;
	border-radius: 10px;
}

.quantity .qty,
.woocommerce .quantity input.qty {
	width: 44px;
	min-height: 54px;
	margin: 0;
	padding: 0 2px !important;
	font-family: var(--gw-font-sans);
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	color: var(--gw-text);
	background: transparent;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.quantity .minus,
.quantity .plus,
.woocommerce .quantity input.button.minus,
.woocommerce .quantity input.button.plus {
	display: block;
	width: 44px !important;
	/* beats the quantity-buttons plugin's !important width */
	min-width: 0;
	/* style.css gives form buttons a 125px minimum */
	min-height: 0;
	margin: 0;
	padding: 0;
	font-family: var(--gw-font-sans);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--gw-text);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s;
}

.quantity .minus:hover,
.quantity .plus:hover,
.woocommerce .quantity input.button.minus:hover,
.woocommerce .quantity input.button.plus:hover {
	color: var(--gw-text);
	background: var(--gw-border);
}

/* Full description, when a product has one */
.gw-product-description {
	grid-column: 1 / -1;
	max-width: 1100px;
	padding-top: clamp(32px, 4vw, 56px);
	border-top: 1px solid var(--gw-border);
}

.gw-product-description p {
	font-family: var(--gw-font-serif);
	font-size: clamp(20px, 2vw, 28px) !important;
	line-height: 1.45 !important;
}

/* Related products */
.single-product div.product .related.products {
	grid-column: 1 / -1;
	margin-top: clamp(24px, 4vw, 56px);
	padding-top: clamp(40px, 5vw, 72px);
	border-top: 1px solid var(--gw-border);
}

.single-product div.product .related.products > h2 {
	margin: 0 0 28px;
	font-family: var(--gw-font-serif);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 900;
	letter-spacing: -0.02em;
	text-align: left !important;
}

@media (max-width: 800px) {
	.single-product div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		margin-bottom: 72px;
	}

	.single-product div.product .woocommerce-product-gallery,
	.single-product div.product .summary {
		grid-column: 1;
		grid-row: auto;
	}

	.single-product div.product form.cart .single_add_to_cart_button {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* =====================================================================
   Cart dropdown (header cart icon)
   ===================================================================== */
.gw-minicart-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(20, 18, 14, .45);
	opacity: 0;
	transition: opacity .22s var(--gw-ease);
}

.gw-minicart {
	position: fixed;
	top: calc(var(--gw-header-h) - 4px);
	right: clamp(12px, 2.5vw, 40px);
	z-index: 10001;
	display: flex;
	flex-direction: column;
	width: min(420px, calc(100vw - 24px));
	max-height: calc(100vh - 108px);
	font-family: var(--gw-font-sans);
	color: var(--gw-text);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 64px rgba(20, 18, 14, .28);
	opacity: 0;
	transform: translateY(-8px) scale(.985);
	transform-origin: top right;
	transition: opacity .22s var(--gw-ease), transform .22s var(--gw-ease);
}

/* Closed means gone: display:flex above would otherwise override [hidden]
   and leave an invisible panel blocking clicks (e.g. the side menu links). */
.gw-minicart[hidden],
.gw-minicart-overlay[hidden] {
	display: none !important;
}

.gw-minicart,
.gw-minicart-overlay {
	pointer-events: none;
}

.gw-minicart-open .gw-minicart-overlay,
.gw-minicart-open .gw-minicart {
	opacity: 1;
	pointer-events: auto;
}

.gw-minicart-open .gw-minicart {
	transform: none;
}

.gw-minicart-open {
	overflow: hidden;
}

.gw-minicart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px 0;
}

.gw-minicart__title {
	font-family: var(--gw-font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gw-text-2);
}

.gw-minicart__x {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin-right: -8px;
	padding: 0;
	font-size: 24px;
	line-height: 1;
	color: var(--gw-text);
	background: none;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.gw-minicart__x:hover {
	background: var(--gw-surface);
}

.gw-minicart .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	min-height: 0;
	transition: opacity .2s;
}

.gw-minicart .widget_shopping_cart_content.is-updating {
	opacity: .5;
	pointer-events: none;
}

.gw-minicart ul.woocommerce-mini-cart {
	margin: 0;
	padding: 4px 24px;
	overflow-y: auto;
	list-style: none;
}

.gw-minicart li.woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px;
	grid-template-areas: "name thumb" "meta thumb" "price thumb" "qty remove";
	column-gap: 16px;
	align-items: start;
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--gw-border);
}

.gw-minicart li.woocommerce-mini-cart-item > a:not(.remove) {
	display: contents;
	color: inherit;
	text-decoration: none;
}

.gw-minicart li.woocommerce-mini-cart-item img {
	grid-area: thumb;
	width: 72px;
	height: 72px;
	margin: 0;
	padding: 6px;
	box-sizing: border-box;
	object-fit: contain;
	background: var(--gw-tile);
	border-radius: 8px;
	mix-blend-mode: multiply;
	float: none;
}

.gw-minicart li.woocommerce-mini-cart-item > a:not(.remove) {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

/* The photo spans the name/options/price rows; let the price row take any
   extra height so the name and price stay together. */
.gw-minicart li.woocommerce-mini-cart-item {
	grid-template-rows: auto auto 1fr auto;
}

.gw-minicart li.woocommerce-mini-cart-item dl.variation {
	grid-area: meta;
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--gw-text-2);
}

.gw-minicart li.woocommerce-mini-cart-item dl.variation dt,
.gw-minicart li.woocommerce-mini-cart-item dl.variation dd,
.gw-minicart li.woocommerce-mini-cart-item dl.variation p {
	display: inline;
	margin: 0;
	font-size: 13px;
}

.gw-mini-price {
	grid-area: price;
	margin-top: 2px;
	font-size: 14px;
	color: var(--gw-text-2);
}

.gw-mini-qty {
	grid-area: qty;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
}

.gw-mini-qty button {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	font-family: var(--gw-font-sans);
	font-size: 16px;
	line-height: 1;
	color: var(--gw-text);
	background: #fff;
	border: 1px solid var(--gw-border-strong);
	border-radius: 50%;
	cursor: pointer;
}

.gw-mini-qty button:hover {
	border-color: var(--gw-text);
}

.gw-mini-qty button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.gw-mini-qty__value {
	min-width: 22px;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
}

.gw-minicart li.woocommerce-mini-cart-item a.remove {
	grid-area: remove;
	position: static;
	align-self: end;
	justify-self: end;
	width: auto;
	height: auto;
	margin: 0;
	font-size: 13px !important;
	font-weight: 400;
	line-height: 28px;
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--gw-text-2) !important;
	background: none !important;
}

.gw-minicart li.woocommerce-mini-cart-item a.remove:hover {
	color: var(--gw-danger) !important;
}

.gw-minicart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 18px 24px 0;
	font-size: 16px !important;
	border-top: 0;
}

.gw-minicart .woocommerce-mini-cart__total strong {
	font-weight: 600;
}

.gw-minicart .woocommerce-mini-cart__total .amount {
	font-weight: 600;
}

.gw-minicart__note {
	margin: 4px 0 0 !important;
	padding: 0 24px;
	font-size: 13px !important;
	color: var(--gw-text-2);
}

.gw-minicart .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0;
	padding: 18px 24px 24px;
}

.gw-minicart .woocommerce-mini-cart__buttons .button {
	width: 100%;
	min-height: 50px;
	padding: 0 12px;
	white-space: nowrap;
}

@media (max-width: 420px) {
	.gw-minicart .woocommerce-mini-cart__buttons .button {
		font-size: 14px;
	}
}

.gw-minicart .woocommerce-mini-cart__empty-message {
	margin: 0 !important;
	padding: 28px 24px 32px;
	font-size: 15px !important;
	text-align: center;
	color: var(--gw-text-2);
}

@media (max-width: 800px) {
	.gw-minicart {
		right: 12px;
	}
}

/* =====================================================================
   Shared form fields
   ===================================================================== */
.woocommerce form .form-row {
	margin: 0 0 14px;
	padding: 0;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--gw-font-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	color: var(--gw-text);
}

.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox,
.woocommerce form label.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
}

.woocommerce .required {
	color: var(--gw-text-2);
	font-weight: 400;
	text-decoration: none;
	border: 0;
}

.woocommerce .optional {
	font-weight: 400;
	color: var(--gw-text-2);
}

.woocommerce form .input-text,
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="password"],
.woocommerce form input[type="number"],
.woocommerce form select,
.woocommerce form textarea,
.woocommerce .select2-container .select2-selection--single {
	display: block;
	width: 100%;
	max-width: none;
	min-height: 52px;
	margin: 0;
	padding: 14px 15px;
	font-family: var(--gw-font-sans);
	font-size: 16px;
	line-height: 1.4;
	color: var(--gw-text);
	background: #fff;
	border: 1px solid var(--gw-border-strong);
	border-radius: 8px;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}

.woocommerce form textarea {
	min-height: 120px;
	resize: vertical;
}

.woocommerce form select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}

.woocommerce form .input-text:focus,
.woocommerce form input:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus,
.woocommerce .select2-container--open .select2-selection--single,
.woocommerce .select2-container--focus .select2-selection--single {
	border-color: var(--gw-text);
	box-shadow: 0 0 0 1px var(--gw-text);
	outline: 0;
}

.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid .select2-selection {
	border-color: var(--gw-danger);
	box-shadow: 0 0 0 1px var(--gw-danger);
}

.woocommerce form .form-row.woocommerce-validated .input-text {
	box-shadow: none;
}

.woocommerce .checkout-inline-error-message {
	margin: 6px 0 0;
	font-family: var(--gw-font-sans);
	font-size: 13px !important;
	color: var(--gw-danger);
}

.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	flex: 0 0 auto;
	accent-color: var(--gw-text);
}

/* Country / state pickers */
.woocommerce .select2-container {
	width: 100% !important;
}

.woocommerce .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 52px;
	padding: 0 40px 0 15px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.4;
	color: var(--gw-text);
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	right: 12px;
	height: 20px;
	transform: translateY(-50%);
}

.select2-dropdown {
	font-family: var(--gw-font-sans);
	border-color: var(--gw-border-strong) !important;
	border-radius: 8px !important;
	overflow: hidden;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[data-selected] {
	background: var(--gw-text) !important;
}

/* =====================================================================
   Cart page (still works as a fallback; the dropdown is the main cart)
   ===================================================================== */
.gw-cart .intro-text h1 {
	font-weight: 900;
	letter-spacing: -0.025em;
}

.gw-cart .intro-text .intro-text-container,
.woocommerce-order-received .intro-text .intro-text-container {
	max-width: 1240px;
	padding-bottom: 64px;
	text-align: left;
	font-family: var(--gw-font-sans);
}

.gw-cart .intro-text-container > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 0 48px;
	align-items: start;
}

.gw-cart .intro-text-container > .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
	width: 100%;
	max-width: none;
}

.gw-cart .woocommerce-cart-form {
	grid-column: 1;
	min-width: 0;
}

.gw-cart .cart-collaterals {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	gap: 32px;
	position: sticky;
	top: 32px;
}

.gw-cart .cart-collaterals .cart_totals {
	order: -1;
	width: auto;
	float: none;
}

.gw-cart .cart-collaterals .cross-sells ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

table.shop_table.cart {
	width: 100%;
	margin: 0;
	font-size: 15px;
	border-collapse: collapse;
}

table.shop_table.cart thead th {
	padding: 0 12px 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: left;
	color: var(--gw-text-2);
	background: none;
	border-bottom: 1px solid var(--gw-border);
}

table.shop_table.cart td {
	padding: 18px 12px;
	vertical-align: middle;
	text-align: left;
	border: 0;
	border-bottom: 1px solid var(--gw-border);
}

table.shop_table.cart td.product-remove {
	width: 32px;
	padding-left: 0;
}

table.shop_table.cart td.product-remove a.remove {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	color: var(--gw-text-2) !important;
	border-radius: 50%;
	transition: background-color .2s, color .2s;
}

table.shop_table.cart td.product-remove a.remove:hover {
	color: var(--gw-danger) !important;
	background: var(--gw-danger-bg);
}

table.shop_table.cart td.product-thumbnail {
	width: 88px;
}

table.shop_table.cart td.product-thumbnail img {
	display: block;
	width: 76px;
	height: 76px;
	max-width: none;
	padding: 6px;
	box-sizing: border-box;
	object-fit: contain;
	background: var(--gw-tile);
	border-radius: 8px;
	mix-blend-mode: multiply;
}

table.shop_table.cart td.product-name {
	width: 100%;
}

table.shop_table.cart td.product-name a {
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: var(--gw-text);
}

table.shop_table.cart td.product-name a:hover {
	text-decoration: underline;
}

table.shop_table.cart td.product-name dl.variation {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--gw-text-2);
}

table.shop_table.cart td.product-name dl.variation dt,
table.shop_table.cart td.product-name dl.variation dd,
table.shop_table.cart td.product-name dl.variation dd p {
	display: inline;
	margin: 0;
	font-size: 13px;
}

table.shop_table.cart .quantity .qty,
.woocommerce table.shop_table.cart .quantity input.qty {
	width: 40px;
	min-height: 40px;
	font-size: 15px;
}

.woocommerce table.shop_table.cart .quantity input.button.minus,
.woocommerce table.shop_table.cart .quantity input.button.plus {
	width: 34px !important;
	font-size: 18px;
}

table.shop_table.cart td.product-subtotal {
	font-weight: 600;
	text-align: right;
}

table.shop_table.cart thead th.product-subtotal {
	text-align: right;
}

table.shop_table.cart td.actions {
	padding: 22px 0 0;
	border-bottom: 0;
}

table.shop_table.cart td.actions .coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	float: left;
	padding: 0;
}

table.shop_table.cart td.actions .coupon .input-text {
	width: 200px;
	min-height: 48px;
}

table.shop_table.cart td.actions > .button {
	float: right;
}

table.shop_table.cart td.actions::after {
	display: block;
	clear: both;
	content: "";
}

.cart_totals {
	padding: 28px;
	background: var(--gw-surface);
	border-radius: 14px;
}

.cart_totals > h2 {
	margin: 0 0 12px;
	font-family: var(--gw-font-serif);
	font-size: 26px;
	text-align: left !important;
}

.cart_totals table.shop_table {
	width: 100%;
	margin: 0 0 20px;
	font-size: 15px;
	border: 0;
	border-collapse: collapse;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	padding: 12px 0;
	vertical-align: top;
	text-align: left;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--gw-border);
}

.cart_totals table.shop_table th {
	width: 38%;
	padding-right: 12px;
	font-weight: 400;
	color: var(--gw-text-2);
}

.cart_totals table.shop_table td {
	text-align: right;
}

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
	padding-top: 16px;
	font-size: 19px;
	font-weight: 600;
	color: var(--gw-text);
	border-bottom: 0;
}

.cart_totals .wc-proceed-to-checkout {
	padding: 0;
}

.cart_totals .wc-proceed-to-checkout .checkout-button {
	display: flex;
	width: 100%;
	min-height: 54px;
	font-size: 16px;
	border-radius: 10px;
}

ul#shipping_method,
ul.woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

ul#shipping_method li,
ul.woocommerce-shipping-methods li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 10px;
	text-align: left;
}

ul#shipping_method li label,
ul.woocommerce-shipping-methods li label {
	font-family: var(--gw-font-sans);
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}

ul#shipping_method li input {
	margin-top: 1px;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-calculator .shipping-calculator-button {
	font-family: var(--gw-font-sans);
	font-size: 13px !important;
	text-align: left;
	color: var(--gw-text-2);
}

.woocommerce-shipping-calculator .shipping-calculator-button {
	font-weight: 600;
	color: var(--gw-text);
}

.woocommerce-shipping-calculator .shipping-calculator-form {
	margin-top: 12px;
	text-align: left;
}

.cart-empty.woocommerce-info {
	justify-content: center;
	font-size: 18px;
	text-align: center;
	border-left: 0;
}

.return-to-shop {
	text-align: center;
}

@media (max-width: 1000px) {
	.gw-cart .intro-text-container > .woocommerce {
		grid-template-columns: minmax(0, 1fr);
	}

	.gw-cart .cart-collaterals {
		grid-column: 1;
		position: static;
		margin-top: 40px;
	}
}

@media (max-width: 800px) {
	table.shop_table.cart thead {
		display: none;
	}

	table.shop_table.cart tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr);
		column-gap: 16px;
		padding: 18px 0;
		border-bottom: 1px solid var(--gw-border);
	}

	table.shop_table.cart tr.cart_item td {
		display: block;
		padding: 0;
		text-align: left !important;
		border: 0;
	}

	table.shop_table.cart tr.cart_item td::before {
		display: none !important;
	}

	table.shop_table.cart tr.cart_item td.product-thumbnail {
		display: block !important;
		grid-row: 1 / span 4;
		width: auto;
	}

	table.shop_table.cart tr.cart_item td.product-remove {
		position: absolute;
		top: 12px;
		right: 0;
		width: auto;
	}

	table.shop_table.cart tr.cart_item td.product-name {
		padding-right: 40px;
	}

	table.shop_table.cart tr.cart_item td.product-price {
		font-size: 14px;
		color: var(--gw-text-2);
	}

	table.shop_table.cart tr.cart_item td.product-quantity {
		margin-top: 10px;
	}

	table.shop_table.cart tr.cart_item td.product-subtotal {
		display: none;
	}

	table.shop_table.cart td.actions {
		display: block;
	}

	table.shop_table.cart td.actions .coupon,
	table.shop_table.cart td.actions > .button {
		float: none;
		width: 100%;
	}

	table.shop_table.cart td.actions .coupon .input-text {
		flex: 1 1 0;
		width: auto;
	}

	table.shop_table.cart td.actions > .button {
		margin-top: 12px;
	}

	.cart_totals {
		padding: 22px;
	}
}

/* =====================================================================
   Checkout: form on white, summary panel on cream (split screen)
   ===================================================================== */
/* Distraction-free: just the logo (header.php leaves out the menu and cart). */
.gw-checkout .gw-header__bar {
	grid-template-columns: 1fr;
	justify-items: center;
}

.gw-checkout .gw-header__logo {
	justify-self: center;
}

.gw-checkout .intro-text > h1 {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.gw-checkout .intro-text {
	margin: 0;
	padding: 0;
}

.gw-checkout .intro-text .intro-text-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
	text-align: left;
	font-family: var(--gw-font-sans);
}

/* Cream panel behind the summary, running to the screen edge. */
@media (min-width: 1001px) {
	.gw-checkout .site-content {
		background: linear-gradient(to right, #fff min(50% + 106px, 100% - 484px), var(--gw-border) 0, var(--gw-border) calc(min(50% + 106px, 100% - 484px) + 1px), var(--gw-surface) 0);
	}
}

/* Coupon lives in the summary now; hide the "Have a coupon?" bar. */
.gw-checkout .woocommerce-form-coupon-toggle {
	display: none;
}

.gw-checkout form.checkout_coupon {
	display: none !important;
}

.gw-checkout .woocommerce-form-login-toggle .woocommerce-info {
	justify-content: flex-end;
	padding: 0;
	font-size: 14px;
	background: none !important;
	border: 0;
}

.gw-checkout form.woocommerce-form-login {
	max-width: 620px;
	margin: 0 0 24px;
	padding: 20px;
	background: var(--gw-surface);
	border: 0;
	border-radius: 10px;
}

.gw-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	/* row 1: error notices (empty unless there are errors); 2: summary heading; 3: summary */
	grid-template-rows: auto auto 1fr;
	gap: 0 64px;
	align-items: start;
	padding: 24px 0 96px;
}

.gw-checkout form.checkout > .woocommerce-NoticeGroup {
	grid-column: 1 / -1;
	grid-row: 1;
	width: 100%;
	max-width: none;
}

.gw-checkout #customer_details {
	grid-column: 1;
	grid-row: 2 / span 2;
	min-width: 0;
	max-width: 640px;
	width: 100%;
	justify-self: end;
}

.gw-checkout #customer_details .col-1,
.gw-checkout #customer_details .col-2 {
	width: 100%;
	max-width: none;
	float: none;
	margin: 0;
}

.gw-checkout #customer_details h3,
.gw-checkout .gw-field-heading h3 {
	margin: 0 0 16px;
	font-family: var(--gw-font-serif);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-align: left !important;
	color: var(--gw-text);
}

.gw-checkout .gw-field-heading {
	margin: 22px 0 6px !important;
}

.gw-checkout .woocommerce-billing-fields,
.gw-checkout .woocommerce-shipping-fields,
.gw-checkout .woocommerce-additional-fields {
	max-width: none;
	margin: 0;
	padding: 0 0 20px;
}

.gw-checkout .woocommerce-shipping-fields h3#ship-to-different-address {
	margin: 8px 0 14px;
	padding-top: 22px;
	font-family: var(--gw-font-sans);
	font-size: 15px;
	font-weight: 500;
	border-top: 1px solid var(--gw-border);
}

.gw-checkout .woocommerce-shipping-fields h3#ship-to-different-address label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--gw-font-sans);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.gw-checkout .woocommerce-additional-fields > h3 {
	padding-top: 22px;
	font-size: 20px !important;
	border-top: 1px solid var(--gw-border);
}

/* Field grid: 6 columns. */
.gw-checkout .woocommerce-billing-fields__field-wrapper,
.gw-checkout .shipping_address .woocommerce-shipping-fields__field-wrapper,
.gw-checkout .woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0 12px;
}

.gw-checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper) > .form-row {
	grid-column: span 6;
	width: auto !important;
	float: none;
	margin-bottom: 12px;
}

.gw-checkout :is(#billing_first_name_field, #billing_last_name_field, #shipping_first_name_field, #shipping_last_name_field) {
	grid-column: span 3;
}

.gw-checkout :is(#billing_address_1_field, #shipping_address_1_field) {
	grid-column: span 4;
}

.gw-checkout :is(#billing_address_2_field, #shipping_address_2_field) {
	grid-column: span 2;
}

.gw-checkout :is(#billing_country_field, #billing_state_field, #billing_postcode_field, #shipping_country_field, #shipping_state_field, #shipping_postcode_field) {
	grid-column: span 2;
}

/* Labels inside the fields: they sit in the middle until you type, then
   shrink to the top. Selects always show the small label. */
.gw-checkout .form-row:has(> .woocommerce-input-wrapper > :is(input.input-text, textarea, select)) {
	position: relative;
}

.gw-checkout .form-row:has(> .woocommerce-input-wrapper > :is(input.input-text, textarea, select)) > label {
	position: absolute;
	top: 19px;
	left: 16px;
	right: 16px;
	z-index: 2;
	margin: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--gw-text-2);
	pointer-events: none;
	transform-origin: left top;
	transition: transform .15s var(--gw-ease), color .15s;
}

.gw-checkout .form-row:has(> .woocommerce-input-wrapper > :is(input.input-text, textarea, select)) > label.screen-reader-text {
	display: none;
}

.gw-checkout .form-row:has(> .woocommerce-input-wrapper > :is(input.input-text:focus, input.input-text:not(:placeholder-shown), input.input-text:-webkit-autofill, textarea:focus, textarea:not(:placeholder-shown), select)) > label {
	transform: translateY(-10px) scale(.72);
}

.gw-checkout .form-row .woocommerce-input-wrapper > :is(input.input-text, select),
.gw-checkout .form-row .woocommerce-input-wrapper .select2-container .select2-selection--single {
	min-height: var(--gw-field-h);
	height: var(--gw-field-h);
	padding-top: 26px;
	padding-bottom: 6px;
}

.gw-checkout .form-row .woocommerce-input-wrapper > textarea {
	padding-top: 30px;
}

.gw-checkout .form-row .woocommerce-input-wrapper .select2-container .select2-selection--single .select2-selection__rendered {
	padding-top: 4px;
}

.gw-checkout .form-row .woocommerce-input-wrapper .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
}

.gw-checkout .form-row > label .required {
	color: inherit;
}

/* Summary panel */
.gw-checkout #order_review_heading {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.gw-checkout #order_review {
	grid-column: 2;
	grid-row: 3;
	min-width: 0;
	padding: 0;
	background: none;
}

.gw-checkout table.woocommerce-checkout-review-order-table {
	display: table;
	width: 100%;
	max-width: none;
	margin: 0 0 20px;
	font-size: 15px;
	border: 0;
	border-collapse: collapse;
	/* Fixed columns, so a long shipping message can't squeeze the item names. */
	table-layout: fixed;
}

.gw-checkout table.woocommerce-checkout-review-order-table tbody td.product-name,
.gw-checkout table.woocommerce-checkout-review-order-table tfoot th {
	width: 64%;
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
	font-size: 13px;
	line-height: 1.45;
	color: var(--gw-text-2);
}

.gw-checkout table.woocommerce-checkout-review-order-table thead {
	display: none;
}

.gw-checkout table.woocommerce-checkout-review-order-table th,
.gw-checkout table.woocommerce-checkout-review-order-table td {
	padding: 10px 0;
	vertical-align: middle;
	text-align: left;
	background: none;
	border: 0;
}

.gw-checkout table.woocommerce-checkout-review-order-table tbody td {
	padding: 8px 0;
}

.gw-checkout table.woocommerce-checkout-review-order-table .product-name {
	padding-right: 12px;
	font-weight: 600;
	color: var(--gw-text);
}

.gw-checkout table.woocommerce-checkout-review-order-table .product-name dl.variation {
	margin: 2px 0 0 80px;
	font-size: 13px;
	font-weight: 400;
	color: var(--gw-text-2);
}

.gw-checkout table.woocommerce-checkout-review-order-table .product-name dl.variation :is(dt, dd, p) {
	display: inline;
	margin: 0;
	font-size: 13px;
}

/* Quantity is shown on the photo badge. */
.gw-checkout table.woocommerce-checkout-review-order-table .product-name .product-quantity {
	display: none;
}

.gw-line {
	display: flex;
	align-items: center;
	gap: 16px;
}

.gw-line__thumb {
	position: relative;
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	background: #fff;
	border: 1px solid var(--gw-border);
	border-radius: 10px;
}

.gw-line__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 5px;
	box-sizing: border-box;
	object-fit: contain;
	border-radius: 10px;
}

.gw-line__qty {
	position: absolute;
	top: -8px;
	right: -8px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: var(--gw-text-2);
	border-radius: 999px;
}

.gw-line__name {
	line-height: 1.35;
}

.gw-checkout table.woocommerce-checkout-review-order-table td.product-total {
	text-align: right;
	white-space: nowrap;
}

/* Coupon row */
.gw-checkout tr.gw-coupon-row td {
	padding: 16px 0 !important;
	border-top: 1px solid var(--gw-border) !important;
	border-bottom: 1px solid var(--gw-border) !important;
}

.gw-coupon {
	display: flex;
	gap: 10px;
}

.gw-coupon .input-text {
	flex: 1 1 auto;
	min-height: 50px !important;
	padding: 12px 14px !important;
	font-size: 15px !important;
}

.gw-coupon .button {
	flex: 0 0 auto;
	min-height: 50px;
	padding: 0 22px;
	color: #fff;
	background: var(--gw-text-2);
	border: 0;
}

.gw-coupon .button:hover {
	color: #fff;
	background: var(--gw-text);
}

.gw-coupon-notice:not(:empty) {
	margin-top: 10px;
}

.gw-coupon-notice .woocommerce-message,
.gw-coupon-notice .woocommerce-error,
.gw-coupon-notice .woocommerce-info {
	margin: 0;
	padding: 10px 12px;
	font-size: 13px;
}

/* Totals */
.gw-checkout table.woocommerce-checkout-review-order-table tfoot th {
	font-weight: 400;
	color: var(--gw-text);
}

.gw-checkout table.woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
}

.gw-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal :is(th, td) {
	padding-top: 18px;
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
	text-align: right;
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.order-total :is(th, td) {
	padding-top: 18px;
	font-size: 17px;
	font-weight: 600;
	color: var(--gw-text);
	border-top: 1px solid var(--gw-border);
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.order-total td .amount {
	font-size: 24px;
	font-weight: 700;
}

/* Payment methods */
.gw-checkout #payment {
	background: none;
	border-radius: 0;
}

.gw-checkout #payment ul.payment_methods {
	display: grid;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	border: 0;
}

.gw-checkout #payment li.wc_payment_method {
	margin: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--gw-border);
	border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}

.gw-checkout #payment li.wc_payment_method:has(> input:checked) {
	border-color: var(--gw-text);
	box-shadow: 0 0 0 1px var(--gw-text);
}

.gw-checkout #payment li.wc_payment_method > input {
	vertical-align: middle;
	margin-right: 8px;
}

.gw-checkout #payment li.wc_payment_method > label {
	display: inline;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.gw-checkout #payment li.wc_payment_method > label img {
	display: inline-block;
	max-height: 20px;
	margin-left: 6px;
	vertical-align: middle;
}

.gw-checkout #payment .payment_box {
	margin: 12px 0 0;
	padding: 0;
	font-size: 14px;
	color: var(--gw-text-2);
	background: none;
}

.gw-checkout #payment .payment_box::before {
	content: none;
}

.gw-checkout #payment .payment_box p {
	font-size: 14px;
}

.gw-checkout #payment .payment_box fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.gw-checkout #payment .woocommerce-privacy-policy-text p,
.gw-checkout #payment .woocommerce-terms-and-conditions-wrapper p {
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: var(--gw-text-2);
}

.gw-checkout #payment .form-row.place-order {
	max-width: none;
	margin: 0;
	padding: 0;
}

.gw-checkout #place_order {
	display: flex;
	width: 100%;
	min-height: 56px;
	margin-top: 6px;
	font-size: 16px;
	border-radius: 10px;
	float: none;
}

.gw-secure-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 14px 0 0 !important;
	padding: 14px;
	font-size: 14px !important;
	line-height: 1.4 !important;
	text-align: center;
	color: var(--gw-text);
	background: rgba(20, 18, 14, .04);
	border-radius: 10px;
}

.gw-secure-note svg {
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
}

.gw-checkout .blockUI.blockOverlay {
	background: rgba(247, 245, 241, .7) !important;
	border-radius: 10px;
}

@media (max-width: 1000px) {
	.gw-checkout form.checkout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.gw-checkout #customer_details,
	.gw-checkout #order_review {
		grid-column: 1;
		grid-row: auto;
		max-width: none;
		justify-self: stretch;
	}

	/* Summary becomes a cream card after the form. */
	.gw-checkout #order_review {
		margin-top: 8px;
		padding: 22px;
		background: var(--gw-surface);
		border-radius: 14px;
	}
}

@media (max-width: 520px) {
	.gw-checkout .intro-text .intro-text-container {
		padding: 0 18px;
	}

	.gw-checkout :is(#billing_address_1_field, #billing_address_2_field, #shipping_address_1_field, #shipping_address_2_field, #billing_country_field, #shipping_country_field) {
		grid-column: span 6;
	}

	.gw-checkout :is(#billing_state_field, #billing_postcode_field, #shipping_state_field, #shipping_postcode_field) {
		grid-column: span 3;
	}
}

/* =====================================================================
   Order received
   ===================================================================== */
.woocommerce-order-received .woocommerce-order {
	max-width: 820px;
	margin: 0 auto;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
	margin: 0 0 28px;
	padding: 20px 24px;
	font-family: var(--gw-font-serif);
	font-size: 24px !important;
	font-weight: 700;
	color: var(--gw-text);
	background: var(--gw-success-bg);
	border-radius: 14px;
}

.woocommerce-order-received ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 10px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.woocommerce-order-received ul.woocommerce-order-overview li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 16px;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gw-text-2);
	border: 1px solid var(--gw-border);
	border-radius: 10px;
}

.woocommerce-order-received ul.woocommerce-order-overview li strong {
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--gw-text);
	overflow-wrap: anywhere;
}

.woocommerce-order-details,
.woocommerce-customer-details {
	margin-bottom: 40px;
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2,
.woocommerce-column__title {
	margin: 0 0 14px;
	font-family: var(--gw-font-serif);
	font-size: 24px !important;
	text-align: left !important;
}

table.woocommerce-table--order-details {
	width: 100%;
	font-size: 15px;
	border-collapse: collapse;
}

table.woocommerce-table--order-details th,
table.woocommerce-table--order-details td {
	padding: 12px 0;
	text-align: left;
	border-bottom: 1px solid var(--gw-border);
}

table.woocommerce-table--order-details td:last-child,
table.woocommerce-table--order-details tfoot td {
	text-align: right;
}

.woocommerce-customer-details address {
	padding: 20px;
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
	border: 1px solid var(--gw-border);
	border-radius: 10px;
}

.woocommerce-customer-details address br {
	display: block !important;
}

.woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.woocommerce-columns--addresses .woocommerce-column {
	width: auto;
	float: none;
}

table.woocommerce-table--order-details a {
	font-weight: 600;
	text-decoration: none;
	color: var(--gw-text);
}

table.woocommerce-table--order-details a:hover {
	text-decoration: underline;
}

.single-product div.product .reset_variations {
	display: inline-block;
	margin-top: 10px;
	font-family: var(--gw-font-sans);
	font-size: 13px;
	color: var(--gw-text-2);
}

/* Switching categories in place: soften the grid while the next one loads. */
.shop.contain ul.products {
	transition: opacity .15s ease;
}

.shop.contain.is-loading ul.products {
	opacity: .35;
	pointer-events: none;
}

/* Shipping lines in the order summary: name on top, choice + price below,
   so split shipments ("Gift boxes", "Other items") read clearly. */
.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
	display: block;
	padding: 10px 0;
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
	display: block;
	width: auto;
	padding: 0;
	text-align: left;
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
	margin-bottom: 4px;
	font-weight: 600;
	color: var(--gw-text);
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
	font-size: 14px;
	color: var(--gw-text);
}

.gw-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method li {
	justify-content: flex-start;
	margin-bottom: 4px;
}

.gw-checkout tr.woocommerce-shipping-totals .woocommerce-shipping-contents {
	margin: 2px 0 0 !important;
}

.gw-checkout tr.woocommerce-shipping-totals .woocommerce-shipping-contents small {
	font-size: 13px;
	color: var(--gw-text-2);
}
