/* =========================================================================
   Chubby Chair — WooCommerce skin
   Re-creates the Next.js shop / product / cart / checkout / account designs.
   RTL-first; LTR rows (image grids, swatch rows, dot rows) opt back in.
   Depends on tokens.css (CSS vars + primitive classes).
   ========================================================================= */

/* ----------------------------------------------------------- shop shell */
.cc-shop {
	padding-block: 1.5rem 5rem;
}

/* ===================================================== SHOP ARCHIVE === */
.cc-shop__head {
	padding-block: 1rem 0;
}
.cc-shop__title {
	text-align: center;
	font-size: 2.25rem;          /* text-4xl */
	font-weight: 800;
	line-height: 1.1;
}
@media (min-width: 768px) {
	.cc-shop__title { font-size: 3rem; } /* md:text-5xl */
}

.cc-shop__tabs {
	margin-top: 3rem;            /* mt-12 */
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;                 /* gap-10 */
}
.cc-shop__tab {
	padding-block: .75rem;       /* py-3 */
	font-size: 1rem;
	font-weight: 600;
	opacity: .4;
	transition: opacity .2s ease;
}
.cc-shop__tab:hover { opacity: .7; }
.cc-shop__tab.is-active { opacity: 1; }

.cc-shop__empty {
	margin-top: 3rem;
	text-align: center;
	color: var(--neutral-400);
	font-weight: 600;
}

