/* ==================================================================
   12treasures shop: landing page, product pages, archives, cart,
   checkout, order received.

   Loaded only on shop pages (inc/shop.php). Every rule hangs from
   body.tsb-shop, so nothing here can touch the rest of the site.
   Divi styles WooCommerce heavily, so some rules need !important;
   they are the ones Divi was winning.

   Look: ink #141210, white, red #B3311C (#D96A4C on ink),
   Sorts Mill Goudy throughout.
   ================================================================== */

body.tsb-shop {
	--ink:        #141210;
	--ink-text:   #E6DFD0;
	--ink-2:      #CFC7B7;
	--ink-mute:   #A89F8F;
	--ink-edge:   #4A443B;
	--text:       #141210;
	--mute:       #5F5951;
	--line:       #DDDAD5;
	--tile:       #F1F1F0;
	--red:        #B3311C;
	--red-dk:     #8C2213;
	--red-ink:    #D96A4C;
	--red-ink-hi: #EE8A6C;
	--serif: "Sorts Mill Goudy", Georgia, "Times New Roman", serif;
}

/* Divi's wrappers: white ground, wider container, no sidebar rule */
body.tsb-shop,
body.tsb-shop #page-container,
body.tsb-shop #et-main-area,
body.tsb-shop #main-content { background-color: #FFFFFF !important; background-image: none !important; }
body.tsb-shop #main-content .container {
	width: 100% !important; max-width: 1280px !important; box-sizing: border-box;
	padding: 28px 32px 112px !important;
}
body.tsb-shop #main-content .container::before { display: none !important; }
body.tsb-shop #left-area { width: 100% !important; float: none !important; padding: 0 !important; }

/* Type. Set on elements, not on *, so WooCommerce's star icons keep their own font. */
body.tsb-shop #main-content,
body.tsb-shop #main-content :is(h1, h2, h3, h4, h5, h6, p, li, td, th, label, legend, input, select, textarea, button, .button, dt, dd, address) {
	font-family: var(--serif) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
body.tsb-shop #main-content { font-size: 19px; line-height: 1.6; color: var(--text); -webkit-font-smoothing: antialiased; }
body.tsb-shop #main-content :is(h1, h2, h3, h4) { font-weight: 400 !important; color: var(--text) !important; padding-bottom: 0 !important; line-height: 1.1 !important; }
body.tsb-shop #main-content a { color: var(--red); }
body.tsb-shop #main-content a:hover { color: var(--red-dk); }
body.tsb-shop #main-content :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
body.tsb-shop #main-content [id] { scroll-margin-top: 110px; } /* clears Divi's pinned header */

/* Page titles on cart and checkout (Divi prints the page title) */
body.tsb-shop #main-content h1.entry-title,
body.tsb-shop #main-content h1.main_title,
body.tsb-shop #main-content h1.page-title { font-size: 56px !important; line-height: 1 !important; margin: 28px 0 40px !important; }

/* Breadcrumb */
body.tsb-shop .woocommerce-breadcrumb { font-size: 17px !important; color: var(--mute) !important; margin: 0 0 28px !important; }
body.tsb-shop .woocommerce-breadcrumb a { color: var(--red) !important; }

/* ------------------------------------------------------------------
   Buttons. Divi adds an arrow icon and shifts padding on hover; both go.
   ------------------------------------------------------------------ */
body.tsb-shop #main-content :is(a.button, button.button, input.button, input[type="submit"], #respond input#submit) {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 10px 22px !important; box-sizing: border-box;
	font-size: 19px !important; line-height: 1.2 !important; font-weight: 400 !important;
	color: var(--text) !important; background: #FFFFFF !important;
	border: 1px solid var(--ink) !important; border-radius: 2px !important;
	text-decoration: none !important; box-shadow: none !important; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
body.tsb-shop #main-content :is(a.button, button.button, input.button, input[type="submit"], #respond input#submit):hover {
	background: var(--ink) !important; color: #FFFFFF !important; padding: 10px 22px !important;
}
body.tsb-shop #main-content :is(a.button, button.button, input.button)::after,
body.tsb-shop #main-content :is(a.button, button.button, input.button)::before { display: none !important; content: none !important; }

/* The main action on each page is red */
body.tsb-shop #main-content :is(.single_add_to_cart_button, a.checkout-button, #place_order, .button.alt, #respond input#submit) {
	color: #FFFFFF !important; background: var(--red) !important; border-color: var(--red) !important;
	font-size: 21px !important; min-height: 54px;
}
body.tsb-shop #main-content :is(.single_add_to_cart_button, a.checkout-button, #place_order, .button.alt, #respond input#submit):hover {
	background: var(--red-dk) !important; border-color: var(--red-dk) !important;
}
body.tsb-shop #main-content :is(.button, button):disabled,
body.tsb-shop #main-content .button.disabled { opacity: .45 !important; cursor: not-allowed; }

/* ------------------------------------------------------------------
   Form fields
   ------------------------------------------------------------------ */
