/*
Theme Name: Frunză Atelier
Theme URI: https://example.com/themes/frunza-atelier
Author: Frunză Atelier
Author URI: https://example.com
Description: A warm, editorial fashion storefront theme for WordPress + WooCommerce. Bodoni Moda serif display type, a paper-toned palette, and a considered catalog — with one-click demo content, a bag drawer, wishlist, and a Customizer for the brand name, announcement, hero, social links and more.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frunza-atelier
Tags: e-commerce, custom-menu, custom-logo, featured-images, blog, translation-ready, threaded-comments
WC requires at least: 7.0
WC tested up to: 8.8
*/

/* This file only contains the WordPress / WooCommerce glue that the design
   stylesheet (assets/css/atelier.css) does not cover. Do not edit
   atelier.css — this file loads after it. */

/* ---------------------------------------------------------------- a11y */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: hsl(var(--background));
	clip: auto !important;
	clip-path: none;
	color: var(--ink);
	display: block;
	font-size: 12px;
	height: auto;
	left: 12px;
	padding: 14px 18px;
	text-decoration: none;
	top: 12px;
	width: auto;
	z-index: 100000;
}
.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 12px;
	top: 12px;
	z-index: 100001;
	position: fixed;
}
[hidden] {
	display: none !important;
}
body {
	-webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------- admin bar */

.admin-bar .site-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* ----------------------------------------------------------- basic layout */

#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.site-main {
	flex: 1 0 auto;
	min-height: 50vh;
}
.site-content {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}
.svh-main {
	flex: 1 0 auto;
	width: 100%;
}

/* Typography for editor/wysiwyg content inside pages + posts. */
.entry-content {
	font-size: 14px;
	line-height: 1.9;
	color: var(--ink);
}
.page-body {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 5vw 100px;
}
.page-body .entry-content > p {
	margin: 0 0 22px;
}
.page-body .entry-content > p:last-child {
	margin-bottom: 0;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 48px 0 16px;
}
.entry-content h2 {
	font-size: 34px;
}
.entry-content h3 {
	font-size: 24px;
}
.entry-content ul,
.entry-content ol {
	margin: 0 0 22px;
	padding-left: 22px;
	font-size: 14px;
}
.entry-content ul > li,
.entry-content ol > li {
	margin-bottom: 8px;
}
.entry-content blockquote {
	font-family: var(--serif);
	font-style: italic;
	font-size: 22px;
	line-height: 1.5;
	border-left: 2px solid var(--ink);
	padding: 4px 0 4px 26px;
	margin: 34px 0;
	color: var(--quiet);
}
.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.entry-content img {
	max-width: 100%;
	height: auto;
}
.entry-content .wp-caption-text,
.entry-content figcaption {
	font-size: 10px;
	color: var(--quiet);
	letter-spacing: 0.08em;
	margin-top: 8px;
}
.entry-content pre {
	background: hsl(var(--muted));
	padding: 18px;
	overflow: auto;
	font-size: 12px;
}
.entry-content code {
	font-size: 12px;
}
.entry-content table {
	border-collapse: collapse;
	width: 100%;
	margin: 22px 0;
}
.entry-content th,
.entry-content td {
	border-bottom: 1px solid var(--line);
	padding: 10px 8px;
	text-align: left;
	font-size: 12px;
}

/* Alignments (classic editor + blocks). */
.alignleft {
	float: left;
	margin: 6px 26px 16px 0;
}
.alignright {
	float: right;
	margin: 6px 0 16px 26px;
}
.aligncenter {
	display: block;
	margin: 24px auto;
}
.alignwide {
	margin-left: -5vw;
	margin-right: -5vw;
	max-width: none;
}
.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}
.wp-caption {
	max-width: 100%;
}
.wp-caption-text {
	text-align: center;
	font-size: 10px;
	color: var(--quiet);
}
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 30px 0;
}
.gallery-item {
	margin: 0;
}
.gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}
.gallery-caption {
	font-size: 9px;
	padding-top: 6px;
	color: var(--quiet);
}

