/* ==========================================================================
   Rèm Hoàng Cung V2 — WooCommerce presentation
   Fonts: Cormorant Garamond · Outfit
   Tokens: --rhc-navy #0b4f9c · --rhc-gold #b8953e
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shop shell
   -------------------------------------------------------------------------- */
.rhc-shop {
	padding-block: clamp(24px, 4vw, 40px) clamp(40px, 5vw, 64px);
}

.rhc-shop-single.rhc-section {
	padding-block: clamp(32px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.woocommerce-breadcrumb {
	margin: 0 0 20px;
	padding: 0;
	color: var(--rhc-ink-soft);
	font-family: var(--rhc-font-ui);
	font-size: 0.875rem;
	line-height: 1.5;
}

.woocommerce-breadcrumb a {
	color: var(--rhc-navy);
	font-weight: 500;
}

.woocommerce-breadcrumb a:hover,
.woocommerce-breadcrumb a:focus-visible {
	color: var(--rhc-gold);
}

/* --------------------------------------------------------------------------
   Shop layout & sidebar
   -------------------------------------------------------------------------- */
.rhc-shop-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: clamp(20px, 3vw, 32px);
	align-items: start;
}

.rhc-shop-main {
	min-width: 0;
}

.rhc-shop-sidebar {
	min-width: 0;
}

.rhc-shop-sidebar__inner {
	padding: clamp(18px, 2.5vw, 24px);
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	background: var(--rhc-paper);
	box-shadow: var(--rhc-shadow-xs);
}

.rhc-shop-sidebar .widget-title {
	margin: 0 0 14px;
	color: var(--rhc-ink);
	font-family: var(--rhc-font-display);
	font-size: 1.125rem;
	font-weight: 600;
}

.rhc-shop-sidebar .widget + .widget {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--rhc-border);
}

.rhc-shop-cat-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rhc-shop-cat-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--rhc-border);
}

.rhc-shop-cat-list li:last-child {
	border-bottom: 0;
}

.rhc-shop-cat-list a {
	color: var(--rhc-ink);
	font-size: 0.9375rem;
	font-weight: 500;
}

.rhc-shop-cat-list a:hover,
.rhc-shop-cat-list a:focus-visible {
	color: var(--rhc-navy);
}

.rhc-shop-cat-list span {
	flex-shrink: 0;
	color: var(--rhc-ink-soft);
	font-size: 0.8125rem;
}

.rhc-filter-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin-bottom: 16px;
	padding: 0 18px;
	border: 1px solid var(--rhc-border-strong);
	border-radius: var(--rhc-radius-pill);
	background: var(--rhc-surface-soft);
	color: var(--rhc-navy);
	font-family: var(--rhc-font-ui);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition:
		background var(--rhc-duration) var(--rhc-ease),
		border-color var(--rhc-duration) var(--rhc-ease);
}

.rhc-filter-toggle:hover,
.rhc-filter-toggle:focus-visible {
	background: var(--rhc-paper);
	border-color: var(--rhc-navy);
}

/* --------------------------------------------------------------------------
   Toolbar — result count & ordering
   -------------------------------------------------------------------------- */
.woocommerce-result-count {
	margin: 0;
	color: var(--rhc-ink-muted);
	font-size: 0.9375rem;
}

.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select,
.rhc-shop select.orderby {
	min-height: 44px;
	padding: 10px 36px 10px 14px;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-sm);
	background: var(--rhc-paper);
	color: var(--rhc-ink);
	font-family: var(--rhc-font-ui);
	font-size: 0.9375rem;
	cursor: pointer;
	transition: border-color var(--rhc-duration) var(--rhc-ease);
}

.woocommerce-ordering select:focus,
.rhc-shop select.orderby:focus {
	outline: none;
	border-color: var(--rhc-border-strong);
	box-shadow: 0 0 0 4px rgba(11, 79, 156, 0.08);
}

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

.rhc-shop-main::before {
	content: "";
	display: table;
}

/* --------------------------------------------------------------------------
   Product grid — shop loop
   -------------------------------------------------------------------------- */
.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
	content: none;
	display: none;
}

.woocommerce ul.products li.product,
ul.products li.product {
	display: flex;
	flex-direction: column;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0;
	float: none !important;
	border: 1px solid #d6e3f3;
	border-radius: 16px;
	background: var(--rhc-paper);
	box-shadow: 0 4px 14px rgba(6, 42, 82, 0.04);
	overflow: hidden;
	transition:
		box-shadow var(--rhc-duration) var(--rhc-ease),
		border-color var(--rhc-duration) var(--rhc-ease),
		transform var(--rhc-duration) var(--rhc-ease);
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
	border-color: var(--rhc-border-strong);
	box-shadow: var(--rhc-shadow-md);
	transform: translateY(-8px);
}

