/* SWD Toolkit: the 2026 look for views not built with SWD widgets:
   WooCommerce shop/product/cart/checkout/account, 404, search and archives.
   Loaded only on those views (body.swd-generic). */

body.swd-site.swd-generic .site-main,
body.swd-site.swd-generic main#content,
body.swd-site.swd-generic .woocommerce-products-header,
body.swd-site.swd-generic .woocommerce-notices-wrapper:not(:empty) {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: var(--gut);
	padding-right: var(--gut);
}
body.swd-site.swd-generic main#content,
body.swd-site.swd-generic main.site-main { padding-top: clamp(130px, 14vw, 170px); padding-bottom: clamp(80px, 10vw, 130px); min-height: 60vh; }
body.swd-site.swd-generic .site-main .site-main { padding: 0; max-width: none; min-height: 0; }

/* Titles */
body.swd-site.swd-generic .page-header { display: block; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; }
body.swd-site.swd-generic .page-header .entry-title,
body.swd-site.swd-generic h1.page-title,
body.swd-site.swd-generic .woocommerce-products-header__title,
body.swd-site.swd-generic .product_title {
	margin: 0;
	font-size: clamp(40px, 6vw, 76px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.035em;
	color: #fff;
}
body.swd-site.swd-generic .product_title { font-size: clamp(34px, 4.4vw, 56px); }
body.swd-site.swd-generic main h2, body.swd-site.swd-generic main h3 { color: #fff; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
body.swd-site.swd-generic main h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 18px; }
body.swd-site.swd-generic main h3 { font-size: 20px; margin: 0 0 14px; }
body.swd-site.swd-generic main p, body.swd-site.swd-generic main li, body.swd-site.swd-generic main label, body.swd-site.swd-generic main td, body.swd-site.swd-generic main th, body.swd-site.swd-generic main address { color: var(--muted); font-size: 16px; line-height: 1.6; }
body.swd-site.swd-generic main address { font-style: normal; }
body.swd-site.swd-generic main a { color: var(--acc); }
body.swd-site.swd-generic main a:hover { color: #fff; }
body.swd-site.swd-generic .woocommerce-breadcrumb { margin: 0 0 22px; font-size: 14px; color: var(--muted-d); }
body.swd-site.swd-generic .woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }

/* 404 / search */
body.swd-site.swd-generic .error-404 .page-content p,
body.swd-site.swd-generic .page-content > p:first-child { font-size: 19px; max-width: 46ch; }
body.swd-site.swd-generic .error-404 .page-content::after {
	content: "";
	display: block;
	margin-top: 28px;
}

/* Cards: boxes Woo draws */
body.swd-site.swd-generic .woocommerce form.login,
body.swd-site.swd-generic .woocommerce form.register,
body.swd-site.swd-generic .woocommerce form.checkout_coupon,
body.swd-site.swd-generic .woocommerce form.lost_reset_password,
body.swd-site.swd-generic .woocommerce-MyAccount-content,
body.swd-site.swd-generic .woocommerce-MyAccount-navigation,
body.swd-site.swd-generic .cart_totals,
body.swd-site.swd-generic #order_review,
body.swd-site.swd-generic .woocommerce-checkout #customer_details,
body.swd-site.swd-generic .woocommerce-order,
body.swd-site.swd-generic .woocommerce-cart-form,
body.swd-site.swd-generic .wc-empty-cart-message,
body.swd-site.swd-generic .cart-empty,
body.swd-site.swd-generic .return-to-shop {
	border: 0;
	border-radius: 28px;
	background: var(--card);
	box-shadow: inset 0 0 0 1px var(--edge);
	padding: clamp(22px, 3vw, 36px);
	margin: 0 0 24px;
}
body.swd-site.swd-generic .woocommerce-checkout #customer_details .col-1,
body.swd-site.swd-generic .woocommerce-checkout #customer_details .col-2 { float: none; width: auto; }
body.swd-site.swd-generic .woocommerce-checkout #customer_details .col-2:not(:empty) { margin-top: 24px; }
body.swd-site.swd-generic .cart-empty.woocommerce-info { margin: 0; }
body.swd-site.swd-generic .return-to-shop { background: none; box-shadow: none; padding: 0; }

/* Two-column checkout on desktop */
@media (min-width: 1024px) {
	body.swd-site.swd-generic form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 32px; align-items: start; }
	body.swd-site.swd-generic form.woocommerce-checkout > * { grid-column: 1; }
	body.swd-site.swd-generic form.woocommerce-checkout > #order_review_heading,
	body.swd-site.swd-generic form.woocommerce-checkout > #order_review { grid-column: 2; }
	body.swd-site.swd-generic form.woocommerce-checkout > #customer_details { grid-row: 1 / span 3; }
	body.swd-site.swd-generic form.woocommerce-checkout > #order_review_heading { grid-row: 1; margin-top: 0; }
	body.swd-site.swd-generic form.woocommerce-checkout > #order_review { grid-row: 2; position: sticky; top: 110px; }
	body.swd-site.swd-generic .woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
	body.swd-site.swd-generic .woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	body.swd-site.swd-generic .woocommerce-MyAccount-navigation, body.swd-site.swd-generic .woocommerce-MyAccount-content { float: none; width: auto; margin: 0; }
	body.swd-site.swd-generic .woocommerce-account:not(.logged-in) .woocommerce { display: block; }
}