/* ------------------------------------------------------------ page intro */

.page-intro {
	max-width: 1500px;
}
.page-intro .breadcrumbs {
	margin-bottom: 26px;
}
.page-intro > .eyebrow {
	display: block;
	margin-bottom: 6px;
}

/* --------------------------------------------------------------- 404 */

.not-found-copy {
	max-width: 1500px;
	margin: 0 auto;
	padding: 40px 5vw 110px;
}
.not-found-copy h1 {
	font-size: clamp(40px, 6vw, 70px);
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 12px 0 14px;
}
.not-found-copy .muted-copy {
	max-width: 460px;
	margin-bottom: 26px;
}
.not-found-copy .search-form {
	max-width: 460px;
}

/* ------------------------------------------------------------ forms */

.search-form {
	display: flex;
	gap: 10px;
	margin-top: 26px;
}
.search-form .search-field {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--line);
	background: transparent;
	padding: 13px 15px;
	font-size: 12px;
	color: inherit;
}
.search-form .search-field:focus {
	outline: 2px solid hsl(var(--primary));
	outline-offset: 3px;
	border-color: hsl(var(--primary));
}

.form-note {
	font-size: 12px;
	line-height: 1.7;
	padding: 12px 15px;
	background: hsl(var(--muted));
	border-left: 2px solid var(--ink);
	margin: 0 0 24px;
}
.contact-form .form-note {
	max-width: 640px;
}
.contact-note,
.subscribe-note {
	margin-bottom: 0;
	margin-top: 18px;
}

/* ------------------------------------------------------------ pagination */

.pagination,
.woocommerce-pagination {
	padding: 40px 5vw 90px;
	max-width: 1500px;
	margin: 0 auto;
}
.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
.pagination .nav-links a,
.pagination .nav-links .page-numbers,
.woocommerce-pagination .page-numbers {
	border: 1px solid var(--line);
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	font-size: 11px;
	color: inherit;
	text-decoration: none;
}
.pagination .nav-links .current,
.woocommerce-pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: hsl(var(--background));
}
.pagination .nav-links a:hover,
.woocommerce-pagination .page-numbers:hover {
	border-color: var(--ink);
}

.page-links {
	margin-top: 34px;
	font-size: 11px;
}
.page-links a,
.page-links > span:not(.screen-reader-text) {
	border: 1px solid var(--line);
	padding: 6px 11px;
	margin-right: 6px;
	display: inline-block;
	text-decoration: none;
}
.page-links .post-page-numbers.current {
	background: var(--ink);
	color: hsl(var(--background));
}

/* ------------------------------------------------------------ comments */

.comments-area {
	max-width: 860px;
	margin: 0 auto;
	padding: 60px 5vw 100px;
}
.comments-title {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	margin-bottom: 24px;
}
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
}
.comment-list .comment {
	margin-bottom: 20px;
}
.comment-list .children {
	list-style: none;
	padding-left: 34px;
	margin-top: 20px;
}
.comment-body {
	border-bottom: 1px solid var(--line);
	padding: 18px 0;
	font-size: 13px;
	line-height: 1.8;
}
.comment-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 11px;
	color: var(--quiet);
	margin-bottom: 6px;
}
.comment-author {
	font-weight: 600;
	color: var(--ink);
}
.comment-author a {
	color: inherit;
	text-decoration: none;
}
.comment-metadata a {
	color: var(--quiet);
	text-decoration: none;
}
.comment-content {
	font-size: 13px;
	color: var(--ink);
}
.reply a {
	font-size: 10px;
	text-decoration: underline;
}
.comment-respond {
	margin-top: 30px;
}
.comment-reply-title {
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 16px;
}
.comment-form label {
	display: block;
	font-size: 11px;
	margin: 18px 0 7px;
}
.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--line);
	background: transparent;
	padding: 12px 14px;
	font: 13px var(--sans);
	color: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid hsl(var(--primary));
	outline-offset: 3px;
	border-color: hsl(var(--primary));
}
.comment-form .submit {
	margin-top: 18px;
}
.no-comments {
	font-size: 12px;
	color: var(--quiet);
	margin-bottom: 24px;
}