/* Theme loop card structure */
.rhc-product-card--loop .rhc-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--rhc-surface);
}

.rhc-product-card--loop .woocommerce-loop-product__link {
	display: block;
}

.rhc-product-card--loop .rhc-product-card__media img,
.woocommerce ul.products li.product img,
ul.products li.product img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
}

.rhc-product-card--loop .rhc-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 18px;
}

.rhc-product-card--loop .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	margin: 0;
	font-family: var(--rhc-font-ui);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rhc-ink);
}

.rhc-product-card--loop .woocommerce-loop-product__title a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	color: inherit;
}

.rhc-product-card--loop .woocommerce-loop-product__title a:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
	color: var(--rhc-navy);
}

/* Sale flash / badges */
.woocommerce ul.products li.product .onsale,
.rhc-single-product .onsale,
.rhc-product-card--loop .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	min-width: auto;
	min-height: auto;
	margin: 0;
	padding: 6px 12px;
	border-radius: var(--rhc-radius-pill);
	background: var(--rhc-danger);
	color: var(--rhc-paper);
	font-family: var(--rhc-font-ui);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Star rating */
.woocommerce .star-rating,
.star-rating {
	overflow: hidden;
	position: relative;
	width: 5.4em;
	height: 1.1em;
	font-size: 0.875rem;
	line-height: 1.1;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	position: absolute;
	top: 0;
	left: 0;
	float: left;
	color: rgba(184, 149, 62, 0.22);
	font-family: star;
}

.star-rating span {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	float: left;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--rhc-gold);
	font-family: star;
}

/* Price */
.woocommerce .price,
.price,
.woocommerce ul.products li.product .price,
ul.products li.product .price {
	margin-top: auto;
	color: var(--rhc-navy);
	font-family: var(--rhc-font-ui);
	font-size: 1.0625rem;
	font-weight: 700;
}

.woocommerce .price del,
.price del {
	margin-right: 6px;
	color: var(--rhc-ink-soft);
	font-size: 0.875rem;
	font-weight: 400;
}

.woocommerce .price ins,
.price ins {
	text-decoration: none;
}

/* Add to cart — loop buttons match .rhc-btn */
.woocommerce ul.products li.product .button,
.rhc-product-card--loop .add_to_cart_button,
.rhc-product-card--loop .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	margin-top: 8px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: var(--rhc-radius-pill);
	background: linear-gradient(135deg, var(--rhc-navy), var(--rhc-navy-mid));
	color: var(--rhc-paper);
	font-family: var(--rhc-font-ui);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(11, 79, 156, 0.22);
	transition:
		background var(--rhc-duration) var(--rhc-ease),
		box-shadow var(--rhc-duration) var(--rhc-ease),
		transform var(--rhc-duration) var(--rhc-ease);
}

.woocommerce ul.products li.product .button:hover,
.rhc-product-card--loop .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: linear-gradient(135deg, var(--rhc-navy-mid), var(--rhc-navy-deep));
	color: var(--rhc-paper);
	box-shadow: 0 12px 28px rgba(6, 42, 82, 0.28);
}

.woocommerce ul.products li.product .added_to_cart {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
	margin-left: 0;
	color: var(--rhc-navy);
	font-size: 0.875rem;
	font-weight: 600;
}

.woocommerce ul.products li.product .added_to_cart:hover {
	color: var(--rhc-gold);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.woocommerce-pagination {
	margin-top: clamp(28px, 4vw, 40px);
	text-align: center;
}

.woocommerce-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-sm);
	background: var(--rhc-paper);
	color: var(--rhc-navy);
	font-family: var(--rhc-font-ui);
	font-size: 0.9375rem;
	font-weight: 600;
	transition:
		background var(--rhc-duration) var(--rhc-ease),
		border-color var(--rhc-duration) var(--rhc-ease),
		color var(--rhc-duration) var(--rhc-ease);
}

.woocommerce-pagination ul li a:hover {
	background: var(--rhc-surface);
	border-color: var(--rhc-border-strong);
	color: var(--rhc-navy-deep);
}

.woocommerce-pagination ul li span.current {
	background: linear-gradient(135deg, var(--rhc-navy), var(--rhc-navy-mid));
	border-color: var(--rhc-navy);
	color: var(--rhc-paper);
}

