/* =============================================================
   Noria — WooCommerce pages in the 2b palette
   (category 1b/1f, product detail 1c, cart 1d)
   ============================================================= */

/* ---------- Divi containers on shop pages ---------- */
body.nr.woocommerce-page #main-content .container,
body.nr.woocommerce #main-content .container {
	width: auto;
	max-width: var(--nr-max);
	padding-left: var(--nr-gutter);
	padding-right: var(--nr-gutter);
	padding-top: 32px;
}
body.nr.woocommerce-page #main-content .container::before,
body.nr.woocommerce #main-content .container::before { display: none; }
body.nr #left-area { width: 100% !important; padding: 0 !important; float: none; }
body.nr #main-content { background: transparent; }
body.nr .woocommerce-breadcrumb, body.nr .nr-crumbs { font-size: 13px; color: var(--nr-muted); margin-bottom: 18px; }
body.nr .woocommerce-breadcrumb a, body.nr .nr-crumbs a { color: var(--nr-muted); text-decoration: none; }
body.nr .woocommerce-breadcrumb a:hover, body.nr .nr-crumbs a:hover { color: var(--nr-cognac); }

/* ---------- Category page ---------- */
.nr-shop { padding: 32px 0 80px; }
.nr-shop__head { margin-bottom: 28px; }
.nr-shop__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.nr-shop__title h1 {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px) !important;
	font-weight: 800;
	letter-spacing: var(--nr-tracking-tight);
}
.nr-shop__count { font-size: 14px; color: var(--nr-muted); }
.nr-shop__desc { color: var(--nr-body); max-width: 680px; margin-top: 10px; }
body.nr .woocommerce-ordering { margin: 0; float: none; }
body.nr .woocommerce-ordering select {
	appearance: none;
	-webkit-appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230A1630' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 1px solid var(--nr-line);
	border-radius: 999px;
	padding: 10px 38px 10px 16px;
	font: inherit;
	font-size: 14px;
	color: var(--nr-navy);
	cursor: pointer;
}
.nr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.nr-chip {
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--nr-line);
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	color: var(--nr-navy);
	text-decoration: none;
	transition: border-color .2s, background-color .2s, color .2s;
}
.nr-chip:hover { border-color: var(--nr-cognac); }
.nr-chip.is-active { background: var(--nr-navy); border-color: var(--nr-navy); color: #fff; }

/* ---------- Filter sidebar (1b) ---------- */
.nr-shop__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.nr-shop__results .nr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 1100px) { .nr-shop__results .nr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.nr-filters { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--nr-line-2) transparent; }
body.admin-bar .nr-filters { top: 162px; }
.nr-filters__top { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--nr-navy); font-size: 15px; }
.nr-filters__top a { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--nr-cognac); text-decoration: none; }
.nr-filters__close { display: none; margin-left: auto; background: none; border: 0; font-size: 18px; color: var(--nr-navy); cursor: pointer; }

.nr-facet { border-bottom: 1px solid var(--nr-line); padding-bottom: 22px; }
.nr-facet summary,
.nr-facet__title { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; color: var(--nr-navy); margin-bottom: 14px; cursor: pointer; list-style: none; }
.nr-facet summary::-webkit-details-marker { display: none; }
.nr-facet summary i { font-size: 11px; color: var(--nr-muted); }
.nr-facet:not([open]) summary { margin-bottom: 0; }
.nr-facet:not([open]) summary i::before { content: "\f067"; } /* plus */
.nr-facet ul { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.nr-facet li { padding: 0; }

.nr-check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--nr-body); text-decoration: none; }
.nr-check:hover .nr-check__label { color: var(--nr-navy); }
.nr-check__box { width: 16px; height: 16px; flex: none; border-radius: 4px; border: 1px solid var(--nr-line-2); background: #fff; position: relative; transition: background-color .15s, border-color .15s; }
.nr-check:hover .nr-check__box { border-color: var(--nr-navy); }
.nr-check.is-on .nr-check__box { background: var(--nr-navy); border-color: var(--nr-navy); }
.nr-check.is-on .nr-check__box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nr-check.is-on .nr-check__label { color: var(--nr-navy); font-weight: 500; }
.nr-check__count { margin-left: auto; color: var(--nr-faint); font-size: 12px; }
.nr-check.is-empty { opacity: .4; pointer-events: none; }

.nr-price-range { border-bottom: 0; }
.nr-range { position: relative; height: 16px; margin: 0 8px; }
.nr-range__track { position: absolute; left: -8px; right: -8px; top: 6px; height: 4px; background: var(--nr-line); border-radius: 4px; }
.nr-range__fill { position: absolute; top: 0; bottom: 0; background: var(--nr-navy); border-radius: 4px; }
.nr-range input[type="range"] {
	position: absolute;
	left: -8px;
	width: calc(100% + 16px);
	top: 0;
	height: 16px;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}
.nr-range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 99px;
	background: #fff;
	border: 2px solid var(--nr-navy);
	cursor: grab;
}
.nr-range input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 12px;
	height: 12px;
	border-radius: 99px;
	background: #fff;
	border: 2px solid var(--nr-navy);
	cursor: grab;
}
.nr-range input[type="range"]::-moz-range-track { background: none; }
.nr-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(10, 22, 48, .15); }
.nr-range__values { display: flex; justify-content: space-between; font-size: 13px; color: var(--nr-muted); margin-top: 14px; font-variant-numeric: tabular-nums; }

