/* =========================================================================
   Crown Jewellery — WooCommerce stylesheet
   Product cards, category banner + grid, single product, cart, checkout,
   account. Geometry follows the measured reference (322px cards, 18px
   gaps, 15px radii, 60px pill buttons).
   ========================================================================= */

/* -------------------------------------------------------------------------
   Buttons WooCommerce renders itself
   ------------------------------------------------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 26px;
	border: 1px solid var(--cj-black);
	border-radius: var(--cj-radius-btn);
	background: var(--cj-black);
	color: var(--cj-white);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background var(--cj-transition), border-color var(--cj-transition), color var(--cj-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: #000000;
	border-color: #000000;
	color: var(--cj-white);
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled:hover {
	opacity: 0.5;
	padding: 18px 26px;
	background: var(--cj-black);
	border-color: var(--cj-black);
	color: var(--cj-white);
}

/* -------------------------------------------------------------------------
   Prices
   ------------------------------------------------------------------------- */
.woocommerce .price,
.price {
	color: var(--cj-black);
	font-weight: 400;
}

.price del {
	color: var(--cj-text-muted);
	font-size: 13px;
	font-weight: 400;
	text-decoration: line-through;
	text-decoration-color: #e0262f;
}

.price ins,
.woocommerce .price ins,
.woocommerce ul.products li.product .price ins,
.woocommerce div.product .price ins,
.product-card-price ins,
.product-price ins {
	text-decoration: none;
	font-weight: 500;
}

.price-from {
	font-size: 12px;
	color: var(--cj-text-muted);
}

/* Sale prices: hand-drawn pen stroke over the old price, highlighter
   underline + "בלבד" under/next to the new one (markup from
   crown_jewellery_format_sale_price(), used on every page). */
.sale-price {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 2px 12px;
	max-width: 100%;
}

.price ins.sale-now,
.product-card-price ins.sale-now,
.product-price ins.sale-now {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	order: 0;
	font-weight: 600;
	text-decoration: none;
	color: var(--cj-black);
}

.sale-amount {
	position: relative;
	z-index: 0;
	display: inline-block;
	padding-block-end: 3px;
	font-size: 1.28em;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.sale-amount .amount {
	position: relative;
	z-index: 1;
}

.sale-underline {
	position: absolute;
	inset-inline: -4%;
	bottom: -4px;
	width: 108%;
	height: 0.46em;
	fill: none;
	stroke: #ffc48f;
	stroke-width: 5.5px;
	stroke-linecap: round;
	opacity: 0.95;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.sale-underline .sale-underline-2 {
	stroke-width: 3.5px;
	opacity: 0.75;
}

.sale-only {
	font-size: 0.66em;
	font-weight: 600;
	color: var(--cj-black);
	white-space: nowrap;
}

.price del.sale-was,
.product-card-price del.sale-was,
.product-price del.sale-was {
	position: relative;
	display: inline-block;
	padding: 0 3px;
	font-size: 0.82em;
	font-weight: 400;
	line-height: 1.2;
	color: var(--cj-text-muted);
	text-decoration: none;
}

.sale-strike {
	position: absolute;
	inset: -22% -7%;
	width: 114%;
	height: 144%;
	fill: none;
	stroke: #d23a2f;
	stroke-width: 1.9px;
	stroke-linecap: round;
	opacity: 0.88;
	pointer-events: none;
}

.sale-strike .sale-strike-2 {
	stroke-width: 1.1px;
	opacity: 0.55;
}

/* Cards: centred, on one line */
.product-card-price .sale-price {
	justify-content: center;
	align-items: center;
	gap: 0 12px;
}

/* Product page: the sale price above, the old price beneath it */
.product-price .sale-price {
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.product-price .sale-amount {
	font-size: 1.32em;
}

/* -------------------------------------------------------------------------
   Product grid + cards
   ------------------------------------------------------------------------- */
.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--cj-grid-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* WooCommerce's own layout stylesheet floats each card at a 22% width for
   its legacy column system; inside our grid that shrinks every card to a
   sliver, so neutralise it (and its clearfix pseudo-elements). */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce ul.products[class*='columns-'] li.product,
.woocommerce-page ul.products[class*='columns-'] li.product,
ul.products li.product {
	position: relative;
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	text-align: center;
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	background: var(--cj-surface);
	border-radius: var(--cj-radius-card);
	overflow: hidden;
	line-height: 1;
	transition: box-shadow 400ms ease;
}

/* A hairline frame drawn as a ring just inside the card edge: champagne at
   rest with a slow sheen, gold with a faster sheen and a soft glow on hover. */
.product-card::before,
.product-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
	border-radius: inherit;
	padding: 1px;
	pointer-events: none;
	background-size: 200% 100%;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
}

.product-card::before {
	background-image: linear-gradient(135deg, #e4dccb 0%, #f6f2ea 28%, #d9cfb8 52%, #f4efe4 76%, #e4dccb 100%);
	animation: cj-frame-sheen 9s linear infinite;
}

.product-card::after {
	background-image: linear-gradient(135deg, #d2ae62 0%, #fff1c6 28%, #c1993f 52%, #fbe6b0 76%, #d2ae62 100%);
	opacity: 0;
	transition: opacity 400ms ease;
	animation: cj-frame-sheen 2.8s linear infinite;
}

.product-card:hover::after,
.product-card:focus-within::after {
	opacity: 1;
}

.product-card:hover,
.product-card:focus-within {
	box-shadow: 0 14px 40px rgba(201, 162, 77, 0.16);
}

@keyframes cj-frame-sheen {
	from {
		background-position: 0% 50%;
	}

	to {
		background-position: 200% 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-card::before,
	.product-card::after {
		animation: none;
	}
}

.product-card-media {
	position: relative;
	display: block;
	aspect-ratio: var(--cj-card-media-ratio, 1);
	background: var(--cj-white);
	overflow: hidden;
}

.shop-main .product-card-media,
.related .product-card-media,
.upsells .product-card-media {
	--cj-card-media-ratio: 322 / 370;
}

.product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity 350ms ease;
}

.product-card-img--secondary {
	opacity: 0;
}

.product-card:hover .product-card-img--secondary {
	opacity: 1;
}

.product-card:hover .product-card-img--primary + .product-card-img--secondary ~ .product-card-img--primary,
.product-card:hover .product-card-media:has(.product-card-img--secondary) .product-card-img--primary {
	opacity: 0;
}

.product-card-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex: 1;
	padding: 18px 30px 30px;
}

.product-card-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-size: 18.5px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.25;
	color: var(--cj-black);
}

.product-card-title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 100% 100%;
	transition: background-size var(--cj-transition);
}

.product-card:hover .product-card-title a {
	background-size: 100% 1px;
}

.product-card-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	font-size: 15px;
	line-height: 1;
}