body.tsb-shop #main-content :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select) {
	font-size: 19px !important; color: var(--text) !important; background: #FFFFFF !important;
	border: 1px solid var(--ink) !important; border-radius: 2px !important; box-shadow: none !important;
	padding: 10px 14px !important; min-height: 50px; box-sizing: border-box; max-width: 100%;
}
body.tsb-shop #main-content textarea { min-height: 110px; line-height: 1.5 !important; }
body.tsb-shop #main-content select { appearance: auto; }
body.tsb-shop #main-content label { font-size: 17px; color: var(--text); }
body.tsb-shop #main-content abbr.required { color: var(--red) !important; text-decoration: none !important; border: 0 !important; }
body.tsb-shop #main-content input[type="checkbox"],
body.tsb-shop #main-content input[type="radio"] { accent-color: var(--red); width: 20px; height: 20px; min-height: 0; vertical-align: -3px; }

/* Country and state pickers (WooCommerce's selectWoo) */
body.tsb-shop .select2-container .select2-selection--single {
	height: 50px !important; border: 1px solid var(--ink) !important; border-radius: 2px !important;
	display: flex; align-items: center;
}
body.tsb-shop .select2-container .select2-selection--single .select2-selection__rendered {
	font-family: var(--serif); font-size: 19px; color: var(--text) !important; padding-left: 14px !important; line-height: 48px !important;
}
body.tsb-shop .select2-container .select2-selection--single .select2-selection__arrow { height: 48px !important; }
body.tsb-shop .select2-dropdown { font-family: var(--serif); font-size: 18px; border-color: var(--ink) !important; }
body.tsb-shop .select2-results__option--highlighted[aria-selected],
body.tsb-shop .select2-results__option--highlighted[data-selected] { background: var(--ink) !important; color: #FFFFFF !important; }

/* ------------------------------------------------------------------
   Notices (Divi paints these in the accent color)
   ------------------------------------------------------------------ */
body.tsb-shop .woocommerce-message,
body.tsb-shop .woocommerce-info,
body.tsb-shop .woocommerce-error,
body.tsb-shop .woocommerce-noreviews {
	background: #FFFFFF !important; color: var(--text) !important;
	border: 1px solid var(--ink) !important; border-radius: 2px !important; box-shadow: none !important;
	padding: 14px 18px !important; margin: 0 0 28px !important; font-size: 18px !important;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; list-style: none;
}
body.tsb-shop .woocommerce-error { border-color: var(--red) !important; color: var(--red) !important; }
body.tsb-shop .woocommerce-message::before,
body.tsb-shop .woocommerce-info::before,
body.tsb-shop .woocommerce-error::before { display: none !important; }
body.tsb-shop .woocommerce-message a.button,
body.tsb-shop .woocommerce-info a.button { order: 2; min-height: 44px; font-size: 17px !important; }
body.tsb-shop .woocommerce-info a:not(.button) { color: var(--red) !important; }

/* ------------------------------------------------------------------
   Sale stamp: the same red stamp as the "found" paintings
   ------------------------------------------------------------------ */
body.tsb-shop span.onsale,
body.tsb-shop .tsb-shop-stamp {
	position: absolute; top: -14px; right: -12px; left: auto; z-index: 2;
	width: 78px; height: 78px; min-width: 0; min-height: 0; margin: 0 !important; padding: 0 !important;
	border-radius: 50% !important; background: var(--red) !important; color: #FFFFFF !important;
	display: flex !important; flex-direction: column; align-items: center; justify-content: center;
	transform: rotate(-12deg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25), inset 0 0 0 4px var(--red), inset 0 0 0 5px rgba(255, 255, 255, .75);
	font-family: var(--serif) !important; font-style: italic; font-size: 17px !important; font-weight: 400 !important; line-height: 1.05 !important;
	text-transform: lowercase !important;
}
body.tsb-shop .tsb-shop-stamp-a { font-size: 15px; }
body.tsb-shop .tsb-shop-stamp-b { font-size: 18px; font-style: normal; }

/* ==================================================================
   Shop landing (template-shop.php)
   ================================================================== */
.tsb-shop-page {
	font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--text); background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
}
.tsb-shop-page *, .tsb-shop-page *::before, .tsb-shop-page *::after { box-sizing: border-box; }
.tsb-shop-page p { margin: 0; padding: 0; }
.tsb-shop-page img { display: block; max-width: 100%; height: auto; }
.tsb-shop-page ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.tsb-shop-page li { list-style: none !important; }
.tsb-shop-page a { color: var(--red); }
.tsb-shop-page a:hover { color: var(--red-dk); }
.tsb-shop-page a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.tsb-shop-page [id] { scroll-margin-top: 110px; }
.tsb-shop-page h1, .tsb-shop-page h2 {
	font-family: var(--serif) !important; font-weight: 400 !important; font-style: normal;
	text-transform: none !important; letter-spacing: 0 !important; padding: 0 !important; margin: 0;
}
.tsb-shop-page .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.tsb-shop-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Ink intro */
.tsb-shop-ink { background: var(--ink); color: var(--ink-text); }
.tsb-shop-hero { padding-top: 48px; padding-bottom: 56px; }
.tsb-shop-hero h1 { font-size: 64px !important; line-height: 1 !important; color: #FFFFFF !important; }
.tsb-shop-intro { margin-top: 22px !important; max-width: 36em; font-size: 21px; color: var(--ink-2); }
.tsb-shop-jump { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 19px; }
.tsb-shop-ink a { color: var(--red-ink); }
.tsb-shop-ink a:hover { color: var(--red-ink-hi); }

/* Sections */
.tsb-shop-section { padding: 80px 0 24px; }
.tsb-shop-head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: 8px 40px; margin-bottom: 36px;
}
.tsb-shop-head.has-rule { border-top: 1px solid var(--ink); padding-top: 28px; }
.tsb-shop-head-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tsb-shop-head h2 { font-size: 46px !important; line-height: 1 !important; color: var(--text) !important; }
.tsb-shop-head p { font-style: italic; color: var(--mute); }
.tsb-shop-head-links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 19px; }
.tsb-shop-seeall { margin-top: 36px !important; font-size: 19px; }