/* --------------------------------------------------------------------------
   Single product — gallery + summary
   -------------------------------------------------------------------------- */
.rhc-single-product__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 40px);
	align-items: start;
}

.rhc-single-product .woocommerce-product-gallery {
	margin: 0;
	max-width: 100%;
	float: none;
}

.rhc-single-product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.rhc-single-product .woocommerce-product-gallery__image,
.rhc-single-product .woocommerce-product-gallery__image--placeholder {
	border-radius: var(--rhc-radius-md);
	overflow: hidden;
	background: var(--rhc-surface);
}

.rhc-single-product .woocommerce-product-gallery__image img {
	width: 100%;
	border-radius: var(--rhc-radius-md);
}

.rhc-single-product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.rhc-single-product .flex-control-thumbs li {
	width: calc(25% - 8px);
	margin: 0;
}

.rhc-single-product .flex-control-thumbs li img {
	width: 100%;
	border: 2px solid transparent;
	border-radius: var(--rhc-radius-sm);
	cursor: pointer;
	opacity: 0.72;
	transition:
		opacity var(--rhc-duration) var(--rhc-ease),
		border-color var(--rhc-duration) var(--rhc-ease);
}

.rhc-single-product .flex-control-thumbs li img.flex-active,
.rhc-single-product .flex-control-thumbs li img:hover {
	opacity: 1;
	border-color: var(--rhc-gold);
}

.rhc-single-product .product_title {
	margin: 0 0 12px;
	color: var(--rhc-ink);
	font-family: var(--rhc-font-display);
	font-size: clamp(1.75rem, 3vw, 2.375rem);
	font-weight: 600;
	line-height: 1.15;
}

.rhc-single-product .woocommerce-product-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.rhc-single-product .woocommerce-review-link {
	color: var(--rhc-ink-soft);
	font-size: 0.875rem;
}

.rhc-single-product .summary .price {
	display: block;
	margin-bottom: 20px;
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}

.rhc-single-product .woocommerce-product-details__short-description {
	margin-bottom: 20px;
	color: var(--rhc-ink-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.rhc-single-product .woocommerce-variation-add-to-cart,
.rhc-single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.rhc-single-product .quantity {
	display: inline-flex;
}

.rhc-single-product .quantity input.qty,
.rhc-cart .quantity input.qty {
	width: 72px;
	min-height: 48px;
	padding: 0 10px;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-sm);
	background: var(--rhc-surface-soft);
	color: var(--rhc-ink);
	text-align: center;
}

.rhc-single-product .quantity input.qty:focus {
	outline: none;
	border-color: var(--rhc-border-strong);
	background: var(--rhc-paper);
	box-shadow: 0 0 0 4px rgba(11, 79, 156, 0.08);
}

.rhc-single-product form.cart .button,
.rhc-single-product .single_add_to_cart_button {
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: var(--rhc-radius-pill);
	background: linear-gradient(135deg, var(--rhc-gold), var(--rhc-gold-light));
	color: var(--rhc-ink);
	font-family: var(--rhc-font-ui);
	font-size: 0.9375rem;
	font-weight: 600;
	box-shadow: 0 10px 28px rgba(184, 149, 62, 0.28);
}

.rhc-single-product .single_add_to_cart_button:hover,
.rhc-single-product form.cart .button:hover {
	background: linear-gradient(135deg, #a88432, var(--rhc-gold));
	color: var(--rhc-ink);
}

.rhc-single-product table.variations {
	width: 100%;
	margin-bottom: 16px;
	border-collapse: collapse;
}

.rhc-single-product table.variations td,
.rhc-single-product table.variations th {
	padding: 8px 12px 8px 0;
	vertical-align: middle;
}

.rhc-single-product table.variations label {
	font-weight: 600;
	color: var(--rhc-ink-muted);
}

.rhc-single-product table.variations select {
	min-width: 180px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-sm);
	background: var(--rhc-surface-soft);
}

.rhc-single-product .reset_variations {
	margin-left: 8px;
	color: var(--rhc-ink-soft);
	font-size: 0.875rem;
}

.rhc-single-product .product_meta {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--rhc-border);
	color: var(--rhc-ink-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.rhc-single-product .product_meta > span {
	display: block;
	margin-bottom: 6px;
}

.rhc-single-product .product_meta a {
	color: var(--rhc-navy);
	font-weight: 500;
}

/* Product contact + USP (theme addition) */
.rhc-product-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0;
	padding-top: 20px;
	border-top: 1px solid var(--rhc-border);
}

.rhc-product-contact .rhc-btn {
	min-height: 48px;
}

.rhc-product-usp {
	margin: 0 0 12px;
	padding: 18px 20px;
	list-style: none;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	background: var(--rhc-surface-soft);
}

.rhc-product-usp li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	color: var(--rhc-ink-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.rhc-product-usp li + li {
	border-top: 1px dashed var(--rhc-border);
}

.rhc-product-usp .rhc-icon,
.rhc-product-usp svg {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	flex: 0 0 20px;
	color: var(--rhc-navy);
}

/* --------------------------------------------------------------------------
   Product tabs
   -------------------------------------------------------------------------- */
.woocommerce-tabs {
	margin-top: clamp(36px, 5vw, 56px);
}

.woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 -1px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--rhc-border);
}