/* Results bar: mobile filter button + active pills */
.nr-shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.nr-shop__bar:empty { display: none; }
.nr-filters-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 99px;
	border: 1px solid var(--nr-navy);
	background: #fff;
	color: var(--nr-navy);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.nr-filters-toggle span { background: var(--nr-cognac); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
.nr-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nr-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--nr-cognac-soft); color: var(--nr-navy); font-size: 13px; font-weight: 500; text-decoration: none; }
.nr-pill i { font-size: 10px; color: var(--nr-cognac); }
.nr-pill:hover { background: #EAD3BF; }
.nr-pills__clear { font-size: 13px; color: var(--nr-cognac); text-decoration: none; margin-left: 4px; }
.nr-shop__bar:not(:has(.nr-pills)) { margin-bottom: 0; }

.nr-empty { padding: 56px 24px; text-align: center; background: #fff; border: 1px dashed var(--nr-line-2); border-radius: var(--nr-r-xl); }
.nr-empty p { font-size: 17px; color: var(--nr-navy); margin-bottom: 16px; }

@media (max-width: 980px) {
	.nr-shop__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.nr-shop__results .nr-grid { gap: 20px 12px; }
	.nr-shop__bar { margin-bottom: 20px !important; }
	.nr-filters-toggle { display: inline-flex; }
	.nr-filters {
		position: fixed;
		inset: 0 auto 0 0;
		top: 0 !important;
		width: min(340px, 88vw);
		max-height: none;
		z-index: 200;
		background: var(--nr-ivory-2);
		padding: 20px 20px 96px;
		box-shadow: 0 0 0 100vmax rgba(10, 22, 48, 0);
		transform: translateX(-100%);
		transition: transform .25s ease, box-shadow .25s ease;
	}
	.nr-filters.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(10, 22, 48, .45); }
	.nr-filters__close { display: block; }
	.nr-filters__top a { margin-left: 0; }
}

body.nr .woocommerce-pagination { margin-top: 40px; text-align: center; }
body.nr .woocommerce-pagination ul.page-numbers { border: 0 !important; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 100%; }
body.nr .woocommerce-pagination ul.page-numbers li { border: 0 !important; }
body.nr .woocommerce-pagination .page-numbers a,
body.nr .woocommerce-pagination .page-numbers span {
	min-width: 40px;
	height: 40px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 99px;
	border: 1px solid var(--nr-line) !important;
	background: #fff;
	color: var(--nr-navy);
}
body.nr .woocommerce-pagination .page-numbers .current { background: var(--nr-navy) !important; color: #fff !important; }

/* ---------- Buttons (Woo + Divi) ---------- */
body.nr .woocommerce a.button,
body.nr .woocommerce button.button,
body.nr .woocommerce input.button,
body.nr .woocommerce #respond input#submit,
body.nr.woocommerce-page a.button,
body.nr.woocommerce-page button.button,
body.nr.woocommerce-page input.button,
body.nr .wc-block-components-button:not(.is-link),
body.nr .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.nr .wp-block-button__link.add_to_cart_button,
body.nr .wp-element-button {
	background: var(--nr-navy) !important;
	color: #fff !important;
	border: 1px solid var(--nr-navy) !important;
	border-radius: var(--nr-r-md) !important;
	font-family: var(--nr-font-sans) !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	line-height: 1.2 !important;
	padding: 15px 26px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	transition: background-color .2s, transform .2s;
}
body.nr .woocommerce a.button:hover,
body.nr .woocommerce button.button:hover,
body.nr.woocommerce-page button.button:hover,
body.nr .wc-block-components-button:not(.is-link):hover { background: var(--nr-navy-2) !important; transform: translateY(-1px); }
body.nr .woocommerce a.button::after,
body.nr .woocommerce button.button::after,
body.nr.woocommerce-page a.button::after,
body.nr.woocommerce-page button.button::after { display: none !important; }
body.nr .woocommerce button.button:disabled,
body.nr .woocommerce button.button.disabled { opacity: .5 !important; }

/* ---------- Product detail (1c) ---------- */
body.nr.single-product #main-content .container { padding-top: 24px; padding-bottom: 80px; }
/* Divi wraps gallery + summary in .clearfix; that wrapper becomes the two-column grid. */
body.nr.single-product div.product > .clearfix { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; position: relative; }
body.nr.single-product div.product > .clearfix::before,
body.nr.single-product div.product > .clearfix::after { display: none; }
body.nr.single-product div.product div.images,
body.nr.single-product div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
body.nr.single-product div.product span.onsale {
	position: absolute;
	top: 16px !important;
	left: 16px !important;
	z-index: 2;
	margin: 0 !important;
	min-height: 0;
	min-width: 0;
	background: var(--nr-cognac) !important;
	color: #fff !important;
	border-radius: 99px !important;
	padding: 5px 12px !important;
	font-size: 12px !important;
	font-weight: 600;
	line-height: 1.4 !important;
}
body.nr.single-product div.product div.images .woocommerce-product-gallery__wrapper,
body.nr.single-product div.product div.images .flex-viewport {
	background: #fff;
	border: 1px solid var(--nr-line);
	border-radius: var(--nr-r-xl);
	overflow: hidden;
}
body.nr.single-product div.product div.images img { object-fit: contain; aspect-ratio: 1 / 1; padding: 24px; background: #fff; }
body.nr.single-product div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px !important; }
body.nr.single-product div.product div.images .flex-control-thumbs li { width: 80px !important; float: none !important; }
body.nr.single-product div.product div.images .flex-control-thumbs img { padding: 6px; border: 1px solid var(--nr-line); border-radius: var(--nr-r-md); opacity: .6; }
body.nr.single-product div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--nr-cognac); }