/* Grids */
.tsb-shop-grid { display: grid; gap: 44px 24px; }
.tsb-shop-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tsb-shop-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.tsb-shop-card.is-feat { grid-column: span 2; grid-row: span 2; }

/* Cards */
.tsb-shop-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; text-decoration: none; color: var(--text) !important; }
.tsb-shop-ph { display: block; background: var(--tile); aspect-ratio: 1 / 1; overflow: hidden; }
.tsb-shop-ph img { width: 100%; height: 100%; object-fit: cover; }
.tsb-shop-meta { display: flex; flex-direction: column; }
.tsb-shop-name { font-size: 21px; line-height: 1.2; }
.tsb-shop-card:hover .tsb-shop-name { color: var(--red); }
.tsb-shop-price { font-size: 18px; margin-top: 2px; }
.tsb-shop-price s { color: var(--mute); }
.tsb-shop-from, .tsb-shop-out { font-style: italic; color: var(--mute); }
.tsb-shop-by { font-style: italic; font-size: 16px; color: var(--mute); }
.tsb-shop-card.is-feat .tsb-shop-name { font-size: 30px; }
.tsb-shop-card.is-feat .tsb-shop-price { font-size: 24px; }

/* Partners */
.tsb-shop-partners { padding-bottom: 96px; }
.tsb-shop-partners .tsb-shop-head { margin-bottom: 8px; }
.tsb-shop-partner-list { max-width: 900px; }
.tsb-shop-partner-list li {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
	gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.tsb-shop-partner-text { display: flex; flex-direction: column; min-width: 0; }
.tsb-shop-partner-name { font-size: 24px; }
.tsb-shop-partner-line { color: var(--mute); }

/* Rather give than buy */
.tsb-shop-give { background: var(--ink); color: var(--ink-text); padding: 56px 0; }
.tsb-shop-give-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.tsb-shop-give-text { max-width: 640px; min-width: 0; }
.tsb-shop-give h2 { font-size: 36px !important; line-height: 1.1 !important; color: #FFFFFF !important; }
.tsb-shop-give p { margin-top: 8px !important; color: var(--ink-2); }
.tsb-shop-give-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tsb-shop-page a.tsb-shop-btn {
	display: inline-flex; align-items: center; min-height: 50px; padding: 12px 22px;
	border-radius: 2px; font-size: 19px; line-height: 1.2; text-decoration: none !important;
}
.tsb-shop-page a.tsb-shop-btn--red { background: var(--red); color: #FFFFFF !important; border: 1px solid var(--red); }
.tsb-shop-page a.tsb-shop-btn--red:hover { background: var(--red-dk); border-color: var(--red-dk); }
.tsb-shop-page a.tsb-shop-btn--line { color: var(--ink-text) !important; border: 1px solid var(--ink-edge); }
.tsb-shop-page a.tsb-shop-btn--line:hover { border-color: var(--red-ink); }

/* ==================================================================
   Product grids on WooCommerce pages (/shop/, categories, related)
   ================================================================== */
body.tsb-shop #main-content ul.products {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px;
	margin: 0 0 40px !important; padding: 0 !important;
}
body.tsb-shop #main-content ul.products::before,
body.tsb-shop #main-content ul.products::after { display: none !important; content: none !important; }
body.tsb-shop #main-content ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important;
	position: relative; display: flex; flex-direction: column; text-align: left !important; min-width: 0;
}
body.tsb-shop ul.products li.product a.woocommerce-loop-product__link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text) !important; }
body.tsb-shop ul.products li.product .et_shop_image { display: block; position: relative; background: var(--tile); aspect-ratio: 1 / 1; overflow: hidden; margin: 0 !important; }
body.tsb-shop ul.products li.product .et_shop_image img,
body.tsb-shop ul.products li.product a > img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; box-shadow: none !important; }
body.tsb-shop ul.products li.product .et_overlay { display: none !important; }
body.tsb-shop ul.products li.product .woocommerce-loop-product__title {
	font-size: 21px !important; line-height: 1.2 !important; padding: 0 !important; margin: 0 !important; color: var(--text) !important;
}
body.tsb-shop ul.products li.product a:hover .woocommerce-loop-product__title { color: var(--red) !important; }
body.tsb-shop ul.products li.product .price { font-size: 18px !important; color: var(--text) !important; margin: 2px 0 0 !important; font-weight: 400 !important; }
body.tsb-shop ul.products li.product .price del { color: var(--mute) !important; opacity: 1 !important; }
body.tsb-shop ul.products li.product .price ins { text-decoration: none !important; font-weight: 400 !important; }
body.tsb-shop ul.products li.product .star-rating,
body.tsb-shop ul.products li.product .button,
body.tsb-shop ul.products li.product .added_to_cart { display: none !important; }