/* ------------------------------------------------------------ wishlist */

.wishlist-section {
	padding-top: 20px;
}
.wishlist-grid-wrap {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 5vw 100px;
}
.empty-wishlist {
	text-align: center;
	padding: 90px 20px 40px;
}
.empty-wishlist h2 {
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 500;
	margin-bottom: 10px;
}
.empty-wishlist p {
	font-size: 12px;
	color: var(--quiet);
	margin-bottom: 26px;
}
.heart-button.is-favorite svg,
.wishlist-round.is-favorite svg {
	fill: currentColor;
}

/* ---------------------------------------------------------- search page */

.search-product {
	min-width: 0;
}

/* ------------------------------------------------------------------ FAQ */

.faq-layout {
	max-width: 1500px;
	margin: 0 auto;
	padding: 20px 5vw 110px;
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 40px;
	align-items: start;
}
.faq-layout > nav {
	position: sticky;
	top: 110px;
	display: grid;
	gap: 12px;
	font-size: 11px;
}
.faq-layout > nav a {
	text-decoration: none;
	color: var(--quiet);
}
.faq-layout > nav a:hover {
	color: var(--ink);
}
.faq-items {
	max-width: 760px;
}
.faq-intro {
	margin-bottom: 40px;
}
.faq-group {
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 500;
	margin: 46px 0 6px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}
.faq-group:first-of-type {
	border-top: 0;
	margin-top: 0;
}
.faq-item {
	border-bottom: 1px solid var(--line);
}
.faq-item > button {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	background: none;
	border: 0;
	padding: 19px 0;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
}
.faq-item > button span {
	font-size: 18px;
	line-height: 1;
	color: var(--quiet);
}
.faq-item > p {
	font-size: 12px;
	line-height: 1.85;
	color: var(--quiet);
	margin: 0 0 22px;
	padding-right: 30px;
}

/* ---------------------------------------------------------- size guide */

.table-scroll {
	overflow-x: auto;
}
.table-scroll table {
	width: 100%;
	border-collapse: collapse;
	max-width: 860px;
}
.table-scroll th,
.table-scroll td {
	text-align: left;
	padding: 15px 10px;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
}
.table-scroll th {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--quiet);
}
.table-scroll td strong {
	font-weight: 600;
}
.fit-notes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	max-width: 860px;
	padding: 60px 0 0;
}
.fit-notes h2 {
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 10px;
}
.fit-notes p {
	font-size: 12px;
	line-height: 1.85;
	color: var(--quiet);
	margin-bottom: 0;
}
.fit-notes .button {
	margin-top: 20px;
}

/* ------------------------------------------------------------- policies */

.policy-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 5vw 110px;
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 50px;
	align-items: start;
}
.policy-index {
	position: sticky;
	top: 110px;
	display: grid;
	gap: 12px;
	font-size: 11px;
	border-top: 1px solid var(--line);
	padding-top: 16px;
}
.policy-index a {
	text-decoration: none;
	color: var(--quiet);
}
.policy-index a:hover {
	color: var(--ink);
}
.policy-page article {
	max-width: 640px;
}
.policy-page article h2 {
	scroll-margin-top: 120px;
}

/* ---------------------------------------------------- journal / articles */

.journal-list {
	align-items: start;
}
.read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-top: 15px;
}
.article-top {
	max-width: 1500px;
	margin: 0 auto;
	padding: 40px 5vw 30px;
}
.article-top .eyebrow {
	display: block;
	margin-bottom: 8px;
}
.article-top h1 {
	font-size: clamp(44px, 6vw, 76px);
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.02;
	max-width: 900px;
	margin: 0 0 14px;
}
.article-top > p {
	max-width: 560px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--quiet);
}
.article-page > .safe-image-wrap {
	max-width: 1500px;
	margin: 0 5vw;
	aspect-ratio: 16/9;
}
.article-body {
	max-width: 860px;
	margin: 60px auto 0;
	padding: 0 5vw 40px;
}