/* ------------------------------------------------------- product grid */
.cc-shop ul.products {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;                /* gap-5 */
	direction: ltr;             /* LTR row of cards, like the source */
}
@media (min-width: 640px) {
	.cc-shop ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.cc-shop ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
	.cc-shop ul.products { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------- product card */
.cc-card {
	list-style: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
}
.cc-card__link {
	display: flex;
	flex-direction: column;
	gap: .75rem;                 /* gap-3 */
	border-radius: var(--radius);/* rounded-2xl */
	background: var(--neutral-soft);
	padding: .75rem .75rem 1rem; /* pt-3 px-3 pb-4 */
	transition: box-shadow .3s ease;
}
.cc-card__link:hover {
	opacity: 1;
	box-shadow: var(--shadow-card);
}
.cc-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: var(--radius-sm); /* rounded-xl */
	background: #fff;
}
.cc-card__img {
	width: auto;
	max-width: 72.5%;
	max-height: 72.5%;
	height: auto;
	object-fit: contain;
	transition: transform .3s ease;
}
.cc-card__link:hover .cc-card__img { transform: scale(1.05); }

.cc-card__body {
	direction: rtl;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .25rem;
	padding-inline: .25rem;
	text-align: right;
}
.cc-card__title {
	font-size: 1.25rem;          /* text-xl */
	font-weight: 800;
	line-height: 1.1;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cc-card__price {
	display: flex;
	align-items: center;
	width: 100%;
	height: 29px;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
}
.cc-card__price .cc-amount__num { font-weight: 800; }
.cc-card__dots {
	display: flex;
	align-items: center;
	gap: .375rem;
	margin-top: .25rem;
}
.cc-card__dot {
	display: block;
	height: 12px;
	width: 12px;
	border-radius: 9999px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

/* ===================================================== SINGLE PRODUCT === */
.cc-product__hero {
	display: flex;
	flex-direction: column;
	gap: 3rem;                   /* gap-12 */
	padding-block: 1.5rem 4rem;
}
@media (min-width: 768px) {
	.cc-product__hero {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 4rem;                 /* md:gap-16 */
		padding-bottom: 6rem;      /* md:pb-24 */
	}
}

/* INFO column — DOM first → right in RTL */
.cc-product__info {
	display: flex;
	width: 100%;
	max-width: 440px;
	flex-direction: column;
	align-items: flex-end;
	gap: 2.5rem;                 /* gap-10 */
	text-align: right;
}
@media (min-width: 768px) { .cc-product__info { order: 1; } }

.cc-product__title {
	font-size: 1.875rem;         /* text-3xl */
	font-weight: 800;
	line-height: 1.25;
}
@media (min-width: 768px) { .cc-product__title { font-size: 32px; } }

.cc-product__buybox {
	display: flex;
	width: 100%;
	max-width: 260px;
	flex-direction: column;
	align-items: flex-end;
	gap: 1.25rem;                /* gap-5 */
}

.cc-product__pricerow {
	display: flex;
	align-items: center;
	gap: .75rem;
}
.cc-product__price .cc-amount__num {
	font-size: 1.5rem;           /* text-2xl */
	font-weight: 800;
	line-height: 1;
}
.cc-product__old {
	position: relative;
	font-size: 1.5rem;
	font-weight: 600;
	opacity: .2;
}
.cc-product__old::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 50%;
	height: 1px;
	background: rgba(0, 0, 0, .4);
}

/* colour label + swatches */
.cc-product__colors {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-end;
	gap: .75rem;
}
.cc-product__colorlabel {
	font-size: .875rem;
	font-weight: 600;
	opacity: .6;
}
.cc-swatches {
	display: flex;
	align-items: center;
	gap: .75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
/* swatch active state uses the .cc-swatch primitive's ring approach */
.cc-product .cc-swatch.is-active::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 9999px;
	border: 2px solid #000;
	box-shadow: 0 0 0 2px #fff inset;
}

/* add-to-cart button (WooCommerce form, restyled) */
.cc-product__buybox .button,
.cc-product__buybox .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding-inline: 1.25rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: #000;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	width: auto;
}
.cc-product__buybox .single_add_to_cart_button[disabled],
.cc-product__buybox .single_add_to_cart_button.disabled {
	opacity: .4;
	cursor: not-allowed;
}

/* hide WooCommerce's native variation table + qty — swatches drive it */
.cc-product .variations,
.cc-product .variations_form .variations { display: none; }
.cc-product .woocommerce-variation-add-to-cart .quantity { display: none; }
.cc-product .woocommerce-variation-price,
.cc-product .woocommerce-variation-availability,
.cc-product .woocommerce-variation-description,
.cc-product .reset_variations { display: none; }
.cc-product form.cart {
	margin: 0;
	display: flex;
	justify-content: flex-end;
	width: 100%;
}
.cc-product form.cart .quantity,
.cc-product .quantity { display: none !important; }

.cc-product__short-description {
	width: 100%;
	max-width: 440px;
	direction: rtl;
	text-align: justify;
	text-justify: inter-word;
	font-size: 1rem;
	line-height: 1.9;
	font-weight: 500;
	opacity: .72;
	overflow: visible;
}
.cc-product__short-description :is(p, ul, ol, div) {
	max-width: none;
	max-height: none;
	margin: 0 0 .75rem;
	overflow: visible;
	white-space: normal;
	-webkit-line-clamp: unset;
}
.cc-product__short-description :is(ul, ol) {
	padding-inline-start: 1.5rem;
}
.cc-product__short-description > :last-child { margin-bottom: 0; }

.cc-product__lowstock {
	font-size: 1rem;
	font-weight: 800;
	color: #ff383c;
}

.cc-product__features {
	direction: rtl;
	width: 100%;
	list-style: disc;
	padding-inline-end: 1.5rem;
	margin: 0;
	text-align: right;
	font-size: 1rem;
	font-weight: 600;
	opacity: .6;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

/* GALLERY column — DOM second → left in RTL */
.cc-product__gallery {
	display: flex;
	width: 100%;
	max-width: 500px;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}
@media (min-width: 768px) { .cc-product__gallery { order: 2; } }

.cc-product__stage {
	position: relative;
	display: flex;
	aspect-ratio: 1 / 1;
	width: 100%;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--neutral-soft);
}
.cc-product__stage-link {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}
.cc-product__stage-link:hover { opacity: 1; }
.cc-product__stage-img {
	max-height: 82%;
	max-width: 86%;
	height: auto;
	width: auto;
	object-fit: contain;
	transition: filter .2s ease, opacity .2s ease;
}

.cc-product__thumbs {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
}
.cc-product__thumb {
	position: relative;
	display: grid;
	place-items: center;
	height: 96px;
	width: 96px;
	flex-shrink: 0;
	overflow: hidden;
	border: 0;
	padding: .75rem;
	border-radius: var(--radius);
	background: var(--neutral-soft);
	cursor: pointer;
	opacity: .6;
	transition: opacity .2s ease, box-shadow .2s ease;
}
@media (min-width: 768px) {
	.cc-product__thumb { height: 108px; width: 108px; }
}
.cc-product__thumb:hover { opacity: 1; }
.cc-product__thumb.is-active {
	opacity: 1;
	box-shadow: 0 0 0 2px #000;
}
.cc-product__thumb-img {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* ============================================================== TABS === */
.cc-tabs {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--neutral-soft);
	margin-top: 1rem;
	direction: rtl;
}
.cc-tabs__head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2.5rem;
	overflow-x: auto;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
	padding-inline: 1.5rem;
	padding-top: .75rem;
}
@media (min-width: 768px) {
	.cc-tabs__head { padding-inline: 2.5rem; }
}
.cc-tabs__tab {
	position: relative;
	flex: 0 0 auto;
	border: 0;
	background: none;
	padding-block: .75rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: #000;
	cursor: pointer;
	opacity: .4;
	transition: opacity .2s ease;
}
.cc-tabs__tab:hover { opacity: .7; }
.cc-tabs__tab.is-active {
	opacity: 1;
	border-bottom: 2px solid #000;
	margin-bottom: -1px;
}
.cc-tabs__panel {
	padding: 1.25rem;
	direction: rtl;
	text-align: right;
}
@media (min-width: 768px) { .cc-tabs__panel { padding: 2.5rem; } }
.cc-tabs__panel[hidden] { display: none; }
.cc-tabs__content {
	width: 100%;
	direction: rtl;
	text-align: right;
}
.cc-tabs__panel--description .cc-tabs__content {
	max-width: 840px;
	margin-right: 0;
	margin-left: auto;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: var(--radius-sm);
	background: #fff;
	padding: 1.25rem;
	direction: rtl;
	text-align: justify;
	text-justify: inter-word;
}
.cc-tabs__panel--description .cc-tabs__content :is(p, div, li) {
	text-align: justify;
	text-justify: inter-word;
}
@media (min-width: 768px) {
	.cc-tabs__panel--description .cc-tabs__content { padding: 1.75rem 2rem; }
}