.product-card-price .price {
	display: contents;
}

.product-card-price .price ins {
	order: -1;
}

.product-card-price .price del {
	line-height: 1;
}

.swatches {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-block-start: 8px;
}

.swatch {
	width: 32px;
	height: 32px;
	border-radius: 5px;
	border: 1px solid var(--cj-border);
	background: var(--cj-surface);
}

.product-card .star-rating,
.product-card .added_to_cart,
.product-card .button {
	display: none;
}

/* Spec strip along the card's bottom edge */
.product-card-spec {
	margin-block-start: auto;
	background: var(--cj-white);
	border-radius: 0 0 var(--cj-radius-card) var(--cj-radius-card);
	overflow: hidden;
}

.product-card-icons {
	display: flex;
	flex-wrap: nowrap;
	padding: 9px 15px;
	overflow-x: auto;
	scrollbar-width: none;
}

.product-card-icons::-webkit-scrollbar {
	display: none;
}

.product-card-icon {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 0 15px;
	margin: 8px 0;
	border-inline-start: 1px solid var(--cj-border);
}

.product-card-icon:first-child {
	border-inline-start: 0;
}

.product-card-icon .icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.product-card-icon .spec-icon {
	width: auto;
	height: 24px;
	max-width: 40px;
	flex-shrink: 0;
	object-fit: contain;
}

.spec-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: start;
	line-height: 1;
}

.spec-value {
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
}

.spec-caption {
	font-size: 9px;
	line-height: 1.25;
	color: var(--cj-text-muted);
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Shop / category archive
   ------------------------------------------------------------------------- */
.archive-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 425px;
	background: var(--cj-black) center / cover no-repeat;
	color: var(--cj-white);
	overflow: hidden;
	text-align: center;
}

.archive-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

/* A product photo (white background) standing in for a real category
   image needs a heavier tint to keep the white title readable. */
.archive-banner--fallback::before {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}

.archive-banner-box {
	position: relative;
	padding: 48px var(--cj-page-padding) 70px;
	max-width: 900px;
}

.archive-banner-title {
	margin: 0;
	font-size: clamp(3rem, 1.8rem + 4.8vw, 6.06rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1;
	color: inherit;
}

.shop-main.section--rounded {
	position: relative;
	z-index: 2;
	margin-block-start: calc(-1 * var(--cj-radius-section));
	padding-block-start: 42px;
	background: var(--cj-white);
}

.shop-main {
	padding-block-end: 72px;
}

.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering {
	display: none;
}

.term-description {
	max-width: 720px;
	margin: 0 auto 32px;
	text-align: center;
	color: var(--cj-text-muted);
}

.woocommerce-info,
.woocommerce-no-products-found {
	padding: 24px;
	border-radius: var(--cj-radius-panel);
	background: var(--cj-surface-2);
}

.woocommerce nav.woocommerce-pagination {
	margin-block-start: 48px;
	text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 8px;
	border: 0;
	margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
	float: none;
	overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-pill);
	background: var(--cj-white);
	color: var(--cj-black);
	font-size: 15px;
	line-height: 1;
	transition: background var(--cj-transition), color var(--cj-transition), border-color var(--cj-transition);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--cj-black);
	border-color: var(--cj-black);
	color: var(--cj-white);
}

/* -------------------------------------------------------------------------
   Single product
   ------------------------------------------------------------------------- */
.single-product .shop-main {
	padding-block: 0 16px;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: 510px minmax(0, 1fr);
	gap: 0 68px;
	align-items: start;
	margin-block-start: 0;
}

.woocommerce div.product .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
	order: -2;
}

/* Details first (the start side), then the gallery fills the rest */
.woocommerce div.product > div.summary {
	order: -1;
}

.product-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	order: 0;
}

/* One or two photos: full width, no empty cells; a single photo sticks and
   fills the viewport height */
.product-gallery--1,
.product-gallery--2 {
	grid-template-columns: 1fr;
}

.product-gallery--odd .product-gallery-item:first-child {
	grid-column: 1 / -1;
}

.product-gallery--1 {
	position: sticky;
	inset-block-start: 99px;
}

.product-gallery--1 .product-gallery-item {
	aspect-ratio: auto;
	height: min(calc(100vh - 130px), 1000px);
	min-height: 480px;
	box-shadow: none;
}

.product-gallery-item {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: var(--cj-radius-card);
	overflow: hidden;
	background: var(--cj-white);
	box-shadow: inset 0 0 0 1px var(--cj-border-light);
}