body.nr.single-product .product_title {
	font-size: clamp(30px, 3.4vw, 42px) !important;
	font-weight: 800;
	letter-spacing: var(--nr-tracking-tight);
	margin-bottom: 6px;
}
.nr-pdp-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; font-size: 14px; color: var(--nr-muted); }
.nr-pdp-rating { color: var(--nr-cognac); font-weight: 600; }
body.nr.single-product div.product p.price,
body.nr.single-product div.product span.price { color: var(--nr-navy) !important; font-size: 30px !important; font-weight: 700; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
body.nr.single-product div.product p.price del { color: var(--nr-faint); font-size: 18px; font-weight: 400; opacity: 1; order: 2; }
body.nr.single-product div.product p.price ins { text-decoration: none; order: 1; }
.nr-pdp-emi { font-size: 14px; color: var(--nr-muted); margin: 4px 0 22px; padding: 0; }
.nr-pdp-emi b { color: var(--nr-cognac); }
body.nr.single-product .woocommerce-product-details__short-description { color: var(--nr-body); margin-bottom: 22px; }
body.nr.single-product form.cart { display: flex; gap: 12px; align-items: stretch; margin: 8px 0 26px !important; flex-wrap: wrap; }
body.nr.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; }
body.nr .quantity input.qty {
	height: 100%;
	min-height: 52px;
	width: 84px;
	border: 1px solid var(--nr-line-2) !important;
	border-radius: var(--nr-r-md);
	background: #fff !important;
	color: var(--nr-navy) !important;
	font-size: 16px !important;
	font-weight: 600;
}
/* Fabric & size picker (1c) */
body.nr.single-product form.cart .nr-options { flex-basis: 100%; display: flex; flex-direction: column; gap: 22px; margin-bottom: 6px; }
.nr-opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.nr-opt__label { font-size: 14px; font-weight: 600; color: var(--nr-navy); margin-bottom: 12px; padding: 0; }
.nr-opt__label span { font-weight: 400; color: var(--nr-body); }
.nr-swatch-row { display: flex; flex-wrap: wrap; gap: 12px; }
.nr-swatch { position: relative; cursor: pointer; }
.nr-swatch input,
.nr-size input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nr-swatch__dot {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 99px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--nr-line-2);
	background-size: cover;
	background-position: center;
	background-color: #fff;
	transition: box-shadow .15s, transform .15s;
}
.nr-swatch:hover .nr-swatch__dot { transform: scale(1.06); }
.nr-swatch input:checked + .nr-swatch__dot { box-shadow: 0 0 0 2px var(--nr-cognac); }
.nr-swatch input:focus-visible + .nr-swatch__dot { box-shadow: 0 0 0 2px var(--nr-cognac), 0 0 0 5px rgba(164, 83, 43, .25); }