/* ----------------------------------------------------- navigation fixes */

/* The design shows .dropdown-menu on interaction — hide it until opened. */
.nav-dropdown .dropdown-menu {
	display: none;
}
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
	display: grid;
}
/* Category heading inside the Shop dropdown. */
.dropdown-menu-title {
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}
.mobile-menu-bottom {
	margin-top: auto;
	display: grid;
	gap: 10px;
	font-size: 11px;
}

/* ------------------------------------------------------------ page spacing */

/* Best Seller page: the generic .home-section padding (100px) left a much
   larger gap under the page title than the catalogue pages use. The category
   pages (New In, Shop…) keep 20px between the intro and the first product row —
   match them so every listing starts with the same rhythm. */
.site-main .best-sellers {
	padding-top: 20px;
}

/* ====================================================== WooCommerce glue */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border: 1px solid var(--line);
	border-left: 3px solid var(--ink);
	background: hsl(var(--muted));
	color: var(--ink);
	padding: 13px 16px 13px 44px;
	font-size: 12px;
	line-height: 1.7;
	margin: 0 5vw 26px;
	max-width: 1440px;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	color: var(--ink);
}
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
	background: var(--ink);
	color: hsl(var(--background));
	padding: 9px 14px;
	font-size: 9px;
	letter-spacing: 0.1em;
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
	background: transparent;
	color: var(--ink);
}
.woocommerce-notices-wrapper {
	display: contents;
}

/* Single product: variation form → design layout. */
form.variations_form,
form.cart {
	margin-top: 16px;
}
table.variations {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	/* atelier.css gives every table a 740px minimum (for the size guide); the
	   variations table has to fit the product column instead. */
	min-width: 0;
}
table.variations tbody {
	display: block;
}
table.variations tr {
	display: block;
}
/* Attribute labels sit above their option cells, like the design's Colour /
   Size rows. theme.js replaces these with an in-fieldset legend as soon as it
   builds the option cells, so they act as the no-JS fallback. */
table.variations th.label {
	display: block;
	padding: 0;
	margin: 0 0 9px;
	text-align: left;
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--label-ink);
	border-bottom: 0;
}
table.variations tr + tr th.label {
	margin-top: 18px;
}
table.variations td.value {
	display: block;
	padding: 0;
	margin: 0;
	/* The generic `th, td` rule in tokens.css draws a hairline under every cell;
	   the variation rows carry their own borders, so drop it here. */
	border-bottom: 0;
}
/* With JS the selects become option cells: the cell's own fieldset is the only
   content, so the gap between the Colour and Size rows moves to its container. */
.variations_form.frunza-options table.variations tr + tr td.value {
	padding-top: 18px;
}
/* The real WooCommerce select stays in the form for variation matching, but
   theme.js mirrors it with the option cells, so it is visually removed. */