.woocommerce-tabs ul.tabs li {
	margin: 0;
	border: 1px solid var(--rhc-border);
	border-bottom: 0;
	border-radius: var(--rhc-radius-sm) var(--rhc-radius-sm) 0 0;
	background: var(--rhc-surface-soft);
}

.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 20px;
	color: var(--rhc-ink-muted);
	font-family: var(--rhc-font-ui);
	font-size: 0.9375rem;
	font-weight: 600;
}

.woocommerce-tabs ul.tabs li.active {
	background: var(--rhc-paper);
	border-bottom: 1px solid var(--rhc-paper);
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--rhc-navy);
}

.woocommerce-tabs .panel {
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--rhc-border);
	border-radius: 0 var(--rhc-radius-md) var(--rhc-radius-md) var(--rhc-radius-md);
	background: var(--rhc-paper);
	color: var(--rhc-ink-muted);
	line-height: 1.65;
}

.woocommerce-tabs .panel h2 {
	margin: 0 0 12px;
	color: var(--rhc-ink);
	font-family: var(--rhc-font-display);
	font-size: 1.375rem;
}

/* Related / upsells */
.related.products,
.upsells.products {
	margin-top: clamp(36px, 5vw, 56px);
}

.related.products > h2,
.upsells.products > h2 {
	margin-bottom: 24px;
	color: var(--rhc-ink);
	font-family: var(--rhc-font-display);
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */
.rhc-cart .shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	overflow: hidden;
	background: var(--rhc-paper);
}

.rhc-cart .shop_table th {
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--rhc-navy-deep), var(--rhc-navy));
	color: var(--rhc-paper);
	text-align: left;
	font-family: var(--rhc-font-ui);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.rhc-cart .shop_table td {
	padding: 16px;
	border-top: 1px solid var(--rhc-border);
	vertical-align: middle;
}

.rhc-cart .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--rhc-radius-sm);
}

.rhc-cart .product-name a {
	color: var(--rhc-ink);
	font-weight: 600;
}

.rhc-cart .product-name a:hover {
	color: var(--rhc-navy);
}

.rhc-cart .product-remove .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--rhc-danger);
	color: var(--rhc-paper) !important;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: opacity var(--rhc-duration) var(--rhc-ease);
}

.rhc-cart .product-remove .remove:hover {
	opacity: 0.88;
}

.rhc-cart .actions {
	background: var(--rhc-surface-soft);
}

.rhc-cart .coupon {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-right: 12px;
}

.rhc-cart .coupon input {
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-sm);
	background: var(--rhc-paper);
}

.rhc-cart .button,
.rhc-account .button,
.woocommerce-cart .button,
.woocommerce-checkout #place_order,
.wc-proceed-to-checkout .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--rhc-radius-pill);
	background: linear-gradient(135deg, var(--rhc-navy), var(--rhc-navy-mid));
	color: var(--rhc-paper);
	font-family: var(--rhc-font-ui);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(11, 79, 156, 0.22);
	transition:
		background var(--rhc-duration) var(--rhc-ease),
		box-shadow var(--rhc-duration) var(--rhc-ease);
}

.rhc-cart .button:hover,
.rhc-account .button:hover,
.woocommerce-cart .button:hover,
.woocommerce-checkout #place_order:hover,
.wc-proceed-to-checkout .button:hover {
	background: linear-gradient(135deg, var(--rhc-navy-mid), var(--rhc-navy-deep));
	color: var(--rhc-paper);
}

.cart-collaterals {
	display: flex;
	justify-content: flex-end;
	margin-top: 28px;
}

.cart_totals {
	width: min(100%, 420px);
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	background: var(--rhc-paper);
	box-shadow: var(--rhc-shadow-xs);
}