.nr-size-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nr-size { position: relative; cursor: pointer; }
.nr-size__card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 12px;
	border: 1px solid var(--nr-line-2);
	border-radius: var(--nr-r-md);
	background: #fff;
	color: var(--nr-navy);
	transition: border-color .15s, background-color .15s;
}
.nr-size__card b { font-weight: 600; font-size: 14px; }
.nr-size__card small { font-size: 12px; color: var(--nr-muted); }
.nr-size__card em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--nr-cognac); margin-top: 4px; }
.nr-size:hover .nr-size__card { border-color: var(--nr-navy); }
.nr-size input:checked + .nr-size__card { border-color: var(--nr-navy); background: var(--nr-cognac-soft); box-shadow: inset 0 0 0 1px var(--nr-navy); }
.nr-size input:focus-visible + .nr-size__card { box-shadow: inset 0 0 0 1px var(--nr-navy), 0 0 0 3px rgba(10, 22, 48, .2); }

/* Wishlist heart beside Add to cart (1c) */
.nr-heart--pdp {
	width: 52px;
	min-height: 52px;
	border: 1px solid var(--nr-line-2);
	border-radius: var(--nr-r-md);
	background: #fff;
	font-size: 18px;
	color: var(--nr-navy);
}
.nr-heart--pdp.is-on { color: var(--nr-cognac); border-color: var(--nr-cognac); }

/* − qty + stepper */
body.nr.single-product .quantity.nr-qty { display: flex; align-items: center; border: 1px solid var(--nr-line-2); border-radius: var(--nr-r-md); background: #fff; margin: 0 !important; }
body.nr.single-product .quantity.nr-qty input.qty {
	width: 32px;
	min-height: 52px;
	border: 0 !important;
	padding: 0 !important;
	text-align: center;
	-moz-appearance: textfield;
}
body.nr.single-product .quantity.nr-qty input.qty::-webkit-outer-spin-button,
body.nr.single-product .quantity.nr-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nr-step { width: 44px; height: 52px; border: 0; background: none; font-size: 18px; color: var(--nr-navy); cursor: pointer; }
.nr-step:hover { color: var(--nr-cognac); }

.nr-pdp-perks { list-style: none; padding: 20px 0 0 !important; margin: 0 0 20px; border-top: 1px solid var(--nr-line); display: grid; gap: 12px; font-size: 14px; color: var(--nr-body); }
.nr-pdp-perks li { display: flex; gap: 12px; align-items: center; }
.nr-pdp-perks i { width: 18px; color: var(--nr-cognac); text-align: center; }
body.nr.single-product .product_meta { font-size: 13px; color: var(--nr-muted); border-top: 1px solid var(--nr-line); padding-top: 16px; }
body.nr.single-product .product_meta a { color: var(--nr-navy); }

body.nr.single-product .woocommerce-tabs { margin-top: 40px; }
body.nr.single-product .woocommerce-tabs ul.tabs { padding: 0 !important; background: transparent !important; border-bottom: 1px solid var(--nr-line) !important; display: flex; gap: 28px; }
body.nr.single-product .woocommerce-tabs ul.tabs::before { display: none; }
body.nr.single-product .woocommerce-tabs ul.tabs li { background: transparent !important; border: 0 !important; margin: 0 !important; padding: 0 !important; }
body.nr.single-product .woocommerce-tabs ul.tabs li a { padding: 12px 0 !important; color: var(--nr-muted) !important; font-weight: 600; border-bottom: 2px solid transparent; }
body.nr.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--nr-navy) !important; border-bottom-color: var(--nr-cognac); }
body.nr.single-product .woocommerce-tabs .panel { padding: 24px 0 0 !important; background: transparent !important; border: 0 !important; margin: 0 !important; }
body.nr.single-product .related > h2,
body.nr.single-product .upsells > h2 { font-size: 30px !important; font-weight: 800; letter-spacing: var(--nr-tracking-tight); margin: 56px 0 24px; }