/* Form fields */
body.swd-site.swd-generic .woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
body.swd-site.swd-generic .woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--cream); }
body.swd-site.swd-generic .woocommerce form .form-row .required { color: var(--acc); text-decoration: none; }
body.swd-site.swd-generic input[type="text"], body.swd-site.swd-generic input[type="email"], body.swd-site.swd-generic input[type="tel"], body.swd-site.swd-generic input[type="password"],
body.swd-site.swd-generic input[type="number"], body.swd-site.swd-generic input[type="search"], body.swd-site.swd-generic input[type="url"], body.swd-site.swd-generic textarea, body.swd-site.swd-generic select,
body.swd-site.swd-generic .select2-container .select2-selection--single {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 0;
	border-radius: 14px;
	background: rgba(255, 255, 255, .04);
	box-shadow: inset 0 0 0 1px var(--edge);
	color: #fff !important;
	background-color: rgba(255, 255, 255, .04) !important;
	font: inherit;
	font-size: 16px;
	transition: box-shadow .2s;
}
body.swd-site.swd-generic textarea { min-height: 120px; }
body.swd-site.swd-generic input:focus, body.swd-site.swd-generic textarea:focus, body.swd-site.swd-generic select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--acc); }
body.swd-site.swd-generic ::placeholder { color: var(--muted-d); }
body.swd-site.swd-generic .select2-container .select2-selection--single { display: flex; align-items: center; }
body.swd-site.swd-generic .select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff; padding: 0; line-height: 1.4; }
body.swd-site.swd-generic .select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px; right: 10px; }
.select2-dropdown { background: var(--card) !important; border-color: var(--edge) !important; color: #fff; }
.select2-search__field { background: rgba(255, 255, 255, .06) !important; color: #fff !important; border-color: var(--edge) !important; }
.select2-results__option--highlighted { background: var(--acc) !important; color: var(--ink) !important; }
body.swd-site.swd-generic input[type="checkbox"], body.swd-site.swd-generic input[type="radio"] { accent-color: var(--acc); width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* Buttons */
body.swd-site.swd-generic .woocommerce .button,
body.swd-site.swd-generic .woocommerce button.button,
body.swd-site.swd-generic .woocommerce a.button,
body.swd-site.swd-generic .woocommerce input.button,
body.swd-site.swd-generic .woocommerce #place_order,
body.swd-site.swd-generic .search-submit,
body.swd-site.swd-generic .wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 24px;
	border: 0;
	border-radius: 14px;
	background: var(--acc);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
body.swd-site.swd-generic .woocommerce .button:hover, body.swd-site.swd-generic .woocommerce #place_order:hover { background: #fff; color: var(--ink); }
body.swd-site.swd-generic .woocommerce .button:disabled, body.swd-site.swd-generic .woocommerce .button.disabled { opacity: .5; }
body.swd-site.swd-generic .woocommerce #place_order { width: 100%; min-height: 56px; font-size: 17px; margin-top: 8px; }
body.swd-site.swd-generic .woocommerce a.remove { color: var(--muted) !important; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--edge); width: 28px; height: 28px; line-height: 26px; font-size: 18px; }
body.swd-site.swd-generic .woocommerce a.remove:hover { background: #ff5a6a; color: #fff !important; }

/* Tables */
body.swd-site.swd-generic table.shop_table { width: 100%; border: 0; border-collapse: collapse; border-radius: 0; margin: 0 0 20px; }
body.swd-site.swd-generic table.shop_table th, body.swd-site.swd-generic table.shop_table td { padding: 14px 10px; border: 0; border-top: 1px solid var(--edge); background: none; text-align: left; vertical-align: middle; }
body.swd-site.swd-generic table.shop_table thead th { border-top: 0; color: var(--muted-d); font-size: 13px; font-weight: 500; }
body.swd-site.swd-generic table.shop_table .order-total th, body.swd-site.swd-generic table.shop_table .order-total td { color: #fff; font-size: 19px; }
body.swd-site.swd-generic table.shop_table td.product-name, body.swd-site.swd-generic table.shop_table td.product-name a { color: #fff; }
body.swd-site.swd-generic .cart_totals h2 { margin-bottom: 8px; }
body.swd-site.swd-generic .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 520px; margin-left: auto; }
body.swd-site.swd-generic .wc-proceed-to-checkout { padding: 8px 0 0; }
body.swd-site.swd-generic .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; }
body.swd-site.swd-generic .woocommerce-cart-form .coupon { display: flex; gap: 10px; flex-wrap: wrap; }
body.swd-site.swd-generic .woocommerce-cart-form .coupon .input-text { width: 200px; }
body.swd-site.swd-generic table.shop_table img { width: 64px; border-radius: 10px; }

/* Payment box */
body.swd-site.swd-generic #payment { background: none !important; border-radius: 0; }
body.swd-site.swd-generic #payment ul.payment_methods { padding: 0 0 16px; border-bottom: 1px solid var(--edge) !important; }
body.swd-site.swd-generic #payment ul.payment_methods li { list-style: none; color: #fff; }
body.swd-site.swd-generic #payment div.payment_box { background: rgba(255, 255, 255, .04) !important; color: var(--muted); border-radius: 14px; }
body.swd-site.swd-generic #payment div.payment_box::before { display: none; }
body.swd-site.swd-generic #payment div.form-row { padding: 16px 0 0 !important; }
body.swd-site.swd-generic .woocommerce-privacy-policy-text p { font-size: 14px; }

/* Notices */
body.swd-site.swd-generic .woocommerce-message, body.swd-site.swd-generic .woocommerce-info, body.swd-site.swd-generic .woocommerce-error, body.swd-site.swd-generic .woocommerce-noreviews {
	list-style: none;
	margin: 0 0 24px;
	padding: 16px 20px 16px 52px;
	border: 0;
	border-radius: 16px;
	background: rgba(92, 200, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(92, 200, 255, .25);
	color: var(--cream);
	position: relative;
}
body.swd-site.swd-generic .woocommerce-error { background: rgba(255, 90, 106, .08); box-shadow: inset 0 0 0 1px rgba(255, 90, 106, .3); }
body.swd-site.swd-generic .woocommerce-message::before, body.swd-site.swd-generic .woocommerce-info::before, body.swd-site.swd-generic .woocommerce-error::before { left: 20px; top: 16px; color: var(--acc); }
body.swd-site.swd-generic .woocommerce-error::before { color: #ff5a6a; }
body.swd-site.swd-generic .woocommerce-message .button, body.swd-site.swd-generic .woocommerce-info .button { float: right; min-height: 38px; padding: 0 16px; font-size: 14px; }

/* My account navigation */
body.swd-site.swd-generic .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
body.swd-site.swd-generic .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--muted); text-decoration: none; }
body.swd-site.swd-generic .woocommerce-MyAccount-navigation li.is-active a, body.swd-site.swd-generic .woocommerce-MyAccount-navigation li a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
body.swd-site.swd-generic .woocommerce .col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
body.swd-site.swd-generic .woocommerce .col2-set::before, body.swd-site.swd-generic .woocommerce .col2-set::after { display: none; }
body.swd-site.swd-generic .woocommerce .col2-set .col-1, body.swd-site.swd-generic .woocommerce .col2-set .col-2 { float: none; width: auto; }
body.swd-site.swd-generic .u-columns.col2-set > div > h2 { margin-bottom: 14px; }
body.swd-site.swd-generic .lost_password a { color: var(--muted); }

/* Shop grid + product cards */
body.swd-site.swd-generic ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; margin: 0; padding: 0; }
body.swd-site.swd-generic ul.products::before, body.swd-site.swd-generic ul.products::after { display: none !important; }
body.swd-site.swd-generic ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 26px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); display: flex; flex-direction: column; }
body.swd-site.swd-generic ul.products li.product a img { display: none; }
body.swd-site.swd-generic ul.products li.product .woocommerce-loop-product__title { padding: 0; margin: 0 0 8px; color: #fff; font-size: 20px; font-weight: 500; }
body.swd-site.swd-generic ul.products li.product .price { color: var(--acc) !important; font-size: 17px; margin-bottom: 18px; }
body.swd-site.swd-generic ul.products li.product .button { margin-top: auto; align-self: flex-start; }
body.swd-site.swd-generic .woocommerce-result-count { color: var(--muted-d); font-size: 14px; }
body.swd-site.swd-generic .woocommerce-ordering select { width: auto; min-height: 42px; }
body.swd-site.swd-generic .price, body.swd-site.swd-generic .woocommerce-Price-amount { color: #fff; }
body.swd-site.swd-generic p.price { font-size: 24px; color: var(--acc) !important; }
body.swd-site.swd-generic .woocommerce div.product div.images { display: none; }
body.swd-site.swd-generic .woocommerce div.product div.summary { float: none; width: 100%; max-width: 760px; }
body.swd-site.swd-generic .woocommerce div.product form.cart { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 24px 0; }
body.swd-site.swd-generic .woocommerce .quantity .qty { width: 84px; text-align: center; }
body.swd-site.swd-generic .woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 16px; }
body.swd-site.swd-generic .woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--edge); }
body.swd-site.swd-generic .woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border-color: var(--edge); border-radius: 12px 12px 0 0; }
body.swd-site.swd-generic .woocommerce div.product .woocommerce-tabs ul.tabs li::before, body.swd-site.swd-generic .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.swd-site.swd-generic .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted); }
body.swd-site.swd-generic .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
body.swd-site.swd-generic .related.products { margin-top: 48px; }
body.swd-site.swd-generic .product_meta { font-size: 14px; color: var(--muted-d); }
body.swd-site.swd-generic .woocommerce span.onsale { background: var(--acc); color: var(--ink); }