.product-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.woocommerce div.product div.summary {
	position: sticky;
	inset-block-start: 99px;
	width: 100%;
	margin: 0;
	float: none;
}

.product-title-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.woocommerce div.product .product_title {
	margin: 0;
	font-size: 25px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.product-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1.5;
	white-space: nowrap;
}

.product-price ins {
	order: -1;
	font-weight: 500;
	text-decoration: none;
}

.product-price del {
	font-size: 15px;
	font-weight: 400;
	color: var(--cj-text-muted);
	text-decoration: line-through;
	text-decoration-color: #e0262f;
}

.product-price .price-from {
	font-size: 13px;
	margin-inline-end: 4px;
}

.product-text {
	margin-block-start: 24px;
	padding: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--cj-black);
}

.product-text p {
	margin: 0 0 14px;
}

.product-text strong {
	font-weight: 600;
}

.product-text p:last-child {
	margin-block-end: 0;
}

/* Purchase form */
.woocommerce div.product form.cart {
	margin: 24px 0 0;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.woocommerce div.product form.cart.variations_form {
	display: block;
}

.woocommerce div.product form.cart .variations {
	width: 100%;
	margin: 0 0 32px;
	border: 0;
}

.woocommerce div.product form.cart .single_variation_wrap {
	margin: 0;
}

.woocommerce div.product form.cart .variations tr {
	display: block;
}

.woocommerce div.product form.cart .variations tr + tr {
	margin-block-start: 20px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
	display: block;
	padding: 0;
	border: 0;
	text-align: start;
	line-height: 1.5;
}

.woocommerce div.product form.cart .variations th {
	font-weight: 400;
	font-size: 15px;
	padding-block-end: 12px;
}

.woocommerce div.product form.cart .variations td.value {
	position: relative;
}

.woocommerce div.product form.cart .variations select {
	width: 100%;
	min-height: 52px;
	padding: 0 26px;
	padding-inline-end: 52px;
	border: 0;
	border-radius: var(--cj-radius-input);
	background: var(--cj-surface-2);
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 16px;
	background-position: 22px center;
}

html[dir='ltr'] .woocommerce div.product form.cart .variations select {
	background-position: calc(100% - 22px) center;
}

.woocommerce div.product form.cart .reset_variations,
.woocommerce div.product form.cart .woocommerce-variation-price,
.woocommerce div.product form.cart .woocommerce-variation-availability,
.woocommerce div.product form.cart .quantity {
	display: none !important;
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	gap: 16px;
}

.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .button {
	flex: 1;
	height: 60px;
	padding: 18px 26px;
	margin: 0;
	border-radius: var(--cj-radius-btn);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.product-whatsapp {
	flex: 0 0 77px;
	width: 77px;
	height: 60px;
	padding: 0;
	border-radius: var(--cj-radius-btn);
	color: var(--cj-whatsapp);
	background: var(--cj-white);
	border-color: var(--cj-black);
}

.product-whatsapp:hover,
.product-whatsapp:focus-visible {
	background: var(--cj-whatsapp);
	border-color: var(--cj-whatsapp);
	color: var(--cj-white);
}

.product-whatsapp .icon {
	width: 26px;
	height: 26px;
}

/* Highlights (specs) panel */
.product-highlights {
	display: grid;
	gap: 20px;
	margin-block-start: 24px;
	padding: 20px 24px;
	border-radius: var(--cj-radius-panel);
	background: var(--cj-surface-2);
}

.product-highlights-title {
	margin: 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.25;
}

.product-highlights-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.product-highlight {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 0 auto;
	padding: 16px 24px 16px 32px;
	border-radius: var(--cj-radius-panel);
	background: var(--cj-white);
}

.product-highlight .icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.product-highlight .spec-icon {
	width: auto;
	height: 32px;
	max-width: 56px;
	flex-shrink: 0;
	object-fit: contain;
}

.product-highlight .spec-value {
	font-size: 13px;
}

.product-highlight .spec-caption {
	font-size: 11px;
}

/* Payment / returns / packaging rows */
.product-info-rows {
	display: grid;
	margin-block-start: 24px;
	padding: 24px;
	border-radius: var(--cj-radius-panel);
	background: var(--cj-surface-2);
}

.product-info-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px;
	border-radius: var(--cj-radius-panel);
	font-size: 13px;
	line-height: 1.25;
}

.product-info-row:nth-child(odd) {
	background: var(--cj-white);
}

.product-info-row .icon {
	width: 24px;
	height: 24px;
}

.product-accordion {
	margin-block-start: 24px;
}

.product-accordion .faq-item {
	border-color: var(--cj-border);
}

.product-accordion .faq-summary {
	padding: 20px 0;
	font-size: 15px;
}

.product-accordion .faq-answer {
	font-size: 13px;
	padding-block-end: 20px;
}

.product-accordion .faq-answer h3 {
	margin: 18px 0 8px;
	font-size: 14px;
	font-weight: 600;
}

.product-accordion .faq-answer ul {
	margin: 0 0 14px;
	padding-inline-start: 18px;
}

.product-accordion .faq-answer li {
	margin: 0 0 4px;
	line-height: 1.6;
}

.product-accordion .woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
}

.product-accordion .woocommerce-product-attributes th,
.product-accordion .woocommerce-product-attributes td {
	padding: 8px 0;
	border-block-end: 1px solid var(--cj-border);
	text-align: start;
	font-weight: 400;
}

.product-accordion .woocommerce-product-attributes p {
	margin: 0;
}

.woocommerce div.product .product_meta,
.woocommerce div.product .woocommerce-product-rating {
	display: none;
}

/* Related products */
.related-section {
	padding-block: 72px 0;
}

.related-section .title-wrapper {
	margin-block-end: 32px;
}

