/**
 * Nifty One — WooCommerce styles.
 * Product cards, single product, shop archive, cart, checkout, order confirmation and account.
 */

/* ==========================================================================
   Shared
   ========================================================================== */

.is-icon-lock { --nifty-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }

.woocommerce-breadcrumb,
.wp-block-woocommerce-breadcrumbs {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.woocommerce-breadcrumb a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--wp--preset--color--forest);
	text-decoration: underline;
}

.nifty-one-crumb-sep {
	margin: 0 0.5rem;
	opacity: 0.5;
}

.nifty-one-section-head h2,
.nifty-one-section-head h1,
.nifty-one-section-head p {
	margin: 0;
}

.nifty-one-section-head a {
	font-weight: 600;
	text-decoration: none;
}

.nifty-one-section-head a:hover {
	text-decoration: underline;
}

/* Every WooCommerce button: pill shaped, brand green. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	min-height: 3rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	padding: 0.8125rem 1.5rem;
	transition: background-color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--wp--preset--color--forest-dark);
	color: var(--wp--preset--color--white);
}

.woocommerce button.button:disabled,
.woocommerce button.button.disabled {
	opacity: 0.5;
}

/* Form fields. */
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce-page form .input-text,
.woocommerce .quantity .qty,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-form .wc-block-components-text-input input {
	border: 1px solid #d6d3cb !important;
	border-radius: 10px !important;
	background-color: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
}

.woocommerce form .input-text,
.woocommerce form select {
	min-height: 3rem;
	padding: 0.75rem 1rem;
}

.woocommerce form .input-text:focus,
.wc-block-components-text-input input:focus {
	border-color: var(--wp--preset--color--forest) !important;
	box-shadow: 0 0 0 3px rgba(14, 106, 85, 0.15) !important;
	outline: 0;
}

/* Notices. */
.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 12px;
	font-size: var(--wp--preset--font-size--small);
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--wp--preset--color--forest);
	background: var(--wp--preset--color--white);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--wp--preset--color--forest);
}

.wc-block-components-notice-banner.is-success {
	border-color: var(--wp--preset--color--forest);
	background-color: var(--wp--preset--color--mint);
}

.wc-block-components-notice-banner.is-success > svg {
	background-color: var(--wp--preset--color--forest);
}

.star-rating span::before,
.woocommerce p.stars a,
.wc-block-components-product-rating__stars span::before {
	color: var(--wp--preset--color--forest);
}

/* ==========================================================================
   Product cards (shop, related, cross-sells)
   ========================================================================== */

.nifty-one-products .wc-block-product-template {
	gap: 2rem 1.25rem;
}

.nifty-one-products .wc-block-product {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nifty-one-products .wc-block-components-product-image {
	margin-bottom: 1rem;
	overflow: hidden;
	border-radius: 16px;
	background: #f3f2ec;
}

.nifty-one-products .wc-block-components-product-image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.nifty-one-products .wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.04);
}

.nifty-one-products .nifty-one-card-row {
	gap: 1rem;
	margin: 0;
}

.nifty-one-products .nifty-one-card-row .wp-block-post-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.25;
}

.nifty-one-products .nifty-one-card-row .wp-block-post-title a:hover {
	color: var(--wp--preset--color--forest);
}

.nifty-one-products .nifty-one-card-row .wc-block-components-product-price {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	white-space: nowrap;
}