.variations_form table.variations select.option-select-native {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.variations_form table.variations select,
.woocommerce select {
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	color: inherit;
	padding: 9px 4px;
	font-size: 11px;
	width: 100%;
	max-width: 320px;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
.variations_form .reset_variations {
	display: inline-block;
	margin-top: 9px;
	font-size: 10px;
	color: var(--quiet);
	text-decoration: underline;
}
.woocommerce-variation-price,
.woocommerce-variation-availability {
	font-size: 12px;
	margin: 14px 0 0;
}
.woocommerce-variation-price .price {
	color: var(--ink);
}
.woocommerce-variation-availability .stock {
	color: #5a6b4f;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Purchase row (built by theme.js from .woocommerce-variation-add-to-cart). */
.purchase-row {
	display: flex;
	gap: 9px;
	margin-top: 22px;
	align-items: stretch;
}
.purchase-row .qty-control.large {
	display: inline-flex;
	align-items: center;
	justify-content: space-around;
	min-width: 98px;
	border: 1px solid var(--line);
	padding: 9px;
}
.qty-control.large input.qty {
	width: 24px;
	border: 0;
	background: transparent;
	text-align: center;
	font: 12px var(--sans);
	color: inherit;
	-moz-appearance: textfield;
	appearance: textfield;
}
.qty-control.large input.qty::-webkit-inner-spin-button,
.qty-control.large input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.purchase-row .purchase-add {
	flex: 1;
	cursor: pointer;
}
.purchase-row .wishlist-round {
	width: 48px;
	min-width: 48px;
	border: 1px solid var(--line);
	background: transparent;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.purchase-row .wishlist-round:hover {
	border-color: var(--ink);
}
.purchase-row .wishlist-round.is-favorite {
	fill: currentColor;
}
.buy-now {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 13px;
	background: hsl(var(--accent-foreground));
	border: 1px solid hsl(var(--accent-foreground));
	font: 10px var(--sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: hsl(var(--accent));
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.buy-now:hover {
	background: transparent;
	color: hsl(var(--accent-foreground));
}
.buy-now:disabled,
.buy-now[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	filter: none;
}

/* Related products grid. */
.related-section .product-grid {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 5vw;
}

/* Single product crumb sits above .product-detail-layout. */
.product-crumb .breadcrumbs {
	margin: 0;
}
.product-accordions {
	margin-top: 30px;
}
/* The wrapper WooCommerce wraps the qty control in can be flattened. */
.variations_button .quantity,
.woocommerce-variation-add-to-cart .quantity {
	display: contents;
}

/* Catalog tools + filters. */
.catalog-products {
	min-width: 0;
}
.catalog-tools select {
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	color: inherit;
	padding: 6px 2px;
	font-size: 10px;
	border-radius: 0;
}
.filter-form {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px;
	align-items: center;
	border-bottom: 1px solid var(--line);
	padding-bottom: 16px;
}
.filter-form > label {
	grid-column: 1 / -1;
	display: grid;
	gap: 8px;
	font-size: 10px;
	color: var(--quiet);
}
.filter-form select,
.filter-form input[type='range'] {
	width: 100%;
}
.filter-form .button {
	margin-top: 6px;
}
.range-filter .range-value {
	font-variant-numeric: tabular-nums;
}

/* Cart page (default WooCommerce markup, re-skinned). */
.woocommerce-cart .woocommerce {
	max-width: 1480px;
	margin: 0 auto;
	padding: 20px 5vw 100px;
}
.woocommerce-cart-form {
	overflow-x: auto;
}
table.shop_table {
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}
table.shop_table th {
	text-align: left;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--quiet);
	padding: 12px 10px;
	border-bottom: 1px solid var(--ink);
}
table.shop_table td {
	padding: 16px 10px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}
table.shop_table td.product-thumbnail img {
	width: 64px;
	height: auto;
}
table.shop_table .product-name a,
table.shop_table .product-subtotal {
	color: var(--ink);
	text-decoration: none;
}
table.shop_table .product-quantity .quantity {
	display: inline-flex;
}
table.shop_table .quantity input.qty {
	width: 52px;
	border: 1px solid var(--line);
	background: transparent;
	padding: 9px 4px;
	text-align: center;
	font-size: 12px;
	color: inherit;
	-moz-appearance: textfield;
}
table.shop_table .quantity input.qty::-webkit-inner-spin-button,
table.shop_table .quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
table.shop_table a.remove {
	color: var(--quiet);
	text-decoration: none;
	font-size: 16px;
}
table.shop_table a.remove:hover {
	color: var(--ink);
}
.woocommerce-cart-form__contents .actions,
.cart-collaterals,
.woocommerce-cart .cart_totals {
	padding-top: 22px;
}
.cart_totals {
	width: 100%;
	max-width: 420px;
	float: none;
	margin-top: 30px;
}
.cart_totals h2 {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	margin-bottom: 14px;
}
.cart_totals table.shop_table td,
.cart_totals table.shop_table th {
	text-transform: none;
	letter-spacing: 0;
	border-bottom: 1px solid var(--line);
}
.cart_totals .order-total th,
.cart_totals .order-total td {
	font-size: 15px;
}
.woocommerce button.button,
.woocommerce a.button,
button.button,
a.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 14px 21px;
	border: 1px solid #292a2e;
	background: transparent;
	color: #292a2e;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 10px;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	font-family: var(--sans);
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
button.button:hover,
a.button:hover {
	background: #292a2e;
	color: #f8f6f2;
}
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: #292a2e;
	color: #f8f6f2;
}
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
	background: transparent;
	color: #292a2e;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	background: #292a2e;
	color: #f8f6f2;
	padding: 16px 24px;
	width: 100%;
	margin-top: 14px;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
	background: transparent;
	color: #292a2e;
}
.woocommerce-cart .actions .coupon {
	display: inline-flex;
	gap: 10px;
}
.woocommerce-cart .actions .coupon input {
	border: 1px solid var(--line);
	background: transparent;
	padding: 10px 12px;
	font-size: 12px;
}
.woocommerce .cart_totals .button {
	width: 100%;
}
.woocommerce .shop_table .order-total .amount {
	font-weight: 600;
}

/* Checkout. */
.woocommerce-checkout .woocommerce {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 5vw 100px;
}
.woocommerce-checkout h3 {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	margin: 34px 0 16px;
}
.woocommerce-checkout label {
	font-size: 11px;
	margin: 16px 0 6px;
	display: block;
}
.woocommerce-checkout input[type='text'],
.woocommerce-checkout input[type='email'],
.woocommerce-checkout input[type='tel'],
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--line);
	background: transparent;
	padding: 12px 14px;
	font: 13px var(--sans);
	color: inherit;
	border-radius: 0;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	outline: 2px solid hsl(var(--primary));
	outline-offset: 3px;
	border-color: hsl(var(--primary));
}
.woocommerce form .form-row {
	padding: 0;
	margin-bottom: 4px;
}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
	width: 48%;
}
.woocommerce form .form-row-first {
	float: left;
}
.woocommerce form .form-row-last {
	float: right;
}
.woocommerce form .form-row::after {
	content: '';
	display: table;
	clear: both;
}
#order_review {
	margin-top: 20px;
}
#order_review_heading {
	padding-top: 30px;
}
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-total {
	text-align: right;
}
.woocommerce-checkout .place-order .button {
	width: 100%;
	margin-top: 20px;
	padding: 16px;
}
.woocommerce-checkout .woocommerce-additional-fields {
	margin-top: 30px;
}
.woocommerce-checkout .woocommerce-checkout-payment {
	background: hsl(var(--muted));
	padding: 22px;
	margin-top: 24px;
}
.woocommerce-checkout .woocommerce-checkout-payment ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.woocommerce-checkout .wc_payment_method {
	padding: 8px 0;
	font-size: 12px;
}
.woocommerce-checkout .wc_payment_method label {
	margin: 0;
	font-size: 12px;
}
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-text {
	font-size: 11px;
	color: var(--quiet);
	line-height: 1.7;
}
.woocommerce form .form-row.woocommerce-invalid label,
.woocommerce form .form-row.woocommerce-invalid .select2-container {
	color: #a44436;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text {
	border-color: #a44436;
}