/* WCFM "Store:" line under each product: just the name, quietly */
body.tsb-shop ul.products .wcfmmp_sold_by_container { margin: 0 !important; padding: 0 !important; }
body.tsb-shop ul.products .wcfmmp_sold_by_label,
body.tsb-shop ul.products .wcfmmp_sold_by_logo,
body.tsb-shop ul.products .wcfmmp-store-rating,
body.tsb-shop ul.products .wcfm-clearfix { display: none !important; }
body.tsb-shop ul.products .wcfmmp_sold_by_wrapper a { font-style: italic; font-size: 16px !important; color: var(--mute) !important; text-decoration: none; }

/* Archive header, count and sort */
body.tsb-shop .woocommerce-products-header { margin-bottom: 8px; }
body.tsb-shop .term-description { font-style: italic; color: var(--mute); max-width: 40em; margin-bottom: 28px; }
body.tsb-shop .woocommerce-result-count { font-style: italic; color: var(--mute); font-size: 17px !important; margin: 10px 0 32px !important; }
body.tsb-shop .woocommerce-ordering { margin: 0 0 32px !important; }
body.tsb-shop .woocommerce-pagination ul { border: 0 !important; display: flex; gap: 8px; }
body.tsb-shop .woocommerce-pagination ul li { border: 0 !important; }
body.tsb-shop .woocommerce-pagination ul li :is(a, span) { font-size: 19px !important; padding: 8px 14px !important; min-width: 44px; border: 1px solid var(--line); }
body.tsb-shop .woocommerce-pagination ul li span.current { background: var(--ink) !important; color: #FFFFFF !important; border-color: var(--ink); }

/* ==================================================================
   Single product
   ================================================================== */
body.tsb-shop div.product > .clearfix {
	display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; margin-bottom: 88px;
}
body.tsb-shop div.product > .clearfix::before,
body.tsb-shop div.product > .clearfix::after { display: none !important; }
body.tsb-shop div.product > .clearfix { position: relative; }
body.tsb-shop div.product > .clearfix > span.onsale { right: auto; left: -12px; }
body.tsb-shop div.product div.images.woocommerce-product-gallery {
	flex: 1 1 520px; width: auto !important; max-width: 700px; float: none !important; margin: 0 !important; position: relative; min-width: 0;
}
body.tsb-shop div.product div.summary {
	flex: 1 1 400px; width: auto !important; max-width: 500px; float: none !important; margin: 0 !important; min-width: 0;
	display: flex; flex-direction: column; gap: 16px;
}
body.tsb-shop div.product div.images img { background: var(--tile); }
body.tsb-shop div.product div.images .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 0 !important; padding: 0 !important; }
body.tsb-shop div.product div.images .flex-control-thumbs li { width: 92px !important; margin: 0 !important; float: none !important; }
body.tsb-shop div.product div.images .flex-control-thumbs img { opacity: .7; border: 1px solid var(--line); }
body.tsb-shop div.product div.images .flex-control-thumbs img.flex-active,
body.tsb-shop div.product div.images .flex-control-thumbs img:hover { opacity: 1; border-color: var(--ink); }
body.tsb-shop div.product div.images .woocommerce-product-gallery__trigger { border-radius: 2px; }

/* Summary column */
body.tsb-shop .tsb-shop-maker-line { margin: 0 !important; padding: 0 !important; font-style: italic; color: var(--mute); font-size: 18px; order: -2; }
body.tsb-shop div.product .product_title { font-size: 56px !important; line-height: 1 !important; margin: 0 !important; }
body.tsb-shop div.product .woocommerce-product-rating { margin: 0 !important; display: flex; align-items: center; gap: 10px; font-size: 17px; }
body.tsb-shop div.product .star-rating { color: var(--red) !important; }
body.tsb-shop div.product .star-rating::before { color: var(--line) !important; }
body.tsb-shop div.product p.price,
body.tsb-shop div.product span.price { font-size: 28px !important; color: var(--text) !important; margin: 0 !important; font-weight: 400 !important; }
body.tsb-shop div.product p.price del,
body.tsb-shop div.product span.price del { color: var(--mute) !important; opacity: 1 !important; font-size: .75em; }
body.tsb-shop div.product p.price ins,
body.tsb-shop div.product span.price ins { text-decoration: none !important; font-weight: 400 !important; }
body.tsb-shop div.product .woocommerce-product-details__short-description { font-size: 20px; line-height: 1.6; }
body.tsb-shop div.product .woocommerce-product-details__short-description p { padding: 0 !important; margin: 0 0 .8em !important; }