.nifty-one-products .nifty-one-card-excerpt {
	margin: 0.25rem 0 1rem;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.nifty-one-products .nifty-one-card-excerpt p {
	margin: 0;
}

.nifty-one-products .nifty-one-card-button {
	margin-top: auto;
}

.nifty-one-products .nifty-one-card-button .wp-block-button__link {
	width: 100%;
	border: 1.5px solid var(--wp--preset--color--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	padding: 0.7rem 1.25rem;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nifty-one-products .nifty-one-card-button .wp-block-button__link:hover,
.nifty-one-products .nifty-one-card-button .wp-block-button__link.added {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.nifty-one-products .nifty-one-card-button .added_to_cart {
	display: block;
	margin-top: 0.5rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	text-align: center;
}

.wc-block-components-product-sale-badge {
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--citrus);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.25rem 0.75rem;
	text-transform: uppercase;
}

/* ==========================================================================
   Shop archive
   ========================================================================== */

.nifty-one-shop-hero .wp-block-query-title {
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: 0.75rem;
}

.nifty-one-shop-hero .wp-block-term-description p {
	margin: 0;
	color: #3f4542;
	font-size: var(--wp--preset--font-size--large);
}

.nifty-one-shop-search {
	max-width: 520px;
	margin-top: 1rem;
}

.nifty-one-shop-search .wp-block-search__input {
	border: 1px solid #d6d3cb;
	border-radius: 999px 0 0 999px;
	background: var(--wp--preset--color--white);
	padding: 0.75rem 1.25rem;
}

.nifty-one-shop-search .wp-block-search__button {
	margin: 0;
	border-radius: 0 999px 999px 0;
	padding: 0 1.25rem;
}

.nifty-one-shop-toolbar {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-bottom: 1rem;
}

.nifty-one-shop-toolbar .woocommerce-result-count {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.nifty-one-shop-toolbar .woocommerce-ordering {
	margin: 0;
}

.nifty-one-shop-toolbar .woocommerce-ordering select {
	min-height: 2.75rem;
	border: 1px solid #d6d3cb;
	border-radius: 999px;
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	padding: 0.5rem 2.5rem 0.5rem 1rem;
}

.nifty-one-pagination {
	margin-top: var(--wp--preset--spacing--60);
	gap: 0.375rem;
}

.nifty-one-pagination .page-numbers,
.nifty-one-pagination a {
	display: inline-flex;
	min-width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: var(--wp--preset--color--ink);
	padding: 0 0.875rem;
	text-decoration: none;
}

.nifty-one-pagination .page-numbers.current {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.nifty-one-pagination a:hover {
	background: var(--wp--preset--color--sand);
}

.nifty-one-empty {
	padding: var(--wp--preset--spacing--60) 0;
}

/* ==========================================================================
   Single product
   ========================================================================== */

.nifty-one-pdp .wp-block-woocommerce-breadcrumbs {
	margin-top: 0;
}

.nifty-one-pdp-gallery .wp-block-woocommerce-product-image-gallery {
	max-width: none;
}

.nifty-one-pdp-gallery .woocommerce-product-gallery {
	position: relative;
	width: 100% !important;
	float: none !important;
	overflow: hidden;
	border-radius: 24px;
	background: #f3f2ec;
}

.nifty-one-pdp-gallery .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
}

.nifty-one-pdp-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	z-index: 5;
	top: 1rem;
	right: 1rem;
	display: flex;
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--soft);
}

.nifty-one-pdp-gallery .flex-control-thumbs {
	display: flex;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	padding: 0 0.75rem 0.75rem;
	list-style: none;
}

.nifty-one-pdp-gallery .flex-control-thumbs li {
	width: 5rem;
}

.nifty-one-pdp-gallery .flex-control-thumbs img {
	border-radius: 10px;
	cursor: pointer;
	opacity: 0.6;
}

.nifty-one-pdp-gallery .flex-control-thumbs img.flex-active {
	opacity: 1;
	outline: 2px solid var(--wp--preset--color--forest);
}

.nifty-one-pdp-summary > * {
	margin-top: 0;
	margin-bottom: 0;
}

.nifty-one-pdp-summary > * + * {
	margin-top: 1.25rem;
}

.nifty-one-pdp-summary .is-style-eyebrow + .nifty-one-pdp-title {
	margin-top: 0.25rem;
}

/* Same size as h2 (the "Extra large" preset), so it follows Styles → Typography. */
.nifty-one-pdp-title {
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.nifty-one-pdp-summary .wc-block-components-product-rating {
	margin-top: 0.75rem;
}

.nifty-one-pdp-price,
.nifty-one-pdp-price .wc-block-components-product-price {
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large) !important;
	font-weight: 700;
}

.nifty-one-pdp-price del {
	color: var(--wp--preset--color--muted);
	font-size: 0.7em;
	font-weight: 500;
}

.nifty-one-pdp-lead,
.nifty-one-pdp-lead p {
	margin: 0;
	color: #3f4542;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.55;
}

/* Product facts: a quiet two-column list on the page, hairlines between rows. */
.nifty-one-product-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 1.5rem 0 0;
	column-gap: 1.5rem;
}

.nifty-one-facts__item {
	border-top: 1px solid var(--wp--preset--color--line);
	padding: 0.75rem 0;
}

.nifty-one-product-facts dt {
	margin-bottom: 0.125rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
}

.nifty-one-product-facts dd {
	margin: 0;
	font-weight: 600;
	line-height: 1.35;
}

.nifty-one-pdp-cart form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0;
	gap: 0.75rem;
}