/* Order received / thank you. */
.woocommerce-order {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 5vw 100px;
}
.woocommerce-order h2,
.woocommerce-order h3 {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	margin: 34px 0 14px;
}
.woocommerce-order-overview {
	list-style: none;
	padding: 0;
	border: 1px solid var(--line);
	padding: 18px 22px;
	font-size: 12px;
}
.woocommerce-order-overview li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
}
.woocommerce-order-details table.shop_table td {
	font-size: 12px;
}
.woocommerce-customer-details address {
	border: 1px solid var(--line);
	padding: 18px 22px;
	font-style: normal;
	font-size: 12px;
	line-height: 1.8;
}

/* Account. */
.woocommerce-account .woocommerce {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 5vw 100px;
}
.woocommerce-MyAccount-navigation {
	margin-bottom: 30px;
}
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	border-bottom: 1px solid var(--line);
}
.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 16px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-decoration: none;
	color: var(--quiet);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.woocommerce-MyAccount-navigation li.is-active a {
	color: var(--ink);
	border-bottom-color: var(--ink);
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	margin: 30px 0 14px;
}
.woocommerce-MyAccount-content .woocommerce-orders-table {
	font-size: 12px;
}
.woocommerce-orders-table thead th {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--quiet);
}
.woocommerce-MyAccount-content form .form-row label {
	font-size: 11px;
}