.woocommerce .related.products,
.woocommerce .upsells.products {
	grid-column: 1 / -1;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
	margin: 0 0 32px;
	font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3.03rem);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1;
}

/* -------------------------------------------------------------------------
   Cart & checkout (classic WooCommerce pages)
   ------------------------------------------------------------------------- */
.woocommerce-cart .container.narrow,
.woocommerce-checkout .container.narrow {
	max-width: calc(1200px + 2 * var(--cj-page-padding));
}

.woocommerce-cart .single-page-header,
.woocommerce-checkout .single-page-header {
	margin-block-end: 36px;
	text-align: center;
}

.woocommerce-cart .single-page-content,
.woocommerce-checkout .single-page-content {
	font-size: 14px;
	line-height: 1.5;
}

.woocommerce-cart .single-page-content > *,
.woocommerce-checkout .single-page-content > * {
	margin-block-end: 0;
}

.woocommerce .woocommerce-notices-wrapper:empty {
	display: none;
}

/* Generic tables (order details, account) */
.woocommerce table.shop_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	margin-block-end: 30px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 16px 12px;
	border: 0;
	border-block-end: 1px solid var(--cj-border);
	text-align: start;
}

.woocommerce table.shop_table thead th {
	font-weight: 500;
	font-size: 13px;
	color: var(--cj-text-muted);
}

.woocommerce table.shop_table img {
	width: 72px;
	border-radius: var(--cj-radius-panel);
}

/* Fields: one shared style --------------------------------------------- */
.woocommerce form .form-row,
.woocommerce-page form .form-row {
	float: none;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
	float: none;
	width: 100%;
}

.woocommerce form .form-row label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.woocommerce form .form-row label.inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.woocommerce form .form-row .required {
	display: none;
}

.woocommerce form .form-row .optional {
	font-weight: 400;
	color: var(--cj-text-muted);
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce .coupon .input-text,
.select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 50px;
	padding: 0 18px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-input);
	background: var(--cj-white);
	font-size: 15px;
	line-height: 48px;
	color: var(--cj-black);
	box-shadow: none;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce .coupon .input-text:focus {
	outline: 0;
	border-color: var(--cj-black);
	box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.06);
}

.woocommerce form .form-row.woocommerce-validated .input-text,
.woocommerce form .form-row.woocommerce-validated select,
.woocommerce form .form-row.woocommerce-validated .select2-container {
	border-color: var(--cj-border);
}

.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid .select2-container {
	border-color: #e0262f;
}

.woocommerce form .form-row textarea {
	min-height: 96px;
	padding-block: 12px;
	line-height: 1.5;
	resize: vertical;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 48px;
	padding: 0;
	color: inherit;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 48px;
}

.woocommerce form .form-row.cj-field-hidden {
	display: none !important;
}

.woocommerce form .form-row .woocommerce-form__label-for-checkbox,
.woocommerce form .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

.woocommerce form .woocommerce-form__input-checkbox,
.woocommerce form input[type="checkbox"],
.woocommerce form input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cj-black);
	flex-shrink: 0;
}

/* Two-column field grid: name | name, phone | email, then full rows */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-additional-fields__field-wrapper .form-row {
	margin: 0;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-additional-fields__field-wrapper .form-row {
	grid-column: 1 / -1;
}

/* Quantity stepper (cart page) */
.woocommerce .quantity .qty {
	width: 80px;
	min-height: 52px;
	padding: 0 12px;
	text-align: center;
}

.woocommerce-cart .quantity {
	display: inline-flex;
	align-items: center;
	height: 44px;
	direction: ltr;
	border: 1px solid var(--cj-border);
	border-radius: 999px;
	background: var(--cj-white);
	overflow: hidden;
}

.woocommerce-cart .quantity .qty {
	width: 44px;
	height: 42px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-size: 14px;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.woocommerce-cart .quantity .qty-btn {
	width: 36px;
	height: 42px;
	border: 0;
	background: transparent;
	color: var(--cj-black);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.woocommerce-cart .quantity .qty-btn:hover {
	background: var(--cj-surface-2);
}

/* Cart page ---------------------------------------------------------------- */
.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 32px 64px;
	align-items: start;
}

.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .woocommerce-message,
.woocommerce-cart .woocommerce > .woocommerce-error,
.woocommerce-cart .woocommerce > .woocommerce-info,
.woocommerce-cart .woocommerce > .cart-empty,
.woocommerce-cart .woocommerce > .wc-empty-cart-message,
.woocommerce-cart .woocommerce > .return-to-shop {
	grid-column: 1 / -1;
}

.woocommerce-cart .cart-collaterals {
	position: sticky;
	top: 100px;
	width: 100%;
}

.woocommerce-cart table.shop_table.cart,
.woocommerce-cart table.shop_table.cart tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
}

.woocommerce-cart table.shop_table.cart thead {
	display: none;
}

.woocommerce-cart table.shop_table.cart tr {
	display: block;
}

.woocommerce-cart table.shop_table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto auto 32px;
	grid-template-areas:
		"thumb name qty subtotal remove"
		"thumb price qty subtotal remove";
	align-items: center;
	gap: 2px 20px;
	padding: 18px 0;
	border-block-end: 1px solid var(--cj-border);
}

.woocommerce-cart table.shop_table.cart td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: start;
}