@media (max-width: 980px) {
	body.nr.single-product div.product > .clearfix { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Notices ---------- */
body.nr .woocommerce-message,
body.nr .woocommerce-info,
body.nr .woocommerce-error,
body.nr .wc-block-components-notice-banner {
	background: #fff !important;
	color: var(--nr-navy) !important;
	border: 1px solid var(--nr-line) !important;
	border-left: 4px solid var(--nr-cognac) !important;
	border-radius: var(--nr-r-md) !important;
	box-shadow: none !important;
	font-size: 15px;
}
body.nr .woocommerce-message a.button { padding: 10px 18px !important; font-size: 14px !important; }

/* ---------- Cart & checkout (1d) — block and classic ---------- */
body.nr.woocommerce-cart .entry-title,
body.nr.woocommerce-checkout .entry-title,
body.nr.woocommerce-account .entry-title {
	font-size: clamp(30px, 3.6vw, 44px) !important;
	font-weight: 800;
	letter-spacing: var(--nr-tracking-tight);
	margin: 8px 0 28px;
}
body.nr .wp-block-woocommerce-cart,
body.nr .wp-block-woocommerce-checkout { font-family: var(--nr-font-sans); color: var(--nr-navy); }
body.nr .wc-block-cart-items,
body.nr .wc-block-components-sidebar .wc-block-components-panel,
body.nr .wc-block-components-totals-wrapper { border-color: var(--nr-line) !important; }
body.nr .wc-block-cart .wc-block-components-sidebar,
body.nr .wc-block-checkout .wc-block-components-sidebar {
	background: #fff;
	border: 1px solid var(--nr-line);
	border-radius: var(--nr-r-xl);
	padding: 24px !important;
}
body.nr .wc-block-cart-item__image img { background: #fff; border: 1px solid var(--nr-line); border-radius: var(--nr-r-md); object-fit: contain; padding: 6px; }
body.nr .wc-block-components-product-name { color: var(--nr-navy) !important; font-weight: 600; font-size: 16px !important; text-decoration: none; }
body.nr .wc-block-components-product-badge { border-color: var(--nr-cognac) !important; color: var(--nr-cognac) !important; border-radius: 99px !important; }
body.nr .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.nr .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 20px !important; font-weight: 700 !important; }
body.nr .wc-block-components-text-input input,
body.nr .wc-block-components-combobox .wc-block-components-combobox-control input,
body.nr .wc-blocks-components-select select {
	border-color: var(--nr-line-2) !important;
	border-radius: var(--nr-r-md) !important;
	background: #fff !important;
}
body.nr .wc-block-components-text-input.is-active input:focus,
body.nr .wc-block-components-text-input input:focus { border-color: var(--nr-navy) !important; box-shadow: 0 0 0 1px var(--nr-navy) !important; }
body.nr .wc-block-components-quantity-selector { border-radius: var(--nr-r-md) !important; }
body.nr .wc-block-components-quantity-selector::after { border-color: var(--nr-line-2) !important; border-radius: var(--nr-r-md) !important; }
body.nr .wc-block-cart__submit-button { width: 100%; }

/* ---------- My Account ---------- */
body.nr.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 72px; }
body.nr.woocommerce-account .woocommerce::before,
body.nr.woocommerce-account .woocommerce::after { display: none; }
body.nr.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.nr.woocommerce-account .woocommerce-MyAccount-navigation,
body.nr.woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; margin: 0 !important; }
body.nr .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px !important;
	background: #fff;
	border: 1px solid var(--nr-line);
	border-radius: var(--nr-r-xl);
	position: sticky;
	top: 130px;
}
body.nr .woocommerce-MyAccount-navigation li { padding: 0; list-style: none !important; } /* Divi's .entry-content ul adds discs */
body.nr .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: var(--nr-r-md);
	font-size: 15px;
	font-weight: 500;
	color: var(--nr-body);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