/* Search form (search results, 404) */
body.swd-site.swd-generic .search-form { display: flex; gap: 10px; max-width: 520px; }
body.swd-site.swd-generic article.post { padding: 22px 0; border-top: 1px solid var(--edge); }
body.swd-site.swd-generic article.post .entry-title a { color: #fff; text-decoration: none; }

@media (max-width: 767px) {
	body.swd-site.swd-generic table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; text-align: right !important; }
	body.swd-site.swd-generic table.shop_table_responsive tr td::before { color: var(--muted-d); }
	body.swd-site.swd-generic table.shop_table_responsive tr { display: block; padding: 8px 0; border-top: 1px solid var(--edge); }
	body.swd-site.swd-generic .woocommerce-cart-form .coupon .input-text { width: 100%; }
	body.swd-site.swd-generic .woocommerce-message .button { float: none; margin-top: 10px; }
}

/* Hosting plans have no product photos: hide the placeholder thumbnails. */
body.swd-site.swd-generic table.shop_table .product-thumbnail { display: none; }
body.swd-site.swd-generic .woocommerce-cart-form .coupon .input-text { width: 220px !important; min-width: 220px; }
@media (max-width: 767px) { body.swd-site.swd-generic .woocommerce-cart-form .coupon .input-text { width: 100% !important; min-width: 0; } }

/* Shop: readable result count and add-to-cart buttons (contrast) */
body.swd-site.swd-generic main .woocommerce-result-count { color: var(--muted); }
body.swd-site.swd-generic main ul.products li.product .button, body.swd-site.swd-generic main ul.products li.product .add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--acc) !important; color: var(--ink) !important; font-weight: 500; text-decoration: none; }
body.swd-site.swd-generic main ul.products li.product .button:hover { background: #fff !important; }