.nifty-one-pdp-cart form.cart::before,
.nifty-one-pdp-cart form.cart::after {
	display: none;
}

.nifty-one-pdp-cart .quantity {
	display: inline-flex;
	align-items: center;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid #d6d3cb;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
}

.nifty-one-pdp-cart .quantity .qty {
	width: 3rem;
	min-height: 3.25rem;
	border: 0 !important;
	background: transparent !important;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
}

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

.nifty-one-pdp-cart .quantity button,
.nifty-one-pdp-cart .wc-block-components-quantity-selector__button {
	width: 2.75rem;
	min-width: 2.75rem;
	height: 3.25rem;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	font-size: 1.25rem;
	opacity: 1;
}

.nifty-one-pdp-cart .quantity button:hover {
	background: var(--wp--preset--color--sand);
}

.nifty-one-pdp-cart .single_add_to_cart_button {
	flex: 1 1 12rem;
	min-height: 3.25rem;
	font-size: 1rem !important;
}

.nifty-one-pdp-trust {
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 1rem 0;
}

.nifty-one-pdp-trust p {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}

.nifty-one-pdp-trust p + p {
	margin-top: 0.625rem;
}

.nifty-one-pdp-trust .nifty-one-icon::before {
	color: var(--wp--preset--color--forest);
}

.nifty-one-pdp-meta {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.nifty-one-pdp-meta a {
	color: inherit;
}

/* Product sections (description, details, reviews) stacked with light rules between. */
.nifty-one-pdp-tabs {
	margin-top: var(--wp--preset--spacing--70) !important;
}

/* No sections apply to this product: leave no empty gap. */
.nifty-one-pdp-tabs:not(:has(.nifty-one-product-section)) {
	display: none;
}

/* Sections span the full product-page width, matching the gallery and buy box above. */
.nifty-one-product-section {
	max-width: none;
	margin: 0;
	color: #3f4542;
	font-size: var(--wp--preset--font-size--medium);
	padding: var(--wp--preset--spacing--60) 0 0;
}

.nifty-one-product-section:first-child {
	padding-top: 0;
}

.nifty-one-product-section:last-child {
	padding-bottom: 0;
}

.nifty-one-product-section > :first-child {
	margin-top: 0;
}

.nifty-one-product-section > :last-child {
	margin-bottom: 0;
}

.nifty-one-product-section > h2:empty {
	display: none;
}

/* Headings inside the description come from the author's content. */
.nifty-one-product-section--description :is(h2, h3, h4) {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	color: var(--wp--preset--color--ink);
}

.nifty-one-product-section--description img {
	height: auto;
	border-radius: 16px;
}

/* Section headings: Details, Reviews and any plugin-added section. */
.nifty-one-product-section > h2,
.nifty-one-product-section #reviews .woocommerce-Reviews-title {
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.nifty-one-pdp-tabs table.shop_attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.nifty-one-pdp-tabs table.shop_attributes th,
.nifty-one-pdp-tabs table.shop_attributes td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: transparent !important;
	font-style: normal;
	padding: 0.875rem 0;
	text-align: left;
}