body.nr .woocommerce-MyAccount-navigation a::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	width: 18px;
	text-align: center;
	color: var(--nr-faint);
}
body.nr .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f015"; }
body.nr .woocommerce-MyAccount-navigation-link--orders a::before { content: "\f466"; }
body.nr .woocommerce-MyAccount-navigation-link--wishlist a::before { content: "\f004"; }
body.nr .woocommerce-MyAccount-navigation-link--downloads a::before { content: "\f019"; }
body.nr .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f3c5"; }
body.nr .woocommerce-MyAccount-navigation-link--payment-methods a::before { content: "\f09d"; }
body.nr .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f007"; }
body.nr .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5"; }
body.nr .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--nr-line); margin-top: 6px; padding-top: 6px; }
body.nr .woocommerce-MyAccount-navigation a:hover { background: var(--nr-ivory); color: var(--nr-navy); }
body.nr .woocommerce-MyAccount-navigation .is-active a { background: var(--nr-cognac-soft); color: var(--nr-navy); font-weight: 600; }
body.nr .woocommerce-MyAccount-navigation .is-active a::before { color: var(--nr-cognac); }

body.nr .woocommerce-MyAccount-content { color: var(--nr-body); }
body.nr .woocommerce-MyAccount-content a:not(.nr-btn):not(.button):not(.nr-card) { color: var(--nr-cognac); }
body.nr .woocommerce-MyAccount-content .nr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
body.nr .woocommerce-MyAccount-content .nr-wishlist__head { margin-top: 2px; }
body.nr .woocommerce-MyAccount-content table.shop_table { background: #fff; border: 1px solid var(--nr-line) !important; border-radius: var(--nr-r-xl) !important; }
body.nr .woocommerce-MyAccount-content input.input-text,
body.nr .woocommerce-MyAccount-content select { border: 1px solid var(--nr-line-2) !important; border-radius: var(--nr-r-md) !important; background: #fff !important; padding: 12px 14px !important; color: var(--nr-navy) !important; }

/* Login / register */
body.nr.woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: minmax(0, 480px); justify-content: center; }
body.nr .woocommerce form.login,
body.nr .woocommerce form.register { background: #fff; border: 1px solid var(--nr-line) !important; border-radius: var(--nr-r-xl) !important; padding: 28px !important; }
body.nr .woocommerce form .form-row input.input-text { border: 1px solid var(--nr-line-2); border-radius: var(--nr-r-md); background: #fff; padding: 12px 14px; color: var(--nr-navy); }

/* Wishlist card actions: keep labels on one line */
.nr-wish-item__actions .nr-btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }

@media (max-width: 1100px) {
	body.nr .woocommerce-MyAccount-content .nr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	body.nr.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	body.nr .woocommerce-MyAccount-navigation ul { position: static; display: flex; gap: 4px; overflow-x: auto; padding: 6px !important; scrollbar-width: none; }
	body.nr .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.nr .woocommerce-MyAccount-navigation a { white-space: nowrap; padding: 9px 12px; font-size: 14px; }
	body.nr .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0; margin-top: 0; padding-top: 0; }
	body.nr .woocommerce-MyAccount-content .nr-grid { gap: 20px 12px; }
}

/* Classic cart table fallback */
body.nr.woocommerce-cart table.shop_table { border: 1px solid var(--nr-line) !important; border-radius: var(--nr-r-xl) !important; background: #fff; }
body.nr.woocommerce-cart table.shop_table th { color: var(--nr-navy); }
body.nr.woocommerce-cart table.shop_table td { border-color: var(--nr-line) !important; }
body.nr.woocommerce-cart .cart-collaterals .cart_totals { background: #fff; border: 1px solid var(--nr-line); border-radius: var(--nr-r-xl); padding: 24px; }