.woocommerce-cart table.shop_table.cart td::before {
	display: none;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail {
	grid-area: thumb;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail a {
	display: block;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: var(--cj-radius-panel);
	background: var(--cj-surface);
}

.woocommerce-cart table.shop_table.cart td.product-name {
	grid-area: name;
	align-self: end;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.woocommerce-cart table.shop_table.cart td.product-name a {
	color: inherit;
	text-decoration: none;
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--cj-text-muted);
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation dt,
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation dt,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation dd {
	display: inline;
	float: none;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd p,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation dd p {
	display: inline;
	margin: 0;
}

.woocommerce-cart table.shop_table.cart td.product-price {
	grid-area: price;
	align-self: start;
	font-size: 13px;
	color: var(--cj-text-muted);
}

.woocommerce-cart table.shop_table.cart td.product-quantity {
	grid-area: qty;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal {
	grid-area: subtotal;
	min-width: 90px;
	text-align: end;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

.woocommerce-cart table.shop_table.cart td.product-remove {
	grid-area: remove;
	text-align: end;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove,
.woocommerce table.shop_table.cart td.product-remove a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	border-radius: 50%;
	background: var(--cj-surface-2);
	color: var(--cj-black) !important;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover,
.woocommerce table.shop_table.cart td.product-remove a.remove:hover {
	background: var(--cj-black);
	color: var(--cj-white) !important;
}

/* Coupon row under the items */
.woocommerce-cart table.shop_table.cart td.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 0 0;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon {
	display: flex;
	align-items: center;
	gap: 10px;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
	float: none;
	width: 200px;
	min-height: 46px;
	margin: 0;
	padding: 0 16px;
	line-height: 44px;
	font-size: 14px;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon .button,
.woocommerce-cart table.shop_table.cart td.actions > .button {
	min-height: 46px;
	padding: 0 22px;
	background: var(--cj-surface-2);
	color: var(--cj-black);
	border-color: transparent;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon .button:hover,
.woocommerce-cart table.shop_table.cart td.actions > .button:hover {
	background: var(--cj-black);
	color: var(--cj-white);
}

/* With JavaScript the cart updates itself when a quantity changes. */
body.woocommerce-js.woocommerce-cart table.shop_table.cart td.actions > .button {
	display: none;
}

/* Totals card */
.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 28px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-card);
	background: var(--cj-surface);
}

.woocommerce-cart .cart_totals h2 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.woocommerce-cart .cart_totals table.shop_table {
	display: table;
	width: 100%;
	margin: 0;
	border: 0;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
	width: auto;
	padding: 12px 0;
	border: 0;
	border-block-end: 1px solid var(--cj-border);
	font-size: 14px;
	vertical-align: top;
}

.woocommerce-cart .cart_totals table.shop_table th {
	font-weight: 400;
	color: var(--cj-text-muted);
	text-align: start;
}

.woocommerce-cart .cart_totals table.shop_table td {
	text-align: end;
}

.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
	padding-block: 16px 0;
	border: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--cj-black);
}

.woocommerce-cart .cart_totals ul#shipping_method,
.woocommerce-checkout ul#shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.woocommerce-cart .cart_totals ul#shipping_method li,
.woocommerce-checkout ul#shipping_method li {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.woocommerce-cart .cart_totals ul#shipping_method label,
.woocommerce-checkout ul#shipping_method label {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.cj-one-country .woocommerce-shipping-calculator,
body.cj-one-country .shipping-calculator-button {
	display: none;
}

.woocommerce-cart .wc-proceed-to-checkout {
	margin: 20px 0 0;
	padding: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 0 24px;
	font-size: 15px;
}

/* Empty cart */
.woocommerce-cart .wc-empty-cart-message {
	text-align: center;
}

.woocommerce-cart .woocommerce-info.cart-empty {
	margin: 40px 0 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--cj-black);
	font-size: 18px;
	text-align: center;
}

.woocommerce-cart .woocommerce-info.cart-empty::before {
	display: none;
}

.woocommerce-cart .return-to-shop {
	margin: 0 0 40px;
	text-align: center;
}

/* Checkout page ------------------------------------------------------------ */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--cj-text-muted);
	font-size: 14px;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before {
	display: none;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a {
	color: var(--cj-black);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-checkout form.woocommerce-form-login {
	max-width: 640px;
	margin: 0 0 28px;
	padding: 24px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-card);
}

.woocommerce-checkout form.woocommerce-form-login .form-row {
	margin: 0 0 14px;
}

.woocommerce-checkout form.checkout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 64px;
}

.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout form.checkout > .woocommerce-error,
.woocommerce-checkout form.checkout > .woocommerce-message,
.woocommerce-checkout form.checkout > .woocommerce-info {
	flex: 0 0 100%;
}

.woocommerce-checkout form.checkout #customer_details,
.woocommerce-checkout form.checkout .col2-set {
	flex: 1 1 0;
	min-width: 0;
	display: block;
}

.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}

.woocommerce-checkout form.checkout #order_review_heading {
	display: none;
}

.woocommerce-checkout form.checkout #order_review {
	flex: 0 0 400px;
	position: sticky;
	top: 100px;
}

.woocommerce-checkout #customer_details h3 {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.woocommerce-checkout .woocommerce-account-fields {
	margin: 4px 0 8px;
}

.woocommerce-checkout .woocommerce-account-fields div.create-account {
	margin-block-start: 12px;
	padding: 16px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-panel);
}

.woocommerce-checkout .woocommerce-shipping-fields {
	margin-block-start: 8px;
}

.woocommerce-checkout #ship-to-different-address {
	margin: 8px 0 18px;
	font-size: 15px;
}

.woocommerce-checkout #ship-to-different-address label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	cursor: pointer;
}

.woocommerce-checkout .woocommerce-additional-fields {
	margin-block-start: 8px;
}

.woocommerce-checkout .woocommerce-additional-fields > h3 {
	display: none;
}

/* Order summary card */
.woocommerce-checkout #order_review {
	padding: 28px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-card);
	background: var(--cj-surface);
}