.nifty-one-pdp-tabs table.shop_attributes th {
	width: 35%;
	color: var(--wp--preset--color--muted);
	font-weight: 600;
}

.nifty-one-pdp-tabs table.shop_attributes td p {
	margin: 0;
}

/* Reviews. */
.nifty-one-pdp-tabs #reply-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
}

.nifty-one-pdp-tabs #reviews .woocommerce-noreviews {
	color: var(--wp--preset--color--muted);
}

.nifty-one-pdp-tabs #review_form_wrapper {
	max-width: 760px;
	margin-top: 1.5rem;
}

.nifty-one-pdp-tabs #review_form label {
	display: block;
	margin-bottom: 0.375rem;
	font-weight: 600;
}

.nifty-one-pdp-tabs #review_form textarea,
.nifty-one-pdp-tabs #review_form input[type="text"],
.nifty-one-pdp-tabs #review_form input[type="email"] {
	width: 100%;
	border: 1px solid #d6d3cb;
	border-radius: 10px;
	background: var(--wp--preset--color--white);
	font: inherit;
	padding: 0.75rem 1rem;
}

.nifty-one-pdp-tabs #review_form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

.nifty-one-pdp-tabs #reviews ol.commentlist {
	padding: 0;
}

.nifty-one-pdp-tabs #reviews .comment_container {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 1.25rem 0;
}

.nifty-one-pdp-tabs #reviews .comment_container img.avatar {
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--sand);
	padding: 0;
}

/* Benefits: three columns, each under a rule — no panel. */
.nifty-one-pdp-benefits {
	gap: var(--wp--preset--spacing--40);
}

.nifty-one-pdp-benefits > .wp-block-group {
	border-top: 1px solid var(--wp--preset--color--ink);
	padding-top: 1.25rem;
}

.nifty-one-pdp-benefits h3 {
	margin: 0 0 0.375rem;
}

.nifty-one-pdp-benefits p {
	margin: 0;
	color: #3f4542;
}

.nifty-one-pdp .nifty-one-section-head + .nifty-one-products {
	margin-top: var(--wp--preset--spacing--40);
}

@media (min-width: 782px) {
	.nifty-one-pdp-gallery {
		position: sticky;
		top: 7.5rem;
		align-self: flex-start;
	}
}

@media (max-width: 781px) {
	.nifty-one-pdp-benefits {
		grid-template-columns: 1fr !important;
	}
}

/* ==========================================================================
   Cart
   ========================================================================== */

.nifty-one-cart-page .nifty-one-section-head {
	margin-bottom: var(--wp--preset--spacing--50);
}

.wc-block-cart,
.wc-block-checkout {
	font-family: var(--wp--preset--font-family--body);
}