/* Select2 (checkout fields) restyle. */
.woocommerce .select2-container .select2-selection--single {
	border: 1px solid var(--line);
	border-radius: 0;
	height: auto;
	padding: 10px 12px;
	background: transparent;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.5;
	font-size: 13px;
	color: var(--ink);
}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	top: 12px;
}

/* Quantity controls on the cart page (already styled above). */

/* Fragmented bag drawer keeps its design padding. */
.widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: hidden;
}

/* WooCommerce form rows inside the bag drawer stay compact. */
.bag-line .woocommerce-mini-cart-item__remove {
	display: none;
}

/* ============================================================ responsiveness */

@media (max-width: 900px) {
	.faq-layout,
	.policy-page {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.faq-layout > nav,
	.policy-index {
		position: static;
		display: flex;
		flex-wrap: wrap;
		gap: 14px;
		overflow-x: auto;
	}
	.fit-notes {
		grid-template-columns: 1fr;
	}
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last {
		width: 100%;
		float: none;
	}
}

/* ===================================================== on-media buttons
   The WooCommerce glue above styles every a.button as a transparent,
   ink-outlined ghost (background: transparent; color: #292a2e). That rule
   out-ranks .button-on-media, so the hero CTA "Shop New In" lost its
   on-media treatment and rendered dark-on-dark against the campaign photo.
   Restore the tokenised on-media look (light fill, dark ink) with enough
   specificity to keep it over the glue, in the rest and hover states. */
.on-media .button-on-media,
a.button.button-on-media,
button.button.button-on-media {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-color: hsl(var(--primary));
}
.on-media .button-on-media:hover,
a.button.button-on-media:hover,
button.button.button-on-media:hover {
	background: hsl(var(--primary) / 0.9);
	color: hsl(var(--primary-foreground));
	border-color: hsl(var(--primary));
}

/* ===================================================== account: sign in / register
   Logged-out WooCommerce renders #customer_login with .u-column1 / .u-column2.
   Login sits on the left, Register on the right: two columns, no frame, labels
   above the fields, pill outline buttons. */

.woocommerce-account .page-body {
	max-width: 1060px;
}

.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 40px;
	row-gap: 56px;
	align-items: start;
	border: 0;
	padding: 0;
	max-width: none;
	margin: 0;
}

.woocommerce-account #customer_login > [class*='u-column'] {
	padding: 0;
	border: 0;
	min-width: 0;
}

.woocommerce-account #customer_login h2 {
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 28px;
	line-height: 1.2;
}

.woocommerce-account #customer_login form.woocommerce-form {
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-account #customer_login .woocommerce-form-row {
	margin: 0 0 26px;
}

.woocommerce-account #customer_login label {
	display: block;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.4;
	color: var(--quiet);
	margin: 0 0 7px;
}

.woocommerce-account #customer_login .required {
	color: #c8553d;
	font-weight: 400;
}

.woocommerce-account #customer_login .input-text {
	width: 100%;
	box-sizing: border-box;
	height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: #fff;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 14px;
	line-height: 1.4;
	box-shadow: none;
}