.checkout-summary-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 0 4px;
	border: 0;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead {
	display: none;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
	padding: 12px 0;
	border: 0;
	border-block-end: 1px solid var(--cj-border);
	font-size: 14px;
	vertical-align: middle;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 12px;
	padding-inline-end: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.woocommerce-checkout .summary-thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border: 1px solid var(--cj-border);
	border-radius: 10px;
	background: var(--cj-white);
}

.woocommerce-checkout .summary-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.woocommerce-checkout .summary-name {
	flex: 1 1 0;
	min-width: 0;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name .product-quantity {
	font-size: 13px;
	font-weight: 400;
	color: var(--cj-text-muted);
	white-space: nowrap;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation {
	flex-basis: 100%;
	margin: 0;
	padding-inline-start: 68px;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total {
	text-align: end;
	font-weight: 500;
	white-space: nowrap;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
	font-weight: 400;
	color: var(--cj-text-muted);
	text-align: start;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
	text-align: end;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
	padding: 16px 0 4px;
	border: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--cj-black);
}

.woocommerce-checkout .woocommerce-remove-coupon {
	margin-inline-start: 6px;
	font-size: 12px;
	color: var(--cj-text-muted);
}

/* Coupon box */
.checkout-coupon {
	margin: 12px 0 16px;
	padding: 0 0 16px;
	border-block-end: 1px solid var(--cj-border);
}

.checkout-coupon__toggle {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 14px;
	color: var(--cj-black);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.checkout-coupon__form {
	display: flex;
	gap: 8px;
	margin-block-start: 12px;
}

.checkout-coupon__form .input-text {
	flex: 1 1 0;
	min-width: 0;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-input);
	background: var(--cj-white);
	font-size: 14px;
}

.checkout-coupon__form .input-text:focus {
	outline: 0;
	border-color: var(--cj-black);
}

.checkout-coupon__form .button {
	min-height: 46px;
	padding: 0 20px;
}

.checkout-coupon.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.checkout-coupon__msg:empty {
	display: none;
}

.checkout-coupon__msg {
	margin-block-start: 10px;
}

.checkout-coupon__msg .woocommerce-error,
.checkout-coupon__msg .woocommerce-message,
.checkout-coupon__msg .woocommerce-info {
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	background: var(--cj-white);
	font-size: 13px;
	line-height: 1.5;
	list-style: none;
}

.checkout-coupon__msg .woocommerce-error::before,
.checkout-coupon__msg .woocommerce-message::before,
.checkout-coupon__msg .woocommerce-info::before {
	display: none;
}

.checkout-coupon__msg .woocommerce-error {
	background: #fdecec;
	color: #b3261e;
}

.checkout-coupon__msg .woocommerce-message {
	background: #e6f4ea;
	color: #14532d;
}

/* Payment */
.woocommerce-checkout #payment,
.woocommerce-checkout #payment.woocommerce-checkout-payment {
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	list-style: none;
	text-align: start;
}

.woocommerce-checkout #payment ul.payment_methods li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 10px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--cj-border);
	border-radius: 12px;
	background: var(--cj-white);
	line-height: 1.4;
	text-align: start;
}

.woocommerce-checkout #payment ul.payment_methods li.woocommerce-notice,
.woocommerce-checkout #payment ul.payment_methods li.woocommerce-info {
	display: block;
	border-color: transparent;
	background: #fdecec;
	color: #b3261e;
	font-size: 14px;
}

.woocommerce-checkout #payment ul.payment_methods li.woocommerce-info::before {
	display: none;
}

.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cj-black);
}

.woocommerce-checkout #payment ul.payment_methods li > label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li > label img {
	display: inline-block;
	max-height: 22px;
	vertical-align: middle;
}

.woocommerce-checkout #payment div.payment_box {
	grid-column: 1 / -1;
	width: auto;
	margin: 10px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--cj-surface-2);
	font-size: 13px;
	line-height: 1.5;
	color: var(--cj-text-muted);
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

.woocommerce-checkout #payment div.payment_box p:last-child {
	margin-block-end: 0;
}

.woocommerce-checkout #payment div.form-row.place-order {
	margin: 0;
	padding: 0;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	margin: 0 0 14px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--cj-text-muted);
}

.woocommerce-checkout .woocommerce-privacy-policy-text p {
	margin: 0 0 12px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
	font-size: 13px;
	color: var(--cj-black);
}

.woocommerce-checkout #payment #place_order,
.woocommerce #payment #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	float: none;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 0 24px;
	font-size: 15px;
}

.checkout-secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--cj-text-muted);
}

.checkout-secure .icon {
	width: 16px;
	height: 16px;
}

/* Order received */
.woocommerce-order .woocommerce-notice {
	margin: 0 0 24px;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
}

.woocommerce-order ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin: 0 0 32px;
	padding: 20px 24px;
	border: 1px solid var(--cj-border);
	border-radius: var(--cj-radius-card);
	background: var(--cj-surface);
	list-style: none;
}

.woocommerce-order ul.woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 13px;
	color: var(--cj-text-muted);
}

.woocommerce-order ul.woocommerce-order-overview li strong {
	display: block;
	margin-block-start: 4px;
	font-size: 15px;
	color: var(--cj-black);
}

/* -------------------------------------------------------------------------
   My account
   ------------------------------------------------------------------------- */
.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 40px;
	align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 20px;
	border-radius: var(--cj-radius-panel);
	background: var(--cj-surface-2);
}