/* panel prose */
.cc-tabs__panel :is(p, li, div) {
	direction: rtl;
}
.cc-tabs__panel p {
	max-width: none;
	margin: 0 0 1rem;
	line-height: 1.95;
	font-size: 1rem;
	font-weight: 500;
	opacity: .75;
	text-align: justify;
	text-justify: inter-word;
}
.cc-tabs__panel p:last-child { margin-bottom: 0; }
.cc-tabs__panel ul,
.cc-tabs__panel ol {
	padding-inline-start: 1.5rem;
	line-height: 1.9;
	opacity: .75;
}
.cc-tabs__panel table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}
.cc-tabs__panel table.shop_attributes th,
.cc-tabs__panel table.shop_attributes td {
	padding: .75rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	text-align: right;
}
.cc-tabs__panel table.shop_attributes th { font-weight: 700; width: 30%; }
.cc-tabs__panel table.shop_attributes td { opacity: .7; }
.cc-tabs__panel .woocommerce-Reviews-title { display: none; }

/* reviews inside tab */
.cc-tabs__panel .woocommerce-Reviews .comment-form input[type="text"],
.cc-tabs__panel .woocommerce-Reviews .comment-form input[type="email"],
.cc-tabs__panel .woocommerce-Reviews .comment-form textarea {
	width: 100%;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: var(--radius-sm);
	padding: .75rem 1rem;
	font-family: inherit;
	background: #fff;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding-inline: 1.25rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--neutral-soft);
	color: #616161;
	font-weight: 500;
	cursor: pointer;
}