/* Variation picker: label above the select, full width */
body.tsb-shop div.product form.cart { margin: 4px 0 0 !important; padding: 0 !important; }
body.tsb-shop div.product form.cart table.variations { width: 100%; border: 0 !important; margin: 0 0 16px !important; }
body.tsb-shop div.product form.cart table.variations :is(tbody, tr, th, td) { display: block; border: 0 !important; padding: 0 !important; background: none !important; text-align: left; }
body.tsb-shop div.product form.cart table.variations tr { margin-bottom: 14px; }
body.tsb-shop div.product form.cart table.variations th.label label { font-size: 17px !important; font-weight: 400 !important; margin-bottom: 6px; display: block; }
body.tsb-shop div.product form.cart table.variations select { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
body.tsb-shop div.product form.cart .reset_variations { font-size: 16px !important; margin-top: 6px; display: inline-block; }
body.tsb-shop div.product .single_variation_wrap .woocommerce-variation-price .price { font-size: 24px !important; }
body.tsb-shop div.product .woocommerce-variation-availability p { margin: 4px 0 0 !important; font-size: 17px; color: var(--mute); }

/* Quantity + add to cart on one row */
body.tsb-shop div.product form.cart:not(.variations_form),
body.tsb-shop div.product .woocommerce-variation-add-to-cart { display: flex !important; gap: 12px; align-items: stretch; margin-top: 12px; }
body.tsb-shop div.product form.cart .quantity { margin: 0 !important; float: none !important; }
body.tsb-shop div.product form.cart .quantity input.qty { width: 96px !important; height: 54px; text-align: center; }
body.tsb-shop div.product form.cart .single_add_to_cart_button { flex: 1; float: none !important; margin: 0 !important; }

/* PayPal button and Pay Later line */
body.tsb-shop div.product .ppc-button-wrapper,
body.tsb-shop div.product .ppcp-messages { max-width: 500px; }
body.tsb-shop div.product .ppc-button-wrapper { padding-top: 18px; border-top: 1px solid var(--line); }

/* Things in the summary nobody uses or that the maker line replaces */
body.tsb-shop div.product .wcfm_catalog_enquiry_button_wrapper,
body.tsb-shop div.product .product_meta .wcfmmp_sold_by_container,
body.tsb-shop div.product .product_meta .wcfmmp_sold_by_container_advanced,
body.tsb-shop div.product .product_meta .wcfm-clearfix,
body.tsb-shop div.product .product_meta .sku_wrapper { display: none !important; }
body.tsb-shop div.product .product_meta { font-size: 16px; font-style: italic; color: var(--mute); border: 0 !important; padding: 0 !important; }
body.tsb-shop div.product .product_meta a { color: var(--mute) !important; }

/* Tabs become stacked sections: the tab bar goes, every panel shows */
body.tsb-shop div.product .woocommerce-tabs {
	border-top: 1px solid var(--ink); padding-top: 64px; margin: 0 0 56px !important; max-width: 760px; clear: both;
}
body.tsb-shop div.product .woocommerce-tabs ul.tabs { display: none !important; }
body.tsb-shop div.product .woocommerce-tabs .panel {
	display: block !important; margin: 0 0 56px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
}
body.tsb-shop div.product .woocommerce-tabs .panel > h2,
body.tsb-shop div.product .woocommerce-tabs .woocommerce-Reviews-title {
	font-size: 36px !important; margin: 0 0 16px !important;
}
body.tsb-shop div.product .woocommerce-tabs .panel p { font-size: 20px; line-height: 1.65; padding-bottom: 0 !important; margin: 0 0 .9em; }
body.tsb-shop div.product .woocommerce-tabs table { border-collapse: collapse; width: 100%; border: 0 !important; }
body.tsb-shop div.product .woocommerce-tabs :is(th, td) { border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 10px 12px 10px 0 !important; text-align: left; font-size: 18px; }

/* Reviews */
body.tsb-shop #reviews .commentlist { margin: 0 0 28px !important; padding: 0 !important; }
body.tsb-shop #reviews .commentlist li { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0 !important; margin: 0 !important; list-style: none; }
body.tsb-shop #reviews .comment_container img.avatar { display: none !important; }
body.tsb-shop #reviews .comment-text { margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.tsb-shop #reviews .comment-text .meta { font-size: 17px !important; color: var(--mute) !important; }
body.tsb-shop #reviews .comment-text .description p { font-style: italic; }
body.tsb-shop #reviews #reply-title { font-size: 26px !important; display: block; margin-bottom: 10px; }
body.tsb-shop #reviews .comment-form p { margin-bottom: 14px; }
body.tsb-shop #reviews .comment-form :is(input[type="text"], input[type="email"], textarea) { width: 100% !important; }

/* Sold by card */
body.tsb-shop .tsb-shop-maker {
	max-width: 400px; border: 1px solid var(--ink); border-radius: 2px; padding: 28px; margin: 0 0 88px;
	display: flex; flex-direction: column; gap: 16px; box-sizing: border-box;
}
body.tsb-shop .tsb-shop-maker-id { display: flex; align-items: center; gap: 16px; }
body.tsb-shop .tsb-shop-maker-id img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
body.tsb-shop .tsb-shop-maker p { margin: 0 !important; padding: 0 !important; }
body.tsb-shop .tsb-shop-maker-by { font-style: italic; font-size: 16px; color: var(--mute); }
body.tsb-shop .tsb-shop-maker-name { font-size: 28px; line-height: 1.1; }
body.tsb-shop #main-content a.tsb-shop-maker-link {
	display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 12px 20px;
	border: 1px solid var(--ink); border-radius: 2px; color: var(--text) !important; text-decoration: none; font-size: 19px;
}
body.tsb-shop #main-content a.tsb-shop-maker-link:hover { background: var(--ink); color: #FFFFFF !important; }