.wc-block-cart .wc-block-cart-items {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.wc-block-cart .wc-block-cart-items th,
.wc-block-cart .wc-block-cart-items__header {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
}

.wc-block-cart .wc-block-cart-items td {
	border-top-color: var(--wp--preset--color--line);
}

.wc-block-cart-item__image img {
	border-radius: 12px;
	background: #f3f2ec;
}

.wc-block-components-product-name {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	text-decoration: none;
}

.wc-block-components-quantity-selector {
	border-radius: 999px !important;
}

.wc-block-components-quantity-selector::after {
	border-color: #d6d3cb !important;
	border-radius: 999px !important;
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	border-top: 1px solid var(--wp--preset--color--ink);
	padding-top: 0.5rem;
}

.wc-block-cart__totals-title {
	font-family: var(--wp--preset--font-family--display) !important;
	font-size: var(--wp--preset--font-size--large) !important;
	font-weight: 700 !important;
	text-transform: none !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	width: 100%;
	min-height: 3.5rem !important;
	font-size: 1rem !important;
}

.wp-block-woocommerce-empty-cart-block {
	padding: var(--wp--preset--spacing--50) 0;
	text-align: center;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.wp-block-woocommerce-cart .wp-block-woocommerce-product-collection {
	margin-top: var(--wp--preset--spacing--60);
}

.wp-block-woocommerce-cart .wp-block-woocommerce-product-collection h2 {
	font-size: var(--wp--preset--font-size--x-large);
}

.wp-block-woocommerce-cart .wc-block-components-product-image,
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-image {
	overflow: hidden;
	border-radius: 16px;
	background: #f3f2ec;
}

/* ==========================================================================
   Checkout
   ========================================================================== */

.nifty-one-checkout-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.nifty-one-checkout-header p {
	margin: 0;
}

.nifty-one-checkout-header a {
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.nifty-one-secure {
	color: var(--wp--preset--color--forest);
	font-weight: 600;
}

.nifty-one-checkout-footer {
	border-top: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--muted);
}

.nifty-one-checkout-footer p {
	margin: 0;
}

.nifty-one-checkout-links a {
	color: var(--wp--preset--color--muted);
}

.nifty-one-checkout-links a + a {
	margin-left: 1rem;
}

.nifty-one-checkout-page .wp-block-post-title {
	margin-bottom: var(--wp--preset--spacing--40);
}

.wc-block-components-checkout-step__title,
.wc-block-components-title.wc-block-components-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
}

.wc-block-components-checkout-step__description {
	color: var(--wp--preset--color--muted);
}

.wc-block-checkout__form .wc-block-components-checkout-step {
	margin-bottom: 2rem;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--forest);
}

.wc-block-components-radio-control__input:checked,
.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
	border-color: var(--wp--preset--color--forest);
	background: var(--wp--preset--color--forest);
}

.wc-block-checkout__terms {
	font-size: var(--wp--preset--font-size--small);
}

/* ==========================================================================
   Order confirmation
   ========================================================================== */

.nifty-one-order-confirmation .wc-block-order-confirmation-status {
	margin-top: 0;
}

.nifty-one-order-confirmation .wc-block-order-confirmation-status h1 {
	font-size: var(--wp--preset--font-size--xx-large);
}

.nifty-one-order-confirmation .wc-block-order-confirmation-summary-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 0;
	border-top: 1px solid var(--wp--preset--color--ink);
	column-gap: 1.5rem;
	padding: 0;
	list-style: none;
}

.nifty-one-order-confirmation .wc-block-order-confirmation-summary-list-item {
	margin: 0;
	border: 0;
	padding: 1rem 0;
}

.nifty-one-order-confirmation .wc-block-order-confirmation-summary-list-item__key {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
}

.nifty-one-order-confirmation .wc-block-order-confirmation-address-wrapper address {
	border-top: 1px solid var(--wp--preset--color--line);
	font-style: normal;
	padding-top: 1rem;
}

.nifty-one-order-confirmation .nifty-one-help-strip p {
	margin: 0;
}

/* ==========================================================================
   My account
   ========================================================================== */

.nifty-one-account-page .is-style-eyebrow {
	margin-bottom: 0.25rem;
}

.nifty-one-account-page .wp-block-post-title {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--50);
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
	align-items: start;
	gap: var(--wp--preset--spacing--60);
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	display: none;
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	width: auto !important;
	float: none !important;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	border-left: 1px solid var(--wp--preset--color--line);
	padding: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	margin-left: -1px;
	border-left: 2px solid transparent;
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	padding: 0.5rem 0 0.5rem 1rem;
	text-decoration: none;
}

.woocommerce-MyAccount-navigation li a:hover {
	color: var(--wp--preset--color--ink);
}

.woocommerce-MyAccount-navigation li.is-active a {
	border-left-color: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.woocommerce-MyAccount-content > p:first-child {
	font-size: var(--wp--preset--font-size--large);
}

.woocommerce-MyAccount-content table.shop_table,
.woocommerce-account table.shop_table {
	border: 0;
	border-top: 1px solid var(--wp--preset--color--ink);
	border-radius: 0;
	border-collapse: collapse;
}

.woocommerce-account table.shop_table th {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.woocommerce-account table.shop_table td,
.woocommerce-account table.shop_table th {
	border-top-color: var(--wp--preset--color--line);
	padding: 0.875rem 0.75rem 0.875rem 0;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: 1rem;
}

.woocommerce-account address {
	font-style: normal;
}

/* Logged-out: login and register side by side. */
.woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
}

.woocommerce-account .u-columns.col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50);
}