.cc-tabs__panel .woocommerce-Reviews {
	direction: rtl;
	text-align: right;
}
.cc-tabs__panel .woocommerce-Reviews ol.commentlist {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.cc-tabs__panel .woocommerce-Reviews ol.commentlist li.review {
	margin: 0;
	padding: 1.25rem;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .06);
}
.cc-tabs__panel .woocommerce-Reviews ol.commentlist li .comment_container {
	display: grid;
	grid-template-columns: 1fr;
	gap: .75rem;
}
.cc-tabs__panel .woocommerce-Reviews ol.commentlist li img.avatar {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	border: 0;
	float: none;
	position: static;
}
.cc-tabs__panel .woocommerce-Reviews ol.commentlist li .meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
	margin: 0 0 .5rem;
	font-size: .9375rem;
}
.cc-tabs__panel .woocommerce-Reviews ol.commentlist li .description p:last-child {
	margin-bottom: 0;
}
.cc-tabs__panel .woocommerce-Reviews .comment-reply-title,
.cc-tabs__panel .woocommerce-Reviews #reply-title,
.cc-tabs__panel .woocommerce-Reviews .nice-select,
.cc-tabs__panel .woocommerce-Reviews .woocommerce-noreviews,
.cc-tabs__panel .woocommerce-Reviews .comment-notes,
.cc-tabs__panel .woocommerce-Reviews .must-log-in,
.cc-tabs__panel .woocommerce-Reviews .logged-in-as {
	display: block;
	margin-bottom: 1rem;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form {
	display: grid;
	gap: 1rem;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form label {
	display: inline-block;
	margin-bottom: .5rem;
	font-weight: 700;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form-comment,
.cc-tabs__panel .woocommerce-Reviews .comment-form-author,
.cc-tabs__panel .woocommerce-Reviews .comment-form-email,
.cc-tabs__panel .woocommerce-Reviews .comment-form-rating {
	margin: 0;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form input[type="text"],
.cc-tabs__panel .woocommerce-Reviews .comment-form input[type="email"],
.cc-tabs__panel .woocommerce-Reviews .comment-form textarea {
	width: 100%;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: var(--radius-sm);
	padding: .75rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	text-align: right;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form textarea {
	min-height: 160px;
	resize: vertical;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding-inline: 1.25rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: #000;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.cc-tabs__panel .woocommerce-Reviews .comment-form-rating .stars {
	display: none !important;
}
.cc-tabs__panel .star-rating {
	position: relative;
	display: inline-block;
	font-size: 1.125rem;
	line-height: 1;
	letter-spacing: .15rem;
	color: #d7d7d7;
	overflow: hidden;
	vertical-align: middle;
}
.cc-tabs__panel .star-rating::before {
	content: "★★★★★";
	display: block;
}
.cc-tabs__panel .star-rating > span {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	color: #ffb400;
	text-indent: -9999px;
}
.cc-tabs__panel .star-rating > span::before {
	content: "★★★★★";
	position: absolute;
	inset: 0 auto 0 0;
	text-indent: 0;
}
.cc-tabs__panel .cc-rating-stars {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: .25rem;
}
.cc-tabs__panel .cc-rating-stars button {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 1.75rem;
	line-height: 1;
	color: #d7d7d7;
	cursor: pointer;
	transition: transform .15s ease, color .15s ease;
}
.cc-tabs__panel .cc-rating-stars button::before {
	content: "★";
}
.cc-tabs__panel .cc-rating-stars button:hover,
.cc-tabs__panel .cc-rating-stars button:focus-visible,
.cc-tabs__panel .cc-rating-stars button.is-active {
	color: #ffb400;
	transform: translateY(-1px);
}
.cc-tabs__panel .cc-rating-stars button:focus-visible {
	outline: 2px solid rgba(0, 0, 0, .2);
	outline-offset: 3px;
	border-radius: 4px;
}
.cc-tabs__panel .cc-rating-select {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (min-width: 768px) {
	.cc-tabs__panel .woocommerce-Reviews ol.commentlist li .comment_container {
		grid-template-columns: 56px 1fr;
		align-items: start;
	}
}

/* ===================================================== RELATED ======== */
.cc-related {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	padding-block: 5rem;
}
.cc-related__title {
	text-align: center;
	font-size: 32px;
	font-weight: 800;
}
.cc-related ul.products {
	width: 100%;
	margin: 0;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
	.cc-related ul.products { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================== CART === */
.cc-cart { padding-block: 0 5rem; }

.cc-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.5rem 2.5rem;
}
.cc-cart__title {
	font-size: 2.25rem;
	font-weight: 800;
}
.cc-btn--ghost {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding-inline: 1.25rem;
	border-radius: var(--radius);
	background: var(--neutral-soft);
	color: #616161;
	font-size: 1rem;
	font-weight: 500;
}

.cc-cart__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin: 0;
}
@media (min-width: 768px) {
	/* minmax(0, …) lets the lines column shrink instead of forcing the receipt
	   off-screen when the line content is wide. */
	.cc-cart__layout { grid-template-columns: minmax(0, 1fr) 354px; }
}

.cc-cart__lines {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.cc-cart__line {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}

.cc-cart__thumb {
	position: relative;
	display: grid;
	place-items: center;
	height: 140px;
	width: 140px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 6px;
	border: 1px solid #f1f1f1;
	background: #fff;
}
.cc-cart__thumb-img {
	height: 88px;
	width: auto;
	object-fit: contain;
}
.cc-cart__thumb a { display: contents; }
.cc-cart__remove {
	position: absolute;
	top: -8px;
	inset-inline-start: -8px;
	display: grid;
	place-items: center;
	height: 24px;
	width: 24px;
	border-radius: 9999px;
	background: var(--neutral-soft);
	color: #000;
}
.cc-cart__remove:hover { opacity: 1; background: #ececec; }
.cc-cart__remove img {
	display: block;
	width: 16px;
	height: 16px;
	max-width: none;
}

.cc-cart__name {
	flex: 1 1 160px;
	min-width: 0;
	text-align: right;
}
.cc-cart__name a,
.cc-cart__name { color: #000; }
.cc-cart__name > a,
.cc-cart__name p { font-size: 1.125rem; font-weight: 800; }
.cc-cart__name .variation { font-size: .8125rem; font-weight: 500; opacity: .5; margin-top: .25rem; }

.cc-cart__qty {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 1.25rem;
	direction: ltr;
}
.cc-qty-btn {
	display: grid;
	place-items: center;
	height: 48px;
	width: 48px;
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
}
.cc-qty-btn--minus { background: var(--neutral-soft); color: #000; }
.cc-qty-btn--plus { background: #000; color: #fff; }
.cc-qty-btn__minus-icon,
.cc-qty-btn__plus-icon {
	display: block;
	max-width: none;
	object-fit: contain;
}
.cc-qty-btn__minus-icon { width: 16px; height: 2px; }
.cc-qty-btn__plus-icon { width: 24px; height: 24px; }
.cc-cart__qty-val {
	font-size: 1.25rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	min-width: 1rem;
	text-align: center;
}
/* keep the real WooCommerce qty field present but invisible (drives update) */
.cc-cart__qty .quantity,
.cc-cart__qty input.cc-cart__qty-input,
.cc-cart__qty input.qty {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	border: 0;
}

.cc-cart__price {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: .5rem;
	margin-inline-start: auto;
}
.cc-cart__price .cc-amount__num { font-size: 1.5rem; font-weight: 800; }

.cc-cart__actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-start;
	margin-top: .5rem;
}
.cc-cart__update {
	height: 44px;
	padding-inline: 1.25rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--neutral-soft);
	color: #616161;
	font-weight: 600;
	cursor: pointer;
}

/* ---------------------------------------------------------- receipt card */
.cc-receipt {
	height: fit-content;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	border-radius: var(--radius);
	background: var(--neutral-soft);
	padding: 1.5rem;
}
.cc-receipt__block { display: flex; flex-direction: column; gap: 1.25rem; }
.cc-receipt__heading { width: 100%; font-size: 1rem; font-weight: 800; text-align: right; }

.cc-receipt__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.cc-receipt__item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	font-size: .875rem;
	direction: ltr;
}
.cc-receipt__item-price { display: flex; align-items: center; gap: .25rem; font-weight: 700; }
.cc-receipt__item-name {
	direction: rtl;
	min-width: 0;
	max-width: 180px;
	overflow: hidden;
	font-weight: 600;
	opacity: .4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cc-receipt__shipping { display: flex; flex-direction: column; gap: .75rem; }
.cc-ship {
	display: flex;
	width: 100%;
	cursor: pointer;
	align-items: flex-start;
	gap: .75rem;
	direction: ltr;
}
.cc-ship__label { direction: rtl; flex-shrink: 0; font-size: .875rem; font-weight: 500; }
.cc-ship__main {
	display: flex;
	flex: 1;
	align-items: flex-start;
	justify-content: flex-end;
	gap: .5rem;
}
.cc-ship__text {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .25rem;
	text-align: right;
	direction: rtl;
	font-size: .875rem;
	line-height: 1.4;
}
.cc-ship__title { font-weight: 600; color: #1e1e1e; }
.cc-ship__sub { font-weight: 400; color: #757575; }
.cc-ship__radio { display: grid; place-items: center; height: 24px; width: 24px; }
.cc-ship__dot {
	display: grid;
	place-items: center;
	height: 16px;
	width: 16px;
	border-radius: 9999px;
	border: 1px solid rgba(0, 0, 0, .2);
	background: #e6e6e6;
}
.cc-ship__dot span { height: 8px; width: 8px; border-radius: 9999px; background: transparent; }
.cc-ship__radio input:checked + .cc-ship__dot { border-color: #2c2c2c; background: transparent; }
.cc-ship__radio input:checked + .cc-ship__dot span { background: #1e1e1e; }

.cc-receipt__divider { height: 0; width: 100%; border-top: 1px solid rgba(0, 0, 0, .1); background: transparent; }

.cc-receipt__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	direction: ltr;
}
.cc-receipt__total-amount { display: flex; align-items: center; gap: .25rem; }
.cc-receipt__total-amount .cc-amount__num { font-size: 1.25rem; font-weight: 800; }
.cc-receipt__total-label { font-size: 1rem; font-weight: 600; opacity: .4; }

.cc-receipt__pay {
	width: 100%;
	height: 48px;
}

/* empty cart fallback */
.cc-shop .cart-empty,
.cc-shop .wc-empty-cart-message {
	text-align: center;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--neutral-400);
	padding-block: 3rem;
}
.cc-shop .return-to-shop { text-align: center; margin-bottom: 4rem; }
.cc-shop .return-to-shop .button { /* reuse ghost button look */
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding-inline: 1.5rem;
	border-radius: var(--radius);
	background: #000;
	color: #fff;
	font-weight: 700;
}

/* ========================================================== CHECKOUT === */
.cc-checkout { padding-block: 1.5rem 5rem; }
.cc-checkout__title { font-size: 2.25rem; font-weight: 800; margin-bottom: 2rem; text-align: right; }
.cc-checkout__subtitle { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.25rem; text-align: right; }

.cc-checkout__form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}
@media (min-width: 900px) {
	.cc-checkout__form { grid-template-columns: 1fr 380px; }
}

.cc-checkout .cc-card {
	border-radius: var(--radius-lg);
	background: var(--neutral-soft);
	padding: 2rem;
}

/* ----------------------------------------------------------- pagination */
.woocommerce-pagination {
	direction: ltr;
	display: flex;
	justify-content: center;
}
.woocommerce-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.woocommerce-pagination ul.page-numbers li {
	display: block;
}
.woocommerce-pagination .page-numbers :is(a, span),
.woocommerce-pagination :is(a.page-numbers, span.page-numbers) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 6px 16px 8px;
	border: 0;
	border-radius: 44px;
	color: #616161;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: .1px;
}
.woocommerce-pagination .page-numbers .current,
.woocommerce-pagination span.page-numbers.current {
	width: 48px;
	height: 48px;
	background: #f7f7f7;
}
.woocommerce-pagination .prev,
.woocommerce-pagination .next {
	display: none !important;
}
.cc-checkout__card {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
.cc-checkout__col h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: 1rem; text-align: right; }

/* form fields */
.cc-checkout .form-row,
.cc-checkout p.form-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: .375rem;
	margin-bottom: 1rem;
	text-align: right;
}
.cc-checkout label { font-size: .875rem; font-weight: 600; }
.cc-checkout input.input-text,
.cc-checkout textarea,
.cc-checkout select,
.cc-checkout .select2-container .select2-selection {
	width: 100%;
	min-height: 48px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: var(--radius-sm);
	padding: .75rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	color: #000;
}
.cc-checkout textarea { min-height: 96px; resize: vertical; }
.cc-checkout input.input-text:focus,
.cc-checkout textarea:focus,
.cc-checkout select:focus {
	outline: none;
	border-color: var(--brand-blue);
}
.cc-checkout .required { color: var(--brand-orange); }

/* order review table */
.cc-checkout__review { position: sticky; top: 1.5rem; }
.cc-checkout .shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.25rem;
}
.cc-checkout .shop_table th,
.cc-checkout .shop_table td {
	padding: .75rem 0;
	text-align: right;
	font-size: .9375rem;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.cc-checkout .shop_table th { font-weight: 700; }
.cc-checkout .shop_table .order-total th,
.cc-checkout .shop_table .order-total td {
	font-size: 1.125rem;
	font-weight: 800;
	border-bottom: 0;
}

/* payment box */
.cc-checkout #payment {
	background: #fff;
	border-radius: var(--radius-sm);
	padding: 1.25rem;
}
.cc-checkout #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.cc-checkout #payment .payment_box {
	font-size: .875rem;
	color: var(--neutral-400);
	background: var(--neutral-soft);
	border-radius: var(--radius-sm);
	padding: 1rem;
	margin-top: .5rem;
}
.cc-checkout #place_order,
.cc-checkout #payment .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: var(--radius-sm);
	background: #000;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}
.cc-checkout .woocommerce-terms-and-conditions-wrapper {
	font-size: .8125rem;
	margin-bottom: 1rem;
}

/* notices */
.cc-shop .woocommerce-message,
.cc-shop .woocommerce-info,
.cc-shop .woocommerce-error {
	list-style: none;
	border-radius: var(--radius-sm);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
	text-align: right;
}
.cc-shop .woocommerce-message { background: var(--brand-blue-soft); }
.cc-shop .woocommerce-info { background: var(--neutral-soft); }
.cc-shop .woocommerce-error { background: #ffe9e7; color: #b3261e; }
.cc-shop .woocommerce-message a,
.cc-shop .woocommerce-info a { font-weight: 700; text-decoration: underline; }

/* =========================================================== ACCOUNT === */
.cc-account {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-block: 1.5rem 5rem;
}
@media (min-width: 768px) {
	.cc-account { grid-template-columns: 260px 1fr; }
}

.cc-account__nav {
	border-radius: var(--radius-lg);
	background: var(--neutral-soft);
	padding: 1.25rem;
	height: fit-content;
}
.cc-account__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}
.cc-account__menu-item a {
	display: block;
	padding: .875rem 1rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	color: #000;
	text-align: right;
	transition: background-color .2s ease;
}
.cc-account__menu-item a:hover { opacity: 1; background: rgba(0, 0, 0, .04); }
.cc-account__menu-item.is-active a,
.cc-account__menu-item.woocommerce-MyAccount-navigation-link--active a {
	background: #000;
	color: #fff;
}

.cc-account__content {
	border-radius: var(--radius-lg);
	background: #fff;
	text-align: right;
}
.cc-account__dashboard { display: flex; flex-direction: column; gap: 1.5rem; }
.cc-account__welcome { font-size: 1.125rem; font-weight: 700; }
.cc-account__welcome a { text-decoration: underline; }
.cc-account__intro { color: var(--neutral-400); line-height: 1.9; max-width: 640px; }

.cc-account__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: .5rem;
}
@media (min-width: 600px) {
	.cc-account__cards { grid-template-columns: repeat(3, 1fr); }
}
.cc-account__tile {
	display: flex;
	flex-direction: column;
	gap: .375rem;
	border-radius: var(--radius);
	background: var(--neutral-soft);
	padding: 1.25rem;
	color: #000;
	transition: box-shadow .2s ease;
}
.cc-account__tile:hover { opacity: 1; box-shadow: var(--shadow-card); }
.cc-account__tile-title { font-weight: 800; font-size: 1.0625rem; }
.cc-account__tile-sub { font-size: .875rem; color: var(--neutral-400); }

/* account tables (orders / addresses) */
.cc-account__content .woocommerce-orders-table,
.cc-account__content table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}
.cc-account__content table.shop_table th,
.cc-account__content table.shop_table td {
	padding: .875rem 1rem;
	text-align: right;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	font-size: .9375rem;
}
.cc-account__content table.shop_table th { font-weight: 700; }
.cc-account__content .woocommerce-button,
.cc-account__content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding-inline: 1rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: #000;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.cc-account__content form .form-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: .375rem;
	margin-bottom: 1rem;
	text-align: right;
}
.cc-account__content input.input-text,
.cc-account__content select,
.cc-account__content textarea {
	width: 100%;
	min-height: 48px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: var(--radius-sm);
	padding: .75rem 1rem;
	font-family: inherit;
	background: #fff;
}

/* ================================================= ACCOUNT ORDERS / LOGIN == */
.cc-account-orders {
	width: 100%;
}
.cc-account-orders__title {
	font-size: 32px;
	line-height: 48px;
	font-weight: 800;
	text-align: right;
}
.cc-account-orders__tabs {
	margin-top: 2rem;
	display: flex;
	justify-content: flex-end;
	gap: 1.5rem;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
}
.cc-account-orders__tab:not(.is-active) {
	opacity: .48;
}
.cc-account-orders__panel {
	margin-top: 1.25rem;
	border-radius: var(--radius);
	background: var(--neutral-soft);
	padding: 1.5rem;
}
.cc-account-orders__panel-title {
	font-size: 22px;
	line-height: 32px;
	font-weight: 800;
	text-align: right;
}
.cc-account-orders__list {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.cc-account-order-card__link {
	display: block;
	border-radius: var(--radius);
	background: #fff;
	padding: 1rem;
}
.cc-account-order-card__header,
.cc-account-order-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.cc-account-order-card__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 89px;
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--neutral-soft);
	font-weight: 700;
}
.cc-account-order-card__number {
	font-size: 18px;
	line-height: 26px;
	font-weight: 800;
}
.cc-account-order-card__meta {
	margin-top: .75rem;
	justify-content: flex-end;
}
.cc-account-order-card__date,
.cc-account-order-card__total {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
	color: var(--neutral-400);
}
.cc-account-order-card__images {
	margin-top: 1rem;
	display: flex;
	justify-content: flex-end;
	gap: .5rem;
}
.cc-account-order-card__image {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--neutral-soft);
	overflow: hidden;
}
.cc-account-order-card__image img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}
.cc-account-orders__empty {
	margin-top: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-radius: var(--radius);
	background: #fff;
	padding: 1rem;
}