.cart_totals h2 {
	margin: 0 0 16px;
	color: var(--rhc-ink);
	font-family: var(--rhc-font-display);
	font-size: 1.375rem;
	font-weight: 600;
}

.cart_totals table {
	width: 100%;
	border-collapse: collapse;
}

.cart_totals th,
.cart_totals td {
	padding: 12px 0;
	border-top: 1px solid var(--rhc-border);
	text-align: left;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
	color: var(--rhc-navy);
	font-size: 1.0625rem;
	font-weight: 700;
}

.wc-proceed-to-checkout {
	margin-top: 20px;
}

.wc-proceed-to-checkout .button {
	width: 100%;
	background: linear-gradient(135deg, var(--rhc-gold), var(--rhc-gold-light));
	border-color: transparent;
	color: var(--rhc-ink);
	box-shadow: 0 10px 28px rgba(184, 149, 62, 0.28);
}

.wc-proceed-to-checkout .button:hover {
	background: linear-gradient(135deg, #a88432, var(--rhc-gold));
	color: var(--rhc-ink);
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */
.rhc-checkout .col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 32px);
}

.rhc-checkout .col2-set .col-1,
.rhc-checkout .col2-set .col-2 {
	width: auto;
	float: none;
}

.woocommerce-checkout h3 {
	margin: 0 0 16px;
	color: var(--rhc-ink);
	font-family: var(--rhc-font-display);
	font-size: 1.375rem;
	font-weight: 600;
}

.woocommerce form .form-row {
	margin-bottom: 16px;
}

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 8px;
	color: var(--rhc-ink-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single {
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-sm);
	background: var(--rhc-surface-soft);
	color: var(--rhc-ink);
	transition:
		border-color var(--rhc-duration) var(--rhc-ease),
		box-shadow var(--rhc-duration) var(--rhc-ease),
		background var(--rhc-duration) var(--rhc-ease);
}

.woocommerce form .form-row textarea {
	min-height: 100px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--rhc-border-strong);
	background: var(--rhc-paper);
	box-shadow: 0 0 0 4px rgba(11, 79, 156, 0.08);
}

#order_review_heading {
	margin-top: 28px;
}

#order_review {
	margin-top: 16px;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	background: var(--rhc-surface-soft);
}

.woocommerce-checkout #payment {
	margin-top: 20px;
	background: transparent;
	border-radius: var(--rhc-radius-md);
}

.woocommerce-checkout #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	background: var(--rhc-paper);
	list-style: none;
	overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods li {
	padding: 16px 20px;
	border-bottom: 1px solid var(--rhc-border);
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
	border-bottom: 0;
}

.woocommerce-checkout #payment div.payment_box {
	margin-top: 10px;
	padding: 12px 14px;
	border-radius: var(--rhc-radius-sm);
	background: var(--rhc-surface-soft);
	color: var(--rhc-ink-muted);
	font-size: 0.9375rem;
}

.woocommerce-checkout #place_order {
	width: 100%;
	min-height: 52px;
	background: linear-gradient(135deg, var(--rhc-gold), var(--rhc-gold-light));
	border-color: transparent;
	color: var(--rhc-ink);
	font-weight: 600;
	box-shadow: 0 10px 28px rgba(184, 149, 62, 0.28);
}

.woocommerce-checkout #place_order:hover {
	background: linear-gradient(135deg, #a88432, var(--rhc-gold));
	color: var(--rhc-ink);
}

/* --------------------------------------------------------------------------
   My Account
   -------------------------------------------------------------------------- */
.rhc-account {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: clamp(20px, 3vw, 32px);
	align-items: start;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	background: var(--rhc-paper);
	overflow: hidden;
	box-shadow: var(--rhc-shadow-xs);
}

.woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--rhc-border);
}

.woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 18px;
	color: var(--rhc-ink-muted);
	font-size: 0.9375rem;
	font-weight: 600;
	transition:
		background var(--rhc-duration) var(--rhc-ease),
		color var(--rhc-duration) var(--rhc-ease);
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li a:focus-visible {
	background: rgba(11, 79, 156, 0.07);
	color: var(--rhc-navy);
}

.woocommerce-MyAccount-content {
	min-width: 0;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--rhc-border);
	border-radius: var(--rhc-radius-md);
	background: var(--rhc-paper);
	box-shadow: var(--rhc-shadow-xs);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	color: var(--rhc-ink);
	font-family: var(--rhc-font-display);
}

.woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
	padding: 12px 14px;
	border: 1px solid var(--rhc-border);
	text-align: left;
}

.woocommerce-MyAccount-content table.shop_table th {
	background: var(--rhc-surface-soft);
	color: var(--rhc-ink);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: var(--rhc-radius-md);
	border: 1px solid transparent;
	list-style: none;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.5;
}

.woocommerce-message {
	background: rgba(26, 127, 75, 0.1);
	border-color: rgba(26, 127, 75, 0.22);
	color: var(--rhc-success);
}

.woocommerce-info {
	background: rgba(11, 79, 156, 0.08);
	border-color: rgba(11, 79, 156, 0.18);
	color: var(--rhc-navy);
}

.woocommerce-error {
	background: rgba(192, 57, 43, 0.08);
	border-color: rgba(192, 57, 43, 0.22);
	color: var(--rhc-danger);
}

.woocommerce-message .button,
.woocommerce-info .button {
	min-height: 36px;
	padding: 0 14px;
	margin-left: 8px;
	font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   SVG guard — no giant icons in WooCommerce areas
   -------------------------------------------------------------------------- */
.rhc-shop svg:not(.rhc-icon),
.rhc-single-product svg:not(.rhc-icon),
.rhc-cart svg:not(.rhc-icon),
.rhc-checkout svg:not(.rhc-icon),
.rhc-account svg:not(.rhc-icon) {
	max-width: 24px;
	max-height: 24px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

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

@media (max-width: 991px) {
	.rhc-shop-layout {
		grid-template-columns: 1fr;
	}

	.rhc-filter-toggle {
		display: inline-flex;
	}

	.rhc-shop-sidebar {
		display: none;
	}

	.rhc-shop-sidebar.is-open {
		display: block;
	}

	.rhc-shop-sidebar.is-open .rhc-shop-sidebar__inner {
		margin-bottom: 20px;
	}

	.rhc-single-product__top {
		grid-template-columns: 1fr;
	}

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

	.rhc-checkout .col2-set {
		grid-template-columns: 1fr;
	}

	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

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

	.rhc-single-product form.cart {
		flex-direction: column;
		align-items: stretch;
	}

	.rhc-single-product form.cart .button,
	.rhc-single-product .single_add_to_cart_button {
		width: 100%;
	}

	.rhc-product-contact {
		flex-direction: column;
	}

	.rhc-product-contact .rhc-btn {
		width: 100%;
	}

	.rhc-single-product .flex-control-thumbs li {
		width: calc(33.333% - 7px);
	}

	.cart-collaterals {
		justify-content: stretch;
	}

	.cart_totals {
		width: 100%;
	}

	.rhc-cart .shop_table thead {
		display: none;
	}

	.rhc-cart .shop_table tbody,
	.rhc-cart .shop_table tr {
		display: block;
	}

	.rhc-cart .shop_table tr {
		margin-bottom: 16px;
		border: 1px solid var(--rhc-border);
		border-radius: var(--rhc-radius-md);
		overflow: hidden;
	}

	.rhc-cart .shop_table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		border-top: 0;
		border-bottom: 1px solid var(--rhc-border);
		text-align: right;
	}

	.rhc-cart .shop_table td::before {
		content: attr(data-title);
		font-weight: 600;
		color: var(--rhc-ink);
		text-align: left;
	}

	.rhc-cart .shop_table td.actions {
		display: block;
		text-align: left;
	}

	.rhc-cart .shop_table td.actions::before {
		content: none;
	}

	.rhc-cart .coupon {
		display: flex;
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}

	.rhc-cart .coupon input {
		flex: 1;
		min-width: 0;
	}

	.woocommerce-tabs ul.tabs {
		flex-direction: column;
		border-bottom: 0;
		gap: 8px;
	}

	.woocommerce-tabs ul.tabs li {
		border-bottom: 1px solid var(--rhc-border);
		border-radius: var(--rhc-radius-sm);
	}

	.woocommerce-tabs ul.tabs li.active {
		border-bottom-color: var(--rhc-border);
	}

	.woocommerce-tabs .panel {
		border-radius: var(--rhc-radius-md);
		margin-top: 12px;
	}
}

@media (max-width: 420px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: 1fr;
	}

	.woocommerce ul.products li.product .button,
	.rhc-product-card--loop .button {
		width: 100%;
		min-height: 44px;
	}

	.woocommerce-pagination ul li a,
	.woocommerce-pagination ul li span {
		min-width: 44px;
		min-height: 44px;
	}
}