.woocommerce-account .u-columns.col2-set::before,
.woocommerce-account .u-columns.col2-set::after {
	display: none;
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2 {
	width: auto;
	float: none;
}

.woocommerce-account main h2 {
	font-size: var(--wp--preset--font-size--x-large);
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
	margin: 0;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.woocommerce form.login label,
.woocommerce form.register label,
.woocommerce form.lost_reset_password label {
	font-weight: 600;
}

.woocommerce form .form-row {
	margin-bottom: 1rem;
	padding: 0;
}

.woocommerce form.login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	margin-right: 1rem;
	gap: 0.5rem;
	font-weight: 400;
}

.woocommerce form .lost_password a {
	font-size: var(--wp--preset--font-size--small);
}

@media (max-width: 781px) {
	.woocommerce-account .woocommerce,
	.woocommerce-account .u-columns.col2-set {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--40);
	}

	.woocommerce-MyAccount-navigation ul {
		display: flex;
		overflow-x: auto;
		border-bottom: 1px solid var(--wp--preset--color--line);
		border-left: 0;
		gap: 1.25rem;
		white-space: nowrap;
	}

	.woocommerce-MyAccount-navigation li a {
		margin: 0 0 -1px;
		border-bottom: 2px solid transparent;
		border-left: 0;
		padding: 0.5rem 0;
	}

	.woocommerce-MyAccount-navigation li.is-active a {
		border-bottom-color: var(--wp--preset--color--forest);
	}
}

/* ==========================================================================
   Mini cart drawer
   ========================================================================== */

.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
	border-top: 1px solid var(--wp--preset--color--line);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button.outlined {
	border: 1.5px solid var(--wp--preset--color--ink);
	background: transparent;
	color: var(--wp--preset--color--ink);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button.outlined:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.wc-block-mini-cart__drawer .wc-block-components-product-image img,
.wc-block-mini-cart__drawer .wc-block-cart-item__image img {
	border-radius: 10px;
	background: #f3f2ec;
}

/* Login-only view: keep the form a comfortable width. */
.woocommerce-account:not(.logged-in) .woocommerce > h2,
.woocommerce-account:not(.logged-in) .woocommerce > form.login {
	max-width: 520px;
}

.woocommerce form.login .woocommerce-form-login__rememberme {
	display: flex !important;
	align-items: center;
	margin: 0 0 1rem;
	gap: 0.5rem;
}

.woocommerce form.login .woocommerce-form-login__submit {
	min-width: 10rem;
}

.woocommerce form.login .woocommerce-form-login__submit {
	margin: 0 !important;
}

.nifty-one-pdp-cart .quantity {
	height: 3.25rem;
}

.nifty-one-pdp-cart .quantity button,
.nifty-one-pdp-cart .wc-block-components-quantity-selector__button {
	display: inline-flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

.nifty-one-pdp-cart .quantity .qty {
	height: 100%;
	min-height: 0;
	padding: 0 !important;
	box-sizing: border-box;
	line-height: 1;
}

.nifty-one-product-section table.shop_attributes {
	margin: 0 !important;
}

.nifty-one-pdp-tabs #review_form textarea,
.nifty-one-pdp-tabs #review_form input[type="text"],
.nifty-one-pdp-tabs #review_form input[type="email"] {
	box-sizing: border-box;
	max-width: 100%;
}

.nifty-one-pdp-tabs #review_form .comment-form-author,
.nifty-one-pdp-tabs #review_form .comment-form-email {
	width: 100%;
	float: none;
}

.nifty-one-pdp-tabs #reviews #comments {
	float: none;
	width: auto;
}

.nifty-one-pdp-tabs #review_form_wrapper {
	float: none;
	width: auto;
}