.woocommerce-MyAccount-navigation li.is-active a {
	background: var(--cj-black);
	color: var(--cj-white);
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
	grid-column: 1 / -1;
	max-width: 520px;
	margin: 0 auto;
	padding: 32px;
	border: 0;
	border-radius: var(--cj-radius-card);
	background: var(--cj-surface-2);
}

/* -------------------------------------------------------------------------
   Notices
   ------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
	list-style: none;
	padding: 18px 24px;
	margin: 0 0 24px;
	border: 0;
	border-radius: var(--cj-radius-panel);
	background: var(--cj-surface-2);
	color: var(--cj-black);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message .button {
	margin-inline-start: 12px;
	padding: 10px 18px;
}

.woocommerce-error {
	background: #fff1f0;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1200px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1fr) 420px;
		gap: 40px;
	}
}

@media (max-width: 1024px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.woocommerce div.product > div.summary {
		position: static;
		order: 0;
	}

	.product-gallery {
		order: -1;
	}

	.product-gallery--1 {
		position: static;
	}

	.product-gallery--1 .product-gallery-item {
		height: auto;
		min-height: 0;
		aspect-ratio: 1;
	}

	.archive-banner {
		height: 300px;
	}

	.archive-banner-box {
		padding-block-end: 48px;
	}

	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}

	.woocommerce-cart .woocommerce {
		display: block;
	}

	.woocommerce-cart .cart-collaterals {
		position: static;
		margin-block-start: 32px;
	}

	.woocommerce-checkout form.checkout {
		display: block;
	}

	.woocommerce-checkout form.checkout #order_review {
		position: static;
		margin-block-start: 32px;
	}
}

@media (max-width: 768px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.product-card-content {
		padding: 14px 12px 20px;
	}

	.product-card-title,
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 15px;
	}

	.product-gallery {
		gap: 12px;
	}

	.woocommerce table.shop_table {
		font-size: 13px;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-columns: 72px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name remove"
			"thumb price price"
			"thumb qty subtotal";
		gap: 4px 14px;
	}

	.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
		width: 72px;
		height: 72px;
	}

	.woocommerce-cart table.shop_table.cart td.product-name {
		align-self: start;
		font-size: 14px;
	}

	.woocommerce-cart table.shop_table.cart td.product-quantity {
		margin-block-start: 6px;
	}

	.woocommerce-cart table.shop_table.cart td.product-subtotal {
		align-self: end;
		min-width: 0;
	}

	.woocommerce-cart table.shop_table.cart td.actions .coupon {
		width: 100%;
	}

	.woocommerce-cart .cart-collaterals .cart_totals,
	.woocommerce-checkout #order_review {
		padding: 20px;
	}

	/* Keep the totals as a two-column table on phones (WooCommerce stacks
	   and stripes responsive tables). */
	.woocommerce-cart .cart_totals table.shop_table_responsive tr,
	.woocommerce-checkout table.shop_table_responsive tr {
		display: table-row;
	}

	.woocommerce-cart .cart_totals table.shop_table_responsive tr th,
	.woocommerce-cart .cart_totals table.shop_table_responsive tr td,
	.woocommerce-checkout table.shop_table_responsive tr th,
	.woocommerce-checkout table.shop_table_responsive tr td {
		display: table-cell;
		width: auto;
		background: transparent;
	}

	.woocommerce-cart .cart_totals table.shop_table_responsive tr th,
	.woocommerce-checkout table.shop_table_responsive tr th {
		text-align: start !important;
	}

	.woocommerce-cart .cart_totals table.shop_table_responsive tr td,
	.woocommerce-checkout table.shop_table_responsive tfoot tr td,
	.woocommerce-checkout table.shop_table_responsive tr td.product-total {
		text-align: end !important;
	}

	.woocommerce-cart .cart_totals table.shop_table_responsive tr td::before,
	.woocommerce-checkout table.shop_table_responsive tr td::before,
	.woocommerce-cart table.shop_table.cart tr td::before {
		display: none;
	}

	.woocommerce-cart table.shop_table.cart tr:nth-child(2n) td,
	.woocommerce-cart table.shop_table.cart tr td {
		background: transparent;
	}

	.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text,
	.woocommerce-page table.shop_table.cart td.actions .coupon .input-text {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		margin: 0;
		float: none;
	}

	.woocommerce-cart table.shop_table.cart td.actions .coupon .button,
	.woocommerce-page table.shop_table.cart td.actions .coupon .button {
		flex: 0 0 auto;
		width: auto;
		float: none;
	}

	.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name {
		display: flex;
	}
}

@media (max-width: 480px) {
	.woocommerce div.product form.cart .single_add_to_cart_button {
		flex-basis: 100%;
	}

	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.woocommerce-billing-fields__field-wrapper .form-row,
	.woocommerce-shipping-fields__field-wrapper .form-row {
		grid-column: 1 / -1;
	}
}

/* -------------------------------------------------------------------------
   Plain (no photo) banner for the "all products" page + load more
   ------------------------------------------------------------------------- */
.archive-banner--plain {
	height: auto;
	padding-block: 96px 24px;
	background: var(--cj-white);
	color: var(--cj-black);
	align-items: center;
}

.archive-banner--plain::before {
	display: none;
}

.archive-banner--plain .archive-banner-box {
	padding-block: 0 24px;
}

.archive-banner--plain + .shop-main.section--rounded {
	margin-block-start: 0;
	padding-block-start: 24px;
}

.woocommerce nav.woocommerce-pagination {
	display: none;
}

.load-more-wrap {
	margin-block-start: 48px;
}

.load-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.search-products ul.products {
	margin-block-end: 0;
}