/* Related */
body.tsb-shop section.related,
body.tsb-shop section.upsells { border-top: 1px solid var(--ink); padding-top: 28px; clear: both; }
body.tsb-shop section.related > h2,
body.tsb-shop section.upsells > h2 { font-size: 40px !important; margin: 0 0 32px !important; }

/* ==================================================================
   Cart
   ================================================================== */
body.tsb-shop.woocommerce-cart #main-content .woocommerce {
	display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px 72px; align-items: start;
}
body.tsb-shop.woocommerce-cart #main-content .woocommerce > :is(.woocommerce-notices-wrapper, .cart-empty, .return-to-shop, .wc-empty-cart-message) { grid-column: 1 / -1; }
body.tsb-shop.woocommerce-cart #main-content .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
body.tsb-shop.woocommerce-cart .cart-collaterals { width: auto !important; }
body.tsb-shop.woocommerce-cart .cart-collaterals .cart_totals,
body.tsb-shop.woocommerce-cart .cart-collaterals .cross-sells { width: 100% !important; float: none !important; }

body.tsb-shop table.shop_table { border: 0 !important; border-radius: 0 !important; border-collapse: collapse !important; width: 100%; margin: 0 0 20px !important; }
body.tsb-shop table.shop_table :is(th, td) { border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 16px 12px 16px 0 !important; background: none !important; font-size: 19px; vertical-align: middle; }
body.tsb-shop table.shop_table thead th { font-style: italic; font-weight: 400 !important; font-size: 16px !important; color: var(--mute) !important; border-bottom-color: var(--ink) !important; padding-top: 0 !important; }
body.tsb-shop table.cart td.product-thumbnail { width: 104px; }
body.tsb-shop table.cart td.product-thumbnail img { width: 104px !important; height: 104px; object-fit: cover; background: var(--tile); }
body.tsb-shop table.cart td.product-name a { color: var(--text) !important; text-decoration: none; font-size: 22px; }
body.tsb-shop table.cart td.product-name a:hover { color: var(--red) !important; }
body.tsb-shop table.cart td.product-name :is(dl.variation, .wcfmmp_sold_by_container) { font-size: 17px; color: var(--mute); margin: 4px 0 0 !important; }
body.tsb-shop table.cart td.product-name dl.variation :is(dt, dd, p) { margin: 0 !important; padding: 0 !important; display: inline; font-weight: 400 !important; }
body.tsb-shop table.cart .wcfmmp_sold_by_label,
body.tsb-shop table.cart .wcfmmp_sold_by_logo,
body.tsb-shop table.cart .wcfmmp-store-rating { display: none !important; }
body.tsb-shop table.cart .wcfmmp_sold_by_wrapper a { font-style: italic; font-size: 16px; color: var(--mute) !important; }
body.tsb-shop table.cart td.product-quantity input.qty { width: 80px !important; text-align: center; }
body.tsb-shop table.cart :is(td.product-subtotal, td.product-price) { font-variant-numeric: tabular-nums; }
body.tsb-shop table.cart a.remove {
	color: var(--red) !important; background: none !important; font-size: 26px !important; font-weight: 400 !important;
	width: 44px; height: 44px; line-height: 44px !important; text-align: center; border-radius: 0 !important;
}
body.tsb-shop table.cart a.remove:hover { color: #FFFFFF !important; background: var(--red) !important; }
body.tsb-shop table.cart td.actions { padding-top: 20px !important; border-bottom: 0 !important; }
body.tsb-shop table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
body.tsb-shop table.cart td.actions .coupon input.input-text { width: 180px !important; margin: 0 !important; }
body.tsb-shop table.cart td.actions > .button { float: right; }

/* Order summary card */
body.tsb-shop .cart_totals { border: 1px solid var(--ink); border-radius: 2px; padding: 28px; box-sizing: border-box; }
body.tsb-shop .cart_totals > h2 { font-size: 30px !important; margin: 0 0 8px !important; }
body.tsb-shop .cart_totals table.shop_table :is(th, td) { padding: 10px 0 !important; font-weight: 400 !important; }
body.tsb-shop .cart_totals table.shop_table td { text-align: right; font-variant-numeric: tabular-nums; }
body.tsb-shop .cart_totals tr.order-total :is(th, td) { font-size: 22px !important; border-bottom: 0 !important; }
body.tsb-shop .cart_totals tr.order-total strong { font-weight: 400 !important; }
body.tsb-shop :is(.cart_totals, #order_review) .woocommerce-shipping-destination,
body.tsb-shop :is(.cart_totals, #order_review) .woocommerce-shipping-calculator { font-size: 16px; font-style: italic; color: var(--mute); text-align: right; }
body.tsb-shop .wc-proceed-to-checkout { padding: 16px 0 0 !important; display: flex; flex-direction: column; gap: 10px; }
body.tsb-shop .wc-proceed-to-checkout a.checkout-button { width: 100%; margin: 0 !important; }

/* Empty cart */
body.tsb-shop p.cart-empty { font-size: 24px !important; border: 0 !important; padding: 0 !important; }
body.tsb-shop .return-to-shop { margin-top: 12px; }

/* ==================================================================
   Checkout
   ================================================================== */
body.tsb-shop form.checkout {
	display: grid; grid-template-columns: minmax(0, 1fr) 460px; column-gap: 72px; align-items: start;
}
body.tsb-shop form.checkout::before,
body.tsb-shop form.checkout::after { display: none !important; }
body.tsb-shop form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
body.tsb-shop form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; max-width: 700px; }
body.tsb-shop form.checkout #order_review_heading {
	grid-column: 2; grid-row: 1; margin: 0 !important; padding: 28px 28px 8px !important;
	border: 1px solid var(--ink); border-bottom: 0; border-radius: 2px 2px 0 0; font-size: 30px !important;
}
body.tsb-shop form.checkout #order_review {
	grid-column: 2; grid-row: 2; padding: 0 28px 28px; border: 1px solid var(--ink); border-top: 0; border-radius: 0 0 2px 2px;
	width: auto !important; float: none !important;
}
body.tsb-shop #customer_details .col-1,
body.tsb-shop #customer_details .col-2 { width: 100% !important; float: none !important; }
body.tsb-shop #customer_details :is(h3, .woocommerce-billing-fields > h3) { font-size: 32px !important; margin: 0 0 18px !important; }
body.tsb-shop #customer_details .col-2 { margin-top: 36px; }
body.tsb-shop #ship-to-different-address { font-size: 20px !important; }
body.tsb-shop #ship-to-different-address label { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 20px; }
body.tsb-shop form.checkout .form-row { padding: 0 !important; margin: 0 0 16px !important; }
body.tsb-shop form.checkout .form-row label { display: block; margin-bottom: 6px; line-height: 1.3; }
body.tsb-shop form.checkout .form-row :is(input.input-text, textarea, select) { width: 100% !important; }
body.tsb-shop form.checkout .form-row-first,
body.tsb-shop form.checkout .form-row-last { width: calc(50% - 9px) !important; }
body.tsb-shop form.checkout .form-row .optional { font-style: italic; color: var(--mute); }
body.tsb-shop form.checkout .woocommerce-invalid :is(input.input-text, select) { border-color: var(--red) !important; }