.woocommerce-account #customer_login .input-text:focus {
	outline: none;
	border-color: var(--ink);
}

/* Reveal-password toggle */
.woocommerce-account #customer_login .password-input {
	display: block;
	position: relative;
}
.woocommerce-account #customer_login .password-input .input-text {
	padding-right: 44px;
}
.woocommerce-account #customer_login .show-password-input {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-indent: -9999px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.4;
	transition: opacity 0.2s ease;
}
.woocommerce-account #customer_login .show-password-input::after {
	content: "";
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324262d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.6 12S5.6 4.9 12 4.9 22.4 12 22.4 12 18.4 19.1 12 19.1 1.6 12 1.6 12Z'/%3E%3Ccircle cx='12' cy='12' r='3.1'/%3E%3C/svg%3E");
}
.woocommerce-account #customer_login .show-password-input:hover,
.woocommerce-account #customer_login .show-password-input:focus-visible {
	opacity: 0.85;
}

/* Login: "Remember me" on the left, button on the right, one row */
.woocommerce-account #customer_login .woocommerce-form-login .form-row:not(.woocommerce-form-row) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 30px 0 0;
}
.woocommerce-account #customer_login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--quiet);
	cursor: pointer;
}
.woocommerce-account #customer_login .woocommerce-form__input-checkbox {
	width: 14px;
	height: 14px;
	margin: 0;
	border: 1px solid var(--line);
	background: #fff;
	accent-color: #292a2e;
}

.woocommerce-account #customer_login .lost_password {
	margin: 26px 0 0;
	font-size: 14px;
}
.woocommerce-account #customer_login .lost_password a {
	color: var(--ink);
	text-decoration: none;
}
.woocommerce-account #customer_login .lost_password a:hover {
	text-decoration: underline;
}

/* Register: privacy note, then the button aligned right */
.woocommerce-account #customer_login .woocommerce-privacy-policy-text {
	margin: 0 0 26px;
}
.woocommerce-account #customer_login .woocommerce-privacy-policy-text,
.woocommerce-account #customer_login .woocommerce-privacy-policy-text p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--quiet);
	margin: 0;
}
.woocommerce-account #customer_login .woocommerce-privacy-policy-text a {
	color: var(--ink);
	text-decoration: underline;
}
.woocommerce-account #customer_login .woocommerce-form-register .form-row:last-of-type {
	display: flex;
	justify-content: flex-end;
	margin: 0;
}

/* Pill outline buttons */
.woocommerce-account #customer_login .woocommerce-form-login__submit,
.woocommerce-account #customer_login .woocommerce-form-register__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border: 1px solid #292a2e;
	border-radius: 999px;
	background: transparent;
	color: #292a2e;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 500;
	font-style: normal;
	line-height: 1;
	letter-spacing: 0;
	text-transform: capitalize;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.woocommerce-account #customer_login .woocommerce-form-login__submit:hover,
.woocommerce-account #customer_login .woocommerce-form-register__submit:hover,
.woocommerce-account #customer_login .woocommerce-form-login__submit:focus-visible,
.woocommerce-account #customer_login .woocommerce-form-register__submit:focus-visible {
	background: #292a2e;
	color: #fff;
}

.woocommerce-account #customer_login .woocommerce-form-login__submit:focus-visible,
.woocommerce-account #customer_login .woocommerce-form-register__submit:focus-visible,
.woocommerce-account #customer_login .input-text:focus-visible,
.woocommerce-account #customer_login .show-password-input:focus-visible {
	outline: 2px solid #292a2e;
	outline-offset: 2px;
}

.woocommerce-account #customer_login wc-order-attribution-inputs {
	display: none;
}

@media (max-width: 720px) {
	.woocommerce-account #customer_login {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce-account #customer_login .show-password-input,
	.woocommerce-account #customer_login .woocommerce-form-login__submit,
	.woocommerce-account #customer_login .woocommerce-form-register__submit {
		transition: none;
	}
}