/* -------------------------------------------------------------------------
   Phones: two cards per row with every detail readable
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.product-card-content {
		padding: 12px 10px 14px;
		gap: 6px;
	}

	.product-card-title,
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px;
		font-weight: 600;
		line-height: 1.3;
	}

	.product-card-price {
		font-size: 15px;
		font-weight: 600;
	}

	/* Spec strip: one row, three items visible, swipe sideways for the rest. */
	.product-card-icons {
		display: flex;
		flex-wrap: nowrap;
		gap: 0;
		padding: 8px 4px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.product-card-icons:has(> :nth-child(4)) {
		-webkit-mask-image: linear-gradient(to left, transparent 0, #000 14px, #000 calc(100% - 6px), transparent 100%);
		mask-image: linear-gradient(to left, transparent 0, #000 14px, #000 calc(100% - 6px), transparent 100%);
	}

	.product-card-icon {
		flex: 0 0 33.333%;
		flex-direction: column;
		justify-content: flex-start;
		gap: 4px;
		margin: 0;
		padding: 0 3px;
		border-inline-start: 1px solid var(--cj-border);
		scroll-snap-align: start;
	}

	.product-card-icon:first-child {
		border-inline-start: 0;
	}

	.product-card-icon .icon,
	.product-card-icon .spec-icon {
		width: auto;
		height: 22px;
		max-width: 34px;
	}

	.spec-text {
		align-items: center;
		gap: 2px;
		text-align: center;
	}

	.spec-value {
		font-size: 10.5px;
		font-weight: 600;
		line-height: 1.15;
		white-space: normal;
	}

	.spec-caption {
		font-size: 8.5px;
		white-space: normal;
	}
}

/* -------------------------------------------------------------------------
   Product page on phones: bar fixed to the bottom + a tighter layout
   ------------------------------------------------------------------------- */
.buy-bar {
	position: fixed;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 86;
	display: none;
	align-items: center;
	gap: 10px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-block-start: 1px solid var(--cj-border);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
}

.buy-bar-whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border: 1px solid var(--cj-whatsapp);
	border-radius: 50%;
	background: var(--cj-white);
	color: var(--cj-whatsapp);
	text-decoration: none;
}

.buy-bar-whatsapp .icon {
	width: 26px;
	height: 26px;
}

.buy-bar-add {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 0;
	min-width: 0;
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--cj-black);
	color: var(--cj-white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background 200ms ease, transform 150ms ease;
}

.buy-bar-add:active {
	transform: scale(0.98);
}

.buy-bar-add.is-disabled {
	background: #8f8f8f;
}

.buy-bar-price {
	font-weight: 500;
	opacity: 0.9;
	white-space: nowrap;
}

.buy-bar-price:empty {
	display: none;
}

.woocommerce div.product form.cart .variations.is-attention {
	animation: cj-attention 1.2s ease;
	border-radius: var(--cj-radius-panel);
}

@keyframes cj-attention {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(23, 23, 23, 0);
	}

	30% {
		box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.25);
	}
}

/* Folded description */
.product-text.is-collapsed {
	max-height: 7.4em;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 60%, transparent 100%);
	mask-image: linear-gradient(#000 60%, transparent 100%);
}

.product-text-more {
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--cj-black);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

@media (max-width: 768px) {
	.single-product .buy-bar {
		display: flex;
	}

	body.single-product.has-buy-bar .site-footer {
		padding-block-end: 84px;
	}

	/* The bar carries the buttons; the in-flow ones go. */
	body.single-product.has-buy-bar div.product form.cart .single_add_to_cart_button,
	body.single-product.has-buy-bar div.product form.cart .product-whatsapp {
		display: none;
	}

	body.single-product.has-buy-bar div.product form.cart {
		margin-block-start: 0;
	}

	/* Tighter stack: image, title + price, folded text, options, specs. */
	.woocommerce div.product {
		gap: 18px;
	}

	.product-gallery--1 .product-gallery-item {
		aspect-ratio: 1 / 0.86;
	}

	.woocommerce div.product .product_title {
		font-size: 21px;
	}

	.product-price {
		font-size: 19px;
		gap: 2px;
	}

	.product-price del {
		font-size: 13px;
	}

	.product-text {
		margin-block-start: 14px;
		font-size: 14px;
		line-height: 1.6;
	}

	.product-text p {
		margin-block-end: 10px;
	}

	.woocommerce div.product form.cart .variations {
		margin: 14px 0 0;
	}

	.woocommerce div.product form.cart .variations td.label,
	.woocommerce div.product form.cart .variations th.label {
		padding-block-end: 4px;
		font-size: 13px;
	}

	.woocommerce div.product form.cart .variations select {
		min-height: 46px;
		line-height: 44px;
		font-size: 14px;
	}

	.woocommerce div.product form.cart .reset_variations {
		font-size: 12px;
	}

	.product-highlights {
		gap: 12px;
		margin-block-start: 16px;
		padding: 14px 14px 12px;
	}

	.product-highlights-title {
		font-size: 15px;
	}

	.product-highlights-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.product-highlight {
		flex: none;
		gap: 8px;
		padding: 10px 12px;
	}

	.product-highlight .icon,
	.product-highlight .spec-icon {
		width: auto;
		height: 26px;
		max-width: 44px;
	}

	.product-highlight .spec-value {
		font-size: 12px;
	}

	.product-highlight .spec-caption {
		font-size: 10px;
	}

	.product-info-rows {
		margin-block-start: 12px;
		padding: 8px 12px;
	}

	.product-info-row {
		gap: 8px;
		padding: 10px 8px;
		font-size: 12.5px;
	}

	.product-info-row .icon {
		width: 20px;
		height: 20px;
	}

	.product-accordion {
		margin-block-start: 12px;
	}

	.product-accordion .faq-summary {
		padding: 14px 0;
		font-size: 15px;
	}
}