/* Order review table */
body.tsb-shop #order_review table.shop_table thead { display: none; }
body.tsb-shop #order_review table.shop_table :is(th, td) { padding: 10px 0 !important; font-size: 18px; font-weight: 400 !important; }
body.tsb-shop #order_review table.shop_table td.product-total,
body.tsb-shop #order_review table.shop_table tfoot td { text-align: right; font-variant-numeric: tabular-nums; }
body.tsb-shop #order_review table.shop_table .product-quantity { font-weight: 400 !important; color: var(--mute); }
body.tsb-shop #order_review tr.order-total :is(th, td) { font-size: 24px !important; border-bottom: 0 !important; }
body.tsb-shop #order_review tr.order-total strong { font-weight: 400 !important; }
body.tsb-shop #order_review ul#shipping_method { margin: 0 !important; padding: 0 !important; list-style: none; text-align: right; }
body.tsb-shop #order_review ul#shipping_method li { margin: 0 0 4px !important; padding: 0 !important; font-size: 17px; }

/* Payment */
body.tsb-shop #payment { background: none !important; border-radius: 0 !important; margin-top: 12px; }
body.tsb-shop #payment ul.payment_methods { border: 0 !important; padding: 0 !important; margin: 0 0 18px !important; display: flex; flex-direction: column; gap: 10px; }
body.tsb-shop #payment ul.payment_methods li {
	border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px !important; margin: 0 !important; list-style: none; line-height: 1.4;
}
body.tsb-shop #payment ul.payment_methods li:has(input:checked) { border-color: var(--ink); }
body.tsb-shop #payment ul.payment_methods li > label { font-size: 19px !important; cursor: pointer; }
body.tsb-shop #payment ul.payment_methods li img { max-height: 24px; vertical-align: middle; margin-left: 6px; }
body.tsb-shop #payment div.payment_box {
	background: none !important; color: var(--mute) !important; padding: 8px 0 0 !important; margin: 0 !important; font-size: 16px;
}
body.tsb-shop #payment div.payment_box::before { display: none !important; }
body.tsb-shop #payment .place-order { padding: 0 !important; margin: 0 !important; }
body.tsb-shop #payment #place_order { width: 100%; float: none !important; min-height: 58px; font-size: 22px !important; }
body.tsb-shop #payment .woocommerce-privacy-policy-text p { font-size: 15px; line-height: 1.5; color: var(--mute); margin: 10px 0 0 !important; }

/* Coupon prompt above the form */
body.tsb-shop .woocommerce-form-coupon-toggle .woocommerce-info { justify-content: flex-start; }
body.tsb-shop form.checkout_coupon { border: 1px solid var(--line) !important; border-radius: 2px !important; padding: 18px !important; margin: 0 0 28px !important; }

/* ==================================================================
   Order received
   ================================================================== */
body.tsb-shop .woocommerce-order { max-width: 860px; }
body.tsb-shop .woocommerce-thankyou-order-received { font-size: 30px !important; line-height: 1.25; margin: 0 0 28px !important; }
body.tsb-shop ul.woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0 0 48px !important; padding: 20px 0 !important;
	border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); list-style: none;
}
body.tsb-shop ul.woocommerce-order-overview li {
	border: 0 !important; margin: 0 !important; padding: 0 !important; float: none !important;
	font-style: italic; font-size: 16px !important; color: var(--mute); text-transform: none !important;
}
body.tsb-shop ul.woocommerce-order-overview li strong { display: block; font-style: normal; font-weight: 400 !important; font-size: 20px; color: var(--text); }
body.tsb-shop .woocommerce-order-details__title,
body.tsb-shop .woocommerce-column__title { font-size: 32px !important; margin: 0 0 16px !important; }
body.tsb-shop .woocommerce-customer-details address { border: 1px solid var(--line) !important; border-radius: 2px !important; padding: 18px !important; font-style: normal; line-height: 1.6; }

/* ==================================================================
   Narrower screens
   ================================================================== */
@media (max-width: 1100px) {
	body.tsb-shop form.checkout { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 48px; }
	body.tsb-shop.woocommerce-cart #main-content .woocommerce { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 48px; }
}
@media (max-width: 960px) {
	.tsb-shop-cols-4,
	body.tsb-shop #main-content ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.tsb-shop form.checkout,
	body.tsb-shop.woocommerce-cart #main-content .woocommerce { grid-template-columns: minmax(0, 1fr); }
	body.tsb-shop form.checkout :is(#customer_details, #order_review_heading, #order_review) { grid-column: 1; grid-row: auto; max-width: none; }
	body.tsb-shop form.checkout #order_review_heading { margin-top: 44px !important; }
}
@media (max-width: 640px) {
	body.tsb-shop #main-content .container { padding: 20px 16px 80px !important; }
	.tsb-shop-wrap { padding: 0 16px; }
	.tsb-shop-hero { padding-top: 36px; padding-bottom: 40px; }
	.tsb-shop-hero h1 { font-size: 48px !important; }
	.tsb-shop-intro { font-size: 19px; }
	.tsb-shop-section { padding-top: 56px; }
	.tsb-shop-head h2 { font-size: 36px !important; }
	.tsb-shop-cols-4, .tsb-shop-cols-3,
	body.tsb-shop #main-content ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
	.tsb-shop-card.is-feat { grid-row: auto; }
	.tsb-shop-name, body.tsb-shop ul.products li.product .woocommerce-loop-product__title { font-size: 19px !important; }
	.tsb-shop-card.is-feat .tsb-shop-name { font-size: 24px; }
	body.tsb-shop span.onsale, body.tsb-shop .tsb-shop-stamp { width: 64px; height: 64px; top: -10px; right: -6px; }
	.tsb-shop-give h2 { font-size: 30px !important; }

	body.tsb-shop #main-content :is(h1.entry-title, h1.main_title, h1.page-title) { font-size: 42px !important; margin: 12px 0 28px !important; }
	body.tsb-shop div.product .product_title { font-size: 40px !important; }
	body.tsb-shop div.product > .clearfix { margin-bottom: 56px; gap: 28px; }
	body.tsb-shop div.product div.images.woocommerce-product-gallery,
	body.tsb-shop div.product div.summary { flex-basis: 100%; max-width: none; }
	body.tsb-shop div.product .woocommerce-tabs { padding-top: 44px; }
	body.tsb-shop div.product .woocommerce-tabs .panel > h2 { font-size: 30px !important; }

	body.tsb-shop form.checkout .form-row-first,
	body.tsb-shop form.checkout .form-row-last { width: 100% !important; float: none !important; }
	body.tsb-shop form.checkout #order_review_heading,
	body.tsb-shop form.checkout #order_review { padding-left: 18px !important; padding-right: 18px !important; }
	body.tsb-shop .cart_totals { padding: 20px; }
	body.tsb-shop table.cart td.actions > .button { float: none; width: 100%; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	body.tsb-shop #main-content * { transition: none !important; }
}
