/* ==========================================================================
   Reshakaar — WooCommerce
   ========================================================================== */

/* ---------- Product grid ---------- */
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

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

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

/* Product rails (homepage carousels) scroll sideways instead of wrapping. */
ul.products.rail__track {
	display: flex;
	gap: var(--rail-gap, 16px);
}

/* ---------- Product card ---------- */
li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	list-style: none;
}

.product-card__media {
	position: relative;
	aspect-ratio: var(--product-ratio);
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--c-card);
}

.product-card__link {
	position: absolute;
	inset: 0;
	display: block;
}

.product-card__media img,
.product-card__media .rk-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}

.product-card__hover {
	opacity: 0;
}

li.product:hover .product-card__media img {
	transform: scale(1.04);
}

li.product:hover .product-card__hover {
	opacity: 1;
}

li.product .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 4px 11px;
	border-radius: 100px;
	background: #e53030;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--c-white);
}

.product-card__actions {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

/* Products with sizes: “Select size” and “Add to cart” side by side. */
.product-card__actions:has(.product-card__size) {
	grid-template-columns: 1fr 1fr;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s, transform 0.3s var(--ease);
}

li.product:hover .product-card__actions,
li.product:focus-within .product-card__actions,
.product-card__actions.is-picking,
.product-card__actions.has-size {
	opacity: 1;
	transform: none;
}

.product-card__actions .button {
	width: 100%;
	min-width: 0;
	padding: 12px 10px;
	font-size: 13px;
	white-space: nowrap;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Primary (dark): “Add to cart”. Secondary (light): “Select size”. */
.product-card__actions .product-card__size {
	background: var(--c-white);
	color: var(--c-ink);
}

.product-card__actions .product-card__size:hover,
.product-card__actions .product-card__size[aria-expanded="true"] {
	background: var(--c-white-hover);
	color: var(--c-ink);
}

.product-card__actions .product-card__add,
.product-card__actions .add_to_cart_button,
.product-card__actions .product_type_variable,
.product-card__actions .product_type_grouped,
.product-card__actions .product_type_external {
	background: var(--c-ink);
	color: var(--c-white);
}

.product-card__actions .product-card__add:hover,
.product-card__actions .add_to_cart_button:hover {
	background: var(--c-ink-hover);
	color: var(--c-white);
}

.product-card__actions .button.loading {
	opacity: 0.7;
}

.product-card__actions .button.added::after {
	content: "✓";
	margin-left: 6px;
}

.product-card__actions .added_to_cart {
	display: none;
}

/* Size chooser: a white panel just above the button. */
.card-sizes {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	left: 0;
	padding: 12px;
	border-radius: var(--radius-sm);
	background: var(--c-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-sizes[hidden] {
	display: none;
}

.card-sizes__label {
	margin: 0 0 8px;
	color: var(--c-muted);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.card-sizes__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.card-sizes__opt {
	min-width: 40px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--c-border);
	border-radius: 100px;
	background: var(--c-white);
	color: var(--c-ink);
	font: inherit;
	font-size: 12px;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.card-sizes__opt:hover:not([disabled]),
.card-sizes__opt:focus-visible {
	border-color: var(--c-ink);
	background: var(--c-ink);
	color: var(--c-white);
}

.card-sizes__opt[aria-pressed="true"] {
	border-color: var(--c-ink);
	background: var(--c-ink);
	color: var(--c-white);
}

.card-sizes__opt.is-loading {
	border-color: var(--c-ink);
	background: var(--c-ink);
	color: var(--c-white);
	opacity: 0.7;
}

.card-sizes__note {
	margin: 8px 0 0;
	color: var(--c-muted);
	font-size: 12px;
	line-height: 1.4;
}

.card-sizes__error {
	color: #b32d2e;
}

.product-card__body {
	padding-top: 16px;
}

.woocommerce-loop-product__title {
	margin: 0 0 6px;
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
}

.woocommerce-loop-product__title a {
	color: var(--c-ink);
}

.woocommerce-loop-product__title a:hover {
	color: var(--c-accent);
}

li.product .price,
.summary .price,
.woocommerce-Price-amount {
	font-variant-numeric: tabular-nums;
}

li.product .price {
	display: block;
	font-size: 15px;
	font-weight: 400;
	color: var(--c-ink);
}

.price del {
	margin-right: 6px;
	font-weight: 400;
	color: var(--c-muted);
}

.price ins {
	text-decoration: none;
}

li.product .star-rating {
	margin-top: 6px;
	font-size: 11px;
}

/* ---------- Star rating ---------- */
.star-rating {
	position: relative;
	display: inline-block;
	width: 5.4em;
	height: 1em;
	overflow: hidden;
	font-family: sans-serif;
	line-height: 1;
	letter-spacing: 0.1em;
	color: #f5b400;
}

.star-rating::before {
	content: "★★★★★";
	position: absolute;
	top: 0;
	left: 0;
	color: #e3e3e3;
}

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

.star-rating span::before {
	content: "★★★★★";
	position: absolute;
	top: 0;
	left: 0;
}

/* ---------- Shop page ---------- */
.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 32px;
}

.woocommerce-result-count {
	margin: 0 auto 0 0;
	font-size: 14px;
}

.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select {
	width: auto;
	padding: 11px 44px 11px 20px;
	border-radius: 100px;
	appearance: none;
	background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23111' stroke-width='1.6'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 18px center;
	font-size: 14px;
	font-weight: 400;
}

.btn-outline {
	padding: 10px 22px;
	border: 1px solid var(--c-border);
	border-radius: 100px;
	background: var(--c-white);
	font-size: 14px;
	font-weight: 400;
	color: var(--c-ink);
}

.shop-toolbar__filter {
	display: none;
}

.shop-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.shop-sidebar {
	position: sticky;
	top: 110px;
}

.shop-sidebar__close {
	display: none;
}

/* ---------- Filter sidebar ---------- */
.shop-filters {
	margin-bottom: 40px;
}

.shop-filters__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--c-ink);
}

.shop-filters__title {
	margin: 0;
	font-size: 24px;
}

.shop-filters__clear {
	font-size: 12px;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--c-text);
}

.filter-group {
	border-bottom: 1px solid var(--c-border);
}

.filter-group__title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 18px 0;
	list-style: none;
	cursor: pointer;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-ink);
}

.filter-group__title::-webkit-details-marker {
	display: none;
}

.filter-group__title .icon {
	margin-left: auto;
	transition: transform 0.25s var(--ease);
}

.filter-group[open] > .filter-group__title .icon {
	transform: rotate(180deg);
}

.filter-group__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 100px;
	background: var(--c-accent);
	font-size: 10px;
	letter-spacing: 0;
	color: var(--c-white);
}

.filter-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0 0 20px;
	list-style: none;
}

.filter-option {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	font-size: 14px;
	color: var(--c-text);
}

.filter-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.filter-option__box {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 1px solid #c9c2ba;
	border-radius: 5px;
	background: var(--c-white);
	transition: background-color 0.15s, border-color 0.15s;
}

.filter-option__box::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 6px;
	width: 4px;
	height: 8px;
	border: solid var(--c-white);
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
	opacity: 0;
}

.filter-option:hover .filter-option__box {
	border-color: var(--c-ink);
}

.filter-option input:checked + .filter-option__box {
	background: var(--c-ink);
	border-color: var(--c-ink);
}

.filter-option input:checked + .filter-option__box::after {
	opacity: 1;
}

.filter-option input:focus-visible + .filter-option__box {
	outline: 2px solid var(--c-accent);
	outline-offset: 2px;
}

.filter-option input:checked ~ .filter-option__name {
	color: var(--c-ink);
}

.filter-option__count {
	margin-left: auto;
	font-size: 12px;
	color: var(--c-muted);
}

.filter-option.is-empty {
	opacity: 0.45;
}

/* Sizes as square chips. */
.filter-list--chips {
	grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
	gap: 8px;
}

.filter-list--chips .filter-option {
	position: relative;
	justify-content: center;
	height: 44px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.filter-list--chips .filter-option__box,
.filter-list--chips .filter-option__count {
	display: none;
}

.filter-list--chips .filter-option:hover {
	border-color: var(--c-ink);
}

.filter-list--chips .filter-option:has(input:checked) {
	background: var(--c-ink);
	border-color: var(--c-ink);
}

.filter-list--chips .filter-option input:checked ~ .filter-option__name {
	color: var(--c-white);
}

.filter-list--chips .filter-option:has(input:focus-visible) {
	outline: 2px solid var(--c-accent);
	outline-offset: 2px;
}

/* Price. */
/* Price slider: two handles on one bar (₹0 – ₹40,000), kept in step with the From / To boxes. */
.price-slider {
	position: relative;
	height: 28px;
	margin: 4px 9px 16px;
}

.price-slider__track {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 4px;
	border-radius: 4px;
	background: var(--c-border);
	transform: translateY(-50%);
}

.price-slider__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--from, 0%);
	right: calc(100% - var(--to, 100%));
	border-radius: 4px;
	background: var(--c-ink);
}

.price-slider__range {
	position: absolute;
	inset: 0 -9px;
	width: calc(100% + 18px);
	height: 100%;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.price-slider__range::-webkit-slider-runnable-track {
	background: none;
	border: 0;
}

.price-slider__range::-moz-range-track {
	background: none;
	border: 0;
}

.price-slider__range::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	border: 2px solid var(--c-ink);
	border-radius: 50%;
	background: var(--c-white);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	cursor: grab;
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
}

.price-slider__range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 2px solid var(--c-ink);
	border-radius: 50%;
	background: var(--c-white);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	cursor: grab;
	pointer-events: auto;
}

.price-slider__range:focus-visible::-webkit-slider-thumb {
	outline: 2px solid var(--c-accent);
	outline-offset: 2px;
}

.price-slider__range:focus-visible::-moz-range-thumb {
	outline: 2px solid var(--c-accent);
	outline-offset: 2px;
}

.filter-price {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.filter-price__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: 12px;
	color: var(--c-text);
}

.filter-price__input {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	background: var(--c-white);
}

.filter-price__input:focus-within {
	border-color: var(--c-ink);
}

.filter-price__currency {
	color: var(--c-muted);
}

.filter-price__input input {
	width: 100%;
	min-width: 0;
	padding: 11px 0;
	border: 0;
	background: transparent;
	font-size: 14px;
	-moz-appearance: textfield;
}

.filter-price__input input::-webkit-outer-spin-button,
.filter-price__input input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.filter-price__hint {
	margin: 10px 0 12px;
	font-size: 12px;
	color: var(--c-muted);
}

.filter-price__apply {
	width: 100%;
	margin-bottom: 20px;
	padding: 11px 20px;
}

/* Active filter chips above the grid. */
.active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: -12px 0 28px;
	padding: 0;
	list-style: none;
}

.active-filters a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px 7px 14px;
	border-radius: 100px;
	background: var(--c-cream);
	font-size: 13px;
	color: var(--c-ink);
}

.active-filters a:hover {
	background: var(--c-ink);
	color: var(--c-white);
}

.active-filters .active-filters__clear {
	background: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--c-text);
}

.active-filters .active-filters__clear:hover {
	background: none;
	color: var(--c-ink);
	opacity: 0.6;
}

.shop-toolbar__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 4px;
	border-radius: 100px;
	background: var(--c-accent);
	font-size: 10px;
	color: var(--c-white);
}

.shop-filters.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.term-description,
.woocommerce-products-header {
	margin-bottom: 24px;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notices-wrapper > * {
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--c-soft);
	list-style: none;
	font-size: 14px;
	color: var(--c-ink);
}

.woocommerce-message {
	background: #eef6ee;
}

.woocommerce-error {
	background: #fbeeee;
}

.woocommerce-info .button,
.woocommerce-message .button {
	float: right;
	margin-left: 16px;
	padding: 8px 18px;
	font-size: 13px;
}

/* Price filter widget */
.price_slider_wrapper .ui-slider {
	position: relative;
	height: 3px;
	margin: 16px 6px 24px;
	border-radius: 2px;
	background: var(--c-border);
}

.price_slider_wrapper .ui-slider-range {
	position: absolute;
	height: 100%;
	background: var(--c-ink);
}

.price_slider_wrapper .ui-slider-handle {
	position: absolute;
	top: -6px;
	width: 15px;
	height: 15px;
	margin-left: -7px;
	border-radius: 50%;
	background: var(--c-ink);
	cursor: grab;
}

.price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
}

.price_slider_amount .button {
	padding: 8px 18px;
}

.price_slider_amount input {
	display: none;
}

/* ---------- Single product ---------- */
.single-product .page-body {
	padding-top: 30px;
}

.single-product__crumbs {
	padding: 0 0 28px;
}

.single-product div.product {
	display: block;
}

.product-main {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 48px clamp(40px, 5vw, 80px);
	align-items: start;
}

/* Photo slider: thumbnails on the left, one photo at a time sized to fit the first screen. */
.woocommerce-product-gallery {
	--gallery-h: max(460px, min(calc(100svh - 190px), 860px));
	position: sticky;
	top: 100px;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	opacity: 1 !important;
}

.woocommerce-product-gallery:not(:has(.gallery-thumbs)) {
	grid-template-columns: minmax(0, 1fr);
}

.gallery-stage {
	position: relative;
	/* Exactly the photo's width, so the arrows and counter sit on the photo. */
	width: min(100%, calc(var(--gallery-h) * 4 / 5));
	max-width: 100%;
	grid-column: -2 / -1;
	grid-row: 1;
	min-width: 0;
}

.woocommerce-product-gallery__wrapper {
	display: flex;
	width: 100%;
	aspect-ratio: var(--product-ratio);
	margin: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	border-radius: var(--radius);
	background: var(--c-card);
}

.woocommerce-product-gallery__wrapper::-webkit-scrollbar {
	display: none;
}

.woocommerce-product-gallery__image {
	flex: 0 0 100%;
	aspect-ratio: var(--product-ratio);
	scroll-snap-align: start;
}

.woocommerce-product-gallery__image a {
	display: block;
	height: 100%;
	cursor: zoom-in;
}

/* Photos are uploaded at 4:5, so cover fills the frame without cropping. */
.woocommerce-product-gallery__image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center top;
}

/* Product video slide: vertical clip inside the 4:5 frame. */
.product-gallery__video {
	position: relative;
	flex: 0 0 100%;
	aspect-ratio: var(--product-ratio);
	scroll-snap-align: start;
	overflow: hidden;
	background: var(--c-card);
}

.product-gallery__video video {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	cursor: pointer;
}

/* Linked YouTube / Instagram video: its cover with a play button; plays in the pop-up. */
.product-gallery__link-cover {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* The link slide is also a gallery image (for the zoom viewer): keep its cover whole, not cropped. */
.product-gallery__link .product-gallery__link-cover {
	object-fit: contain;
	object-position: center;
}

.product-gallery__link-play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-white);
	cursor: pointer;
}

.product-gallery__link-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--c-ink);
	transition: transform 0.25s var(--ease), background-color 0.2s;
}

.product-gallery__link-icon svg {
	margin-left: 4px;
	fill: currentColor;
}

.product-gallery__link-text {
	padding: 6px 14px;
	border-radius: 100px;
	background: rgba(17, 17, 17, 0.6);
	font-size: 13px;
	letter-spacing: 0.04em;
}

.product-gallery__link-play:hover .product-gallery__link-icon,
.product-gallery__link-play:focus-visible .product-gallery__link-icon {
	transform: scale(1.06);
	background: var(--c-white);
}

/* Instagram covers already show a play button: keep just the label. */
.product-gallery__link.has-baked-play .product-gallery__link-icon {
	visibility: hidden;
}

.product-gallery__link.has-baked-play .product-gallery__link-play {
	justify-content: flex-end;
	padding-bottom: 28px;
}

/* Whole-video mode: the side strips show a soft, blurred copy of the cover image instead of an empty background. */
.product-gallery__backdrop {
	position: absolute;
	inset: -40px;
	background-position: center;
	background-size: cover;
	filter: blur(28px) brightness(0.92);
	transform: scale(1.1);
}

.product-gallery__video.is-fill video {
	object-fit: cover;
}

.product-gallery__play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	padding-left: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--c-ink);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.product-gallery__play svg {
	fill: currentColor;
}

.product-gallery__video.is-paused .product-gallery__play {
	display: inline-flex;
}

.product-gallery__sound {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--c-ink);
	cursor: pointer;
}

.product-gallery__sound svg:last-child,
.product-gallery__video.is-unmuted .product-gallery__sound svg:first-child {
	display: none;
}

.product-gallery__video.is-unmuted .product-gallery__sound svg:last-child {
	display: block;
}

.gallery-thumbs button.is-video {
	position: relative;
}

.gallery-thumbs button.is-video::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l8.5-5.5z' fill='%23111'/%3E%3C/svg%3E") no-repeat 55% center / 14px;
	transform: translate(-50%, -50%);
}

.gallery-thumbs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	grid-column: 1;
	grid-row: 1;
	max-height: var(--gallery-h);
	margin: 0;
	padding: 0;
	overflow-y: auto;
	scrollbar-width: none;
	list-style: none;
}

.gallery-thumbs button {
	display: block;
	width: 100%;
	aspect-ratio: var(--product-ratio);
	padding: 0;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--c-card);
	opacity: 0.55;
	transition: opacity 0.2s, border-color 0.2s;
}

.gallery-thumbs button:hover,
.gallery-thumbs button.is-active {
	opacity: 1;
}

.gallery-thumbs button.is-active {
	border-color: var(--c-ink);
}

.gallery-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
}

.gallery-arrow--prev {
	left: 14px;
}

.gallery-arrow--next {
	right: 14px;
}

.gallery-counter {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 3;
	padding: 5px 12px;
	border-radius: 100px;
	background: rgba(17, 17, 17, 0.55);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	color: var(--c-white);
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--c-white);
	font-size: 0;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-product-gallery__trigger::before {
	content: "";
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center / contain;
}

.woocommerce-product-gallery__trigger img {
	display: none !important;
}

/* Info column: sticks while the photos scroll, but only within the top area. */
.summary.entry-summary {
	margin: 0;
}

.summary .product_title {
	margin: 0 0 14px;
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1.1;
}

.summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 13px;
}

.summary > .price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
	font-family: var(--f-head);
	font-size: 26px;
	color: var(--c-ink);
}

.summary > .price del {
	font-size: 0.72em;
}

.price__badge {
	padding: 4px 12px;
	border-radius: 100px;
	background: var(--c-accent);
	font-family: var(--f-body);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-white);
}

.product-price-note {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--c-muted);
}

.woocommerce-product-details__short-description {
	margin: 26px 0 0;
	padding-top: 26px;
	border-top: 1px solid var(--c-border);
	font-size: 15px;
	line-height: 1.75;
}

.woocommerce-product-details__short-description ul {
	margin: 0 0 1em;
	padding-left: 1.1em;
}

.woocommerce-product-details__short-description li {
	margin-bottom: 4px;
}

.woocommerce-product-details__short-description li::marker {
	color: var(--c-accent);
}

/* Accordions. */
.product-accordions {
	margin: 24px 0 28px;
	border-top: 1px solid var(--c-border);
}

.product-accordion {
	border-bottom: 1px solid var(--c-border);
}

.product-accordion > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 0;
	list-style: none;
	cursor: pointer;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-ink);
}

.product-accordion > summary::-webkit-details-marker {
	display: none;
}

.product-accordion > summary .icon {
	transition: transform 0.25s var(--ease);
}

.product-accordion[open] > summary .icon {
	transform: rotate(45deg);
}

.product-accordion__body {
	padding: 0 0 22px;
	font-size: 14px;
	line-height: 1.7;
}

.product-accordion__body ul {
	margin: 0;
	padding-left: 1.1em;
}

.product-accordion__body li + li {
	margin-top: 6px;
}

/* Size chart tables. */
.size-tabs__list {
	display: flex;
	gap: 8px;
	margin: 0 0 14px;
}

.size-tabs__tab {
	padding: 8px 18px;
	border: 1px solid var(--c-border);
	border-radius: 100px;
	background: var(--c-white);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--c-ink);
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.size-tabs__tab:hover {
	border-color: var(--c-ink);
}

.size-tabs__tab.is-active {
	border-color: var(--c-ink);
	background: var(--c-ink);
	color: var(--c-white);
}

.size-chart__guide {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-top: 16px;
}

.size-chart__img {
	flex: 0 0 38%;
	max-width: 38%;
	height: auto;
	border-radius: var(--radius-sm);
	background: var(--c-card);
}

.size-chart__tips {
	flex: 1;
	font-size: 13px;
	color: var(--c-muted);
}

.size-chart__tips-title {
	margin: 0 0 6px;
	font-family: var(--f-head);
	font-size: 16px;
	color: var(--c-ink);
}

.size-chart__tips ul {
	margin: 0;
	padding-left: 18px;
}

.size-chart__tips li + li {
	margin-top: 4px;
}

.size-chart + .size-chart {
	margin-top: 24px;
}

/* Tables shown as tabs sit in the same place: no extra space above the second, third… */
.size-tabs .size-chart {
	margin-top: 0;
}

@media (max-width: 575px) {
	.size-chart__guide {
		flex-direction: column;
	}

	.size-chart__img {
		max-width: 100%;
	}
}

.size-chart__title {
	margin: 0 0 10px;
	font-size: 18px;
}

.size-chart__scroll {
	overflow-x: auto;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
}

.size-chart table {
	width: 100%;
	min-width: 340px;
	border-collapse: collapse;
	font-size: 13px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.size-chart th,
.size-chart td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--c-border);
	white-space: nowrap;
}

.size-chart tbody tr:last-child th,
.size-chart tbody tr:last-child td {
	border-bottom: 0;
}

.size-chart thead th {
	background: var(--c-ink);
	font-weight: 400;
	letter-spacing: 0.06em;
	color: var(--c-white);
}

.size-chart tbody th {
	position: sticky;
	left: 0;
	background: var(--c-cream);
	font-weight: 400;
	text-align: left;
	color: var(--c-ink);
}

.size-chart tbody tr:nth-child(even) td {
	background: #faf8f5;
}

.size-chart__note {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--c-muted);
}

table.variations th.label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.size-chart-link {
	padding: 0;
	border: 0;
	background: none;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--c-text);
}

.size-chart-link:hover {
	color: var(--c-ink);
	opacity: 0.6;
}

.product-accordion__body #reviews h2 {
	font-size: 18px;
}

/* Add to cart form. */
.product-form__label,
table.variations th.label label {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-ink);
}

.summary form.cart {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: end;
	gap: 12px;
	margin: 0 0 20px;
}

.summary form.cart .product-form__label {
	grid-column: 1 / -1;
	margin-bottom: -2px;
}

.summary form.cart.variations_form {
	display: block;
}

table.variations {
	width: 100%;
	margin: 0 0 20px;
	border-collapse: collapse;
}

table.variations tr {
	display: block;
}

table.variations th,
table.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

table.variations .size-selected {
	margin-left: 6px;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--c-muted);
}

/* Size swatches (the select stays in the DOM for WooCommerce). */
.swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swatch {
	min-width: 54px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	background: var(--c-white);
	font-size: 14px;
	color: var(--c-ink);
	transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.swatch:hover {
	border-color: var(--c-ink);
}

.swatch.is-selected {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-white);
}

.swatch:disabled {
	color: var(--c-muted);
	background: repeating-linear-gradient(135deg, transparent 0 8px, #f1ece6 8px 9px);
	cursor: not-allowed;
}

.has-swatches select {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.single_variation_wrap .woocommerce-variation-price {
	margin-bottom: 14px;
	font-family: var(--f-head);
	font-size: 20px;
	color: var(--c-ink);
}

.single_variation_wrap .woocommerce-variation-add-to-cart {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: end;
	gap: 12px;
}

.single_variation_wrap .woocommerce-variation-add-to-cart .product-form__label {
	grid-column: 1 / -1;
	margin-bottom: -2px;
}

/* Quantity stepper. */
.quantity {
	display: inline-flex;
	align-items: center;
	height: 54px;
	border: 1px solid var(--c-border);
	border-radius: 100px;
	background: var(--c-white);
}

.quantity .qty {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-size: 15px;
	-moz-appearance: textfield;
}

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

.qty-step {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	font-size: 18px;
	color: var(--c-ink);
}

.qty-step:hover {
	color: var(--c-ink);
	opacity: 0.6;
}

.single_add_to_cart_button {
	width: 100%;
	height: 54px;
	font-size: 15px;
}

.single_add_to_cart_button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.product-share {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--c-text);
}

.product-share:hover {
	color: var(--c-ink);
	opacity: 0.6;
}

/* A sold-out size picked: message under the sizes; the WhatsApp button is highlighted. */
.size-soldout {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	background: #fdf1ea;
	font-size: 14px;
	line-height: 1.5;
	color: var(--c-ink);
}

.has-sold-out-size .woocommerce-variation-availability {
	display: none; /* The message above says it. */
}

.product-whatsapp.is-highlighted .product-whatsapp__btn {
	border-color: #25d366;
	background: #25d366;
	color: var(--c-white);
	animation: rk-whatsapp-pulse 1.6s ease-out 2;
}

.product-whatsapp.is-highlighted .product-whatsapp__btn svg {
	color: var(--c-white);
}

@keyframes rk-whatsapp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
	100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.product-whatsapp.is-highlighted .product-whatsapp__btn {
		animation: none;
	}
}

/* WhatsApp order button, under “Add to cart”. */
.product-whatsapp {
	margin: 4px 0 28px;
}

.product-whatsapp__note {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--c-text);
}

.product-whatsapp__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	padding: 10px 20px;
	border: 1px solid var(--c-ink);
	border-radius: 100px;
	background: var(--c-white);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-ink);
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}

.product-whatsapp__btn svg {
	flex: none;
	color: #25d366;
}

.product-whatsapp__btn:hover,
.product-whatsapp__btn:focus-visible {
	background: var(--c-ink);
	color: var(--c-white);
}

.product-whatsapp__small {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--c-muted);
	text-align: center;
}

/* “Watch the video” (YouTube / Instagram link), next to Share. */
.product-watch,
.product-watch + .product-share {
	vertical-align: middle;
}

.product-watch {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: 28px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-ink);
	font-size: 13px;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.product-watch svg {
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	padding: 9px 8px 9px 10px;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-white);
	fill: currentColor;
	transition: background-color 0.2s;
}

.product-watch:hover svg,
.product-watch:focus-visible svg {
	background: var(--c-accent);
}

/* Reviews inside the accordion. */
#reviews .commentlist {
	padding: 0;
	list-style: none;
}

#reviews .comment_container {
	display: flex;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--c-border);
}

#reviews .avatar {
	border-radius: 50%;
}

/* Related / upsells. */
.related.products,
.upsells.products {
	margin-top: clamp(64px, 8vw, 110px);
}

.related.products > h2,
.upsells.products > h2 {
	margin-bottom: 32px;
	font-size: clamp(28px, 3vw, 40px);
}

/* ---------- Cart drawer ---------- */
#cart-drawer .drawer__panel {
	width: min(460px, 94vw);
	overflow: hidden;
}

.cart-drawer__count {
	font-family: var(--f-body);
	font-size: 15px;
	color: var(--c-muted);
}

.widget_shopping_cart_content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.cart-drawer__items {
	flex: 1;
	margin: 0;
	padding: 0 24px;
	overflow-y: auto;
	list-style: none;
}

.cart-item {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--c-border);
	transition: opacity 0.2s;
}

.cart-item.is-updating {
	opacity: 0.45;
	pointer-events: none;
}

.cart-item__media {
	display: block;
	overflow: hidden;
	aspect-ratio: var(--product-ratio);
	border-radius: var(--radius-sm);
	background: var(--c-card);
}

.cart-item__media img,
.cart-item__media .rk-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-item__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.cart-item__top {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.cart-item__name {
	font-family: var(--f-head);
	font-size: 17px;
	line-height: 1.3;
	color: var(--c-ink);
}

.cart-item__total {
	flex-shrink: 0;
	font-size: 14px;
	color: var(--c-ink);
}

.cart-item__meta {
	font-size: 13px;
	color: var(--c-muted);
}

.cart-item__meta dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4px;
	margin: 0 0 2px;
}

.cart-item__meta dl.variation dd {
	margin-right: 8px !important;
}

.cart-item__meta dl.variation dt,
.cart-item__meta dl.variation dd,
.cart-item__meta dl.variation p {
	margin: 0;
	font-weight: 400;
}

.cart-item__unit del {
	margin-right: 4px;
}

.cart-item__unit ins {
	text-decoration: none;
}

.cart-item__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 8px;
}

.cart-qty {
	display: inline-flex;
	align-items: center;
	height: 40px;
	border: 1px solid var(--c-border);
	border-radius: 100px;
}

.cart-qty__btn {
	width: 38px;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	color: var(--c-ink);
}

.cart-qty__btn:hover:not(:disabled) {
	color: var(--c-ink);
	opacity: 0.6;
}

.cart-qty__btn:disabled {
	color: var(--c-border);
	cursor: not-allowed;
}

.cart-qty__value {
	min-width: 22px;
	text-align: center;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.cart-item__remove {
	padding: 0;
	border: 0;
	background: none;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--c-muted);
}

.cart-item__remove:hover {
	color: var(--c-ink);
	opacity: 0.6;
}

.cart-drawer__footer {
	padding: 20px 24px 24px;
	border-top: 1px solid var(--c-border);
	background: var(--c-white);
	box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.04);
}

.cart-drawer__footer .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	font-size: 15px;
	color: var(--c-ink);
}

.cart-drawer__footer .woocommerce-mini-cart__total strong {
	font-family: var(--f-head);
	font-size: 22px;
	font-weight: 400;
}

.cart-drawer__note {
	margin: 4px 0 18px;
	font-size: 12px;
	color: var(--c-muted);
}

.cart-drawer__checkout {
	width: 100%;
	height: 54px;
	font-size: 15px;
}

.cart-drawer__view {
	display: block;
	margin-top: 12px;
	text-align: center;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--c-text);
}

.cart-drawer__empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 40px 24px;
	text-align: center;
	color: var(--c-muted);
}

.cart-drawer__empty .woocommerce-mini-cart__empty-message {
	margin: 0 0 8px;
	font-family: var(--f-head);
	font-size: 22px;
	color: var(--c-ink);
}

/* Product page add-to-cart feedback. */
.single_add_to_cart_button.loading {
	opacity: 0.6;
	cursor: progress;
}

.product-form__error {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	background: #fbeeee;
	font-size: 13px;
	color: #9b2c2c;
}

/* ---------- Review form stars ---------- */
p.stars {
	margin: 0 0 16px;
}

p.stars span {
	display: inline-flex;
	gap: 2px;
}

p.stars a {
	position: relative;
	display: inline-block;
	width: 1.3em;
	height: 1.3em;
	overflow: hidden;
	font-size: 20px;
	line-height: 1;
	text-indent: 100%;
	white-space: nowrap;
	color: #f5b400;
}

p.stars a::before {
	content: "☆";
	position: absolute;
	top: 0;
	left: 0;
	text-indent: 0;
}

p.stars:hover a::before,
p.stars.selected a::before {
	content: "★";
}

p.stars a:hover ~ a::before,
p.stars.selected a.active ~ a::before {
	content: "☆";
}

/* ---------- Store notice ---------- */
.woocommerce-store-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	margin: 0;
	padding: 14px 20px;
	background: var(--c-ink);
	text-align: center;
	font-size: 14px;
	color: var(--c-white);
}

.woocommerce-store-notice a {
	margin-left: 12px;
	color: var(--c-white);
	text-decoration: underline;
}

/* ---------- Login / register ---------- */
.woocommerce .col2-set,
.woocommerce-account .u-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword {
	padding: 32px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.woocommerce-password-strength {
	margin-top: 8px;
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	font-size: 13px;
}

.woocommerce-password-strength.strong {
	background: #eef6ee;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
	background: #fbeeee;
}

.woocommerce-password-strength.good {
	background: #fdf6e6;
}

.woocommerce-cart .alignwide,
.woocommerce-checkout .alignwide {
	margin-left: 0;
	margin-right: 0;
}

/* ---------- Classic cart / checkout / account tables ---------- */
table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

table.shop_table th,
table.shop_table td {
	padding: 16px 12px;
	border-bottom: 1px solid var(--c-border);
	text-align: left;
	vertical-align: middle;
}

table.shop_table th {
	font-weight: 400;
	color: var(--c-ink);
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	font-weight: 400;
}

.woocommerce-MyAccount-navigation li.is-active a {
	background: var(--c-soft);
	color: var(--c-ink);
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 48px;
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce > * {
	grid-column: 1 / -1;
}

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

.woocommerce form .form-row label {
	display: block;
}

.required {
	color: var(--c-accent);
	text-decoration: none;
}

/* Block cart/checkout: align with theme. */
.wc-block-components-button:not(.is-link) {
	border-radius: 100px !important;
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--c-ink) !important;
	color: var(--c-white) !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: var(--c-ink-hover) !important;
}

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

	.shop-layout {
		grid-template-columns: 1fr;
	}

	.shop-toolbar__filter {
		display: inline-flex;
	}

	.shop-sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 120;
		width: min(340px, 88vw);
		padding: 64px 24px 24px;
		overflow-y: auto;
		background: var(--c-white);
		box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
		transform: translateX(-105%);
		transition: transform 0.35s var(--ease);
	}

	.shop-sidebar.is-open {
		transform: none;
	}

	.shop-sidebar__close {
		position: absolute;
		top: 14px;
		right: 14px;
		display: inline-flex;
	}

	.product-main {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.summary.entry-summary {
		position: static;
	}

	.woocommerce-product-gallery__wrapper {
		width: 100%;
	}

	.gallery-stage {
		width: 100%;
	}

	.woocommerce-product-gallery {
		position: relative;
		top: 0;
		grid-template-columns: minmax(0, 1fr);
	}

	.gallery-thumbs {
		display: none;
	}

	.gallery-arrow {
		display: none;
	}

	.woocommerce-account .woocommerce,
	.woocommerce .col2-set,
	.woocommerce-account .u-columns {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 767px) {
	ul.products,
	ul.products.columns-3,
	ul.products.columns-4,
	ul.products.columns-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 10px;
	}

	.woocommerce-loop-product__title,
	li.product .price {
		font-size: 13px;
	}

	.product-card__actions {
		left: 8px;
		right: 8px;
		bottom: 8px;
		gap: 6px;
		opacity: 1;
		transform: none;
	}

	.product-card__actions .button {
		padding: 8px 6px;
		font-size: 11px;
	}

	.card-sizes {
		padding: 8px;
	}

	.card-sizes__list {
		gap: 4px;
	}

	.card-sizes__opt {
		min-width: 32px;
		height: 28px;
		padding: 0 6px;
		font-size: 11px;
	}

	/* Filter and sort share one row; the result count is hidden to save space. */
	.shop-toolbar {
		flex-wrap: nowrap;
		gap: 8px;
		margin-bottom: 20px;
	}

	.woocommerce-result-count {
		display: none;
	}

	.shop-toolbar__filter {
		display: inline-flex;
		align-items: center;
		flex: 0 0 calc(50% - 4px);
		min-width: 0;
		justify-content: center;
		height: 42px;
		padding: 0 16px;
		font-size: 13px;
	}

	.woocommerce-ordering {
		display: flex;
		flex: 0 0 calc(50% - 4px);
		min-width: 0;
	}

	.woocommerce-ordering select {
		width: 100%;
		height: 42px;
		padding: 0 36px 0 16px;
		background-position: right 14px center;
		font-size: 13px;
	}
}

/* Linked video playing in its gallery slide. */
.product-gallery__player {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}

.product-gallery__player iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}

/* Reels, Shorts and Instagram posts are tall: fit the slide's height. */
.product-gallery__link.is-vertical .product-gallery__player iframe {
	width: auto;
	height: 100%;
	aspect-ratio: 9 / 16;
}

/* Instagram's player adds its header and caption around the video. */
.product-gallery__link[data-source="instagram"] .product-gallery__player {
	background: #fff;
}

.product-gallery__link[data-source="instagram"] .product-gallery__player iframe {
	width: auto;
	height: 100%;
	aspect-ratio: 9 / 19;
	background: #fff;
}

.product-gallery__link.is-playing .product-gallery__link-play,
.product-gallery__link.is-playing .product-gallery__link-cover {
	visibility: hidden;
}

.product-gallery__player-link {
	position: absolute;
	bottom: 12px;
	left: 50%;
	padding: 6px 14px;
	border-radius: 100px;
	background: rgba(17, 17, 17, 0.75);
	color: var(--c-white);
	font-size: 12px;
	letter-spacing: 0.04em;
	text-decoration: none;
	transform: translateX(-50%);
}

.product-gallery__player-link:hover {
	background: var(--c-ink);
	color: var(--c-white);
}

.product-gallery__link[data-source="instagram"] .product-gallery__player {
	padding-bottom: 44px;
}

/* ==========================================================================
   Order received page (and My account → View order).
   ========================================================================== */
.rk-thanks {
	max-width: 1040px;
	margin: 0 auto;
}

.rk-thanks__hero {
	padding: 48px 40px 40px;
	border-radius: var(--radius-lg);
	background: var(--c-sand);
	text-align: center;
}

.rk-thanks__check {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-white);
}

.rk-thanks__check svg {
	stroke-width: 2.2;
}

.rk-thanks__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-accent);
}

.rk-thanks__title {
	margin: 0 0 12px;
	font-family: var(--f-head);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 400;
	line-height: 1.1;
	color: var(--c-ink);
}

.rk-thanks__lead {
	max-width: 560px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.7;
	color: var(--c-text);
}

.rk-thanks__lead strong {
	font-weight: 500;
	color: var(--c-ink);
}

.rk-thanks__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 32px 0 0;
	overflow: hidden;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: var(--c-border);
	text-align: left;
}

.rk-thanks__facts > div {
	padding: 16px 20px;
	background: var(--c-white);
}

.rk-thanks__facts dt {
	margin-bottom: 4px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.rk-thanks__facts dd {
	margin: 0;
	font-size: 15px;
	color: var(--c-ink);
}

.rk-thanks__section-title,
.woocommerce-order-details__title.rk-thanks__section-title {
	margin: 0 0 20px;
	font-family: var(--f-head);
	font-size: 26px;
	font-weight: 400;
	color: var(--c-ink);
}

.rk-thanks__next {
	margin: 48px 0 0;
}

.rk-thanks__actions,
.rk-thanks__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
}

.rk-thanks__footer {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--c-border);
	justify-content: space-between;
}

.rk-thanks__help {
	margin: 0;
	font-size: 14px;
	color: var(--c-text);
}

.rk-thanks__help a,
.rk-thanks__link {
	color: var(--c-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* What happens next. */
.rk-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.rk-steps__item {
	position: relative;
	display: grid;
	gap: 6px;
	align-content: start;
	padding-right: 20px;
}

.rk-steps__item::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 40px;
	right: 0;
	height: 1px;
	background: var(--c-border);
}

.rk-steps__item:last-child::before {
	display: none;
}

.rk-steps__item.is-done::before {
	background: var(--c-ink);
}

.rk-steps__dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	border: 1px solid var(--c-border);
	border-radius: 50%;
	background: var(--c-white);
	font-size: 13px;
	color: var(--c-muted);
}

.rk-steps__item.is-done .rk-steps__dot {
	border-color: var(--c-ink);
	background: var(--c-ink);
	color: var(--c-white);
}

.rk-steps__title {
	font-size: 15px;
	color: var(--c-ink);
}

.rk-steps__text {
	font-size: 13px;
	line-height: 1.6;
	color: var(--c-text);
}

/* The pieces and the totals. */
.rk-order {
	margin: 48px 0 0;
}

.rk-order__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	align-items: start;
}

.rk-order__items {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--c-ink);
}

.rk-order__item {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--c-border);
}

.rk-order__thumb img {
	display: block;
	width: 80px;
	height: 100px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	background: var(--c-card);
}

.rk-order__info {
	display: grid;
	gap: 6px;
}

.rk-order__name {
	font-family: var(--f-head);
	font-size: 18px;
	line-height: 1.3;
	color: var(--c-ink);
}

.rk-order__name a {
	color: inherit;
	text-decoration: none;
}

.rk-order__name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rk-order__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: 13px;
	color: var(--c-text);
}

.rk-order__meta p {
	margin: 0;
}

.rk-order__note {
	font-size: 13px;
	color: var(--c-text);
}

.rk-order__price {
	font-size: 15px;
	color: var(--c-ink);
	white-space: nowrap;
}

.rk-order__summary {
	padding: 24px;
	border-radius: var(--radius);
	background: var(--c-sand);
}

.rk-order__totals {
	margin: 0;
}

.rk-order__total {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	font-size: 14px;
}

.rk-order__total dt {
	color: var(--c-text);
}

.rk-order__total dd {
	margin: 0;
	text-align: right;
	color: var(--c-ink);
}

.rk-order__total--order_total {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--c-ink);
	font-size: 18px;
}

.rk-order__total--order_total dt,
.rk-order__total--order_total dd {
	color: var(--c-ink);
}

.rk-order__total--order_total dd {
	font-family: var(--f-head);
	font-size: 22px;
}

.rk-order__total--order_total small {
	display: block;
	font-family: var(--f-body);
	font-size: 12px;
	color: var(--c-muted);
}

.rk-order__customer-note {
	margin-top: 16px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--c-text);
}

.rk-order__customer-note span {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.rk-order__actions {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.rk-order__actions .button,
.rk-order__actions .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid var(--c-ink);
	border-radius: 100px;
	background: transparent;
	font-size: 14px;
	color: var(--c-ink);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.rk-order__actions .button:hover,
.rk-order__actions .btn:hover {
	background: var(--c-ink);
	color: var(--c-white);
}

/* Addresses. */
.rk-addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 32px 0 0;
}

.rk-addresses__card {
	padding: 20px 24px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.rk-addresses__title {
	margin: 0 0 10px;
	font-family: var(--f-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.rk-addresses address {
	margin: 0;
	font-size: 14px;
	font-style: normal;
	line-height: 1.7;
	color: var(--c-ink);
	overflow-wrap: anywhere;
}

@media (max-width: 991px) {
	.rk-order__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.rk-thanks__hero {
		padding: 36px 20px 24px;
	}

	.rk-thanks__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rk-steps {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.rk-steps__item {
		grid-template-columns: 32px 1fr;
		column-gap: 14px;
		row-gap: 2px;
		padding: 0 0 20px;
	}

	.rk-steps__item::before {
		top: 32px;
		bottom: 0;
		left: 16px;
		right: auto;
		width: 1px;
		height: auto;
	}

	.rk-steps__dot {
		grid-row: span 2;
		margin: 0;
	}

	.rk-order__item {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.rk-order__thumb img {
		width: 64px;
		height: 80px;
	}

	.rk-order__price {
		grid-column: 2;
	}

	.rk-thanks__footer {
		justify-content: center;
		text-align: center;
	}
}

/* The order page sits inside the page's text styles: keep its own look. */
.entry-content .rk-thanks h2,
.entry-content .rk-order h2,
.entry-content .rk-addresses h2 {
	letter-spacing: normal;
	text-transform: none;
}

.entry-content .rk-thanks .rk-thanks__title {
	margin: 0 0 12px;
	font-size: clamp(30px, 4vw, 44px);
}

.entry-content .rk-thanks .rk-thanks__section-title {
	margin: 0 0 20px;
	font-size: 26px;
}

.entry-content .rk-addresses .rk-addresses__title {
	margin: 0 0 10px;
	font-family: var(--f-body);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.entry-content .rk-thanks .btn,
.entry-content .rk-order .btn,
.entry-content .rk-order .button {
	text-decoration: none;
}

.entry-content .rk-thanks .btn--dark,
.entry-content .rk-thanks .btn--dark .btn__bubble {
	color: var(--c-white);
}

.entry-content .rk-order__actions .button {
	color: var(--c-ink);
}

.entry-content .rk-order__actions .button:hover {
	color: var(--c-white);
}

.entry-content .rk-order__name a {
	color: inherit;
	text-decoration: none;
}

.entry-content .rk-steps,
.entry-content .rk-order__items {
	padding-left: 0;
}

.entry-content .rk-steps li + li,
.entry-content .rk-order__items li + li {
	margin-top: 0;
}

.entry-content .rk-order__thumb img {
	border-radius: var(--radius-sm);
}

.rk-order__total--order_total dd {
	font-family: var(--f-body);
	font-size: 20px;
	font-variant-numeric: lining-nums;
}

/* Tracking line on the customer's order page. */
.rk-tracking {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: center;
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	background: var(--c-sand);
	font-size: 14px;
	color: var(--c-ink);
}

.rk-tracking__label {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.entry-content .rk-tracking__link,
.rk-tracking__link {
	color: var(--c-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Non-refundable note with policy links (product page). */
.product-policy {
	margin: -8px 0 24px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--c-muted);
}

.product-policy a {
	color: var(--c-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Store credit */
.rk-credit-box { margin: 0 0 24px; padding: 20px 22px; background: #f7f3ef; }
.rk-credit-box p { margin: 0 0 8px; }
.rk-credit-box p:last-child { margin-bottom: 0; }
.rk-credit-box__label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #8a8a8a; }
.rk-credit-box__amount { font-family: var(--f-head); font-size: 32px; color: var(--c-ink, #111); }
.rk-credit-table td:last-child, .rk-credit-table th:last-child { text-align: right; white-space: nowrap; }
.rk-credit-note { margin: 0 0 20px; padding: 14px 18px; background: #f7f3ef; font-size: 14px; }
.rk-credit-note a { text-decoration: underline; }

/* Account not confirmed yet */
.rk-verify-gate { max-width: 520px; margin: 0 auto; padding: 36px 32px; background: #f7f3ef; text-align: center; }
.rk-verify-gate__title { margin: 0 0 14px; font-family: var(--f-head); font-size: 30px; font-weight: 400; }
.rk-verify-gate p { margin: 0 0 22px; line-height: 1.6; }
.rk-verify-gate .button { min-width: 240px; }
.rk-verify-gate__out { margin: 18px 0 0 !important; font-size: 13px; }
.rk-verify-gate__out a { text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content:has(.rk-verify-gate) { grid-column: 1 / -1; width: 100%; float: none; }
.woocommerce-MyAccount-content:has(.rk-verify-gate) .woocommerce-message { max-width: 520px; margin: 0 auto 16px; }
@media (max-width: 600px) { .rk-verify-gate { padding: 28px 20px; } .rk-verify-gate .button { min-width: 0; width: 100%; } }


/* ---------- My account: sign in / create account ---------- */
.rk-auth {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	max-width: 1000px;
	margin: 0 auto;
}

.rk-auth--single {
	grid-template-columns: minmax(0, 480px);
	justify-content: center;
}

.rk-auth__card {
	padding: 44px 44px 40px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: var(--c-white);
}

.rk-auth__card--register {
	background: var(--c-cream);
	border-color: transparent;
}

.rk-auth .woocommerce-form-login,
.rk-auth .woocommerce-form-register {
	padding: 0;
	border: 0;
	border-radius: 0;
}

.rk-auth__eyebrow {
	margin: 0 0 6px;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--c-accent);
}

.rk-auth__title {
	margin: 0 0 26px;
	font-family: var(--f-head);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--c-ink);
}

.rk-auth label {
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--c-ink);
}

.rk-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0 22px;
	font-size: 14px;
}

.rk-auth__row label {
	margin: 0;
	font-size: 14px;
}

.rk-auth__link,
.rk-auth__switch a,
.rk-auth .woocommerce-privacy-policy-text a {
	color: var(--c-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rk-auth__submit.button {
	width: 100%;
	justify-content: center;
	padding-top: 15px;
	padding-bottom: 15px;
}

.rk-auth__submit--outline.button {
	background: var(--c-ink);
}

.rk-auth__perks {
	margin: -6px 0 24px;
	padding: 0;
	list-style: none;
}

.rk-auth__perks li {
	display: flex;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--c-text);
}

.rk-auth__perks svg {
	flex: none;
	margin-top: 3px;
	color: var(--c-accent);
}

.rk-auth__hint,
.rk-auth .woocommerce-privacy-policy-text p {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--c-muted);
}

.rk-auth__switch {
	display: none;
	margin: 22px 0 0;
	font-size: 14px;
	text-align: center;
}

/* Show / hide password (WooCommerce's eye button). */
.woocommerce form .password-input {
	position: relative;
	display: block;
}

.woocommerce form .password-input input {
	padding-right: 48px;
}

.woocommerce form .show-password-input {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	transform: translateY(-50%);
	cursor: pointer;
}

.woocommerce form .show-password-input.display-password {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4.1M6.6 6.6A17 17 0 0 0 2 12s3.6 7 10 7a9.6 9.6 0 0 0 5.4-1.6'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}

.woocommerce form .show-password-input::after {
	content: none;
}

/* ---------- My account: menu and pages ---------- */
.woocommerce-MyAccount-navigation li a {
	color: var(--c-text);
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.woocommerce-MyAccount-navigation li a:hover {
	color: var(--c-ink);
	background: var(--c-soft);
}

.woocommerce-MyAccount-navigation li.is-active a {
	color: var(--c-ink);
	font-weight: 500;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--c-border);
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--c-muted);
}

.woocommerce-MyAccount-content a:not(.button):not(.rk-dash__card):not(.rk-dash__orders a):not(.rk-orders__btn):not(.rk-back):not(.rk-orders__id a) {
	color: var(--c-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-MyAccount-content > p:first-child {
	color: var(--c-muted);
}

/* Account details: password section */
.woocommerce-EditAccountForm fieldset {
	margin: 28px 0 8px;
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--c-border);
}

.woocommerce-EditAccountForm legend {
	padding: 0 0 14px;
	font-family: var(--f-head);
	font-size: 22px;
	color: var(--c-ink);
}

/* Addresses */
.woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.woocommerce-Addresses::before,
.woocommerce-Addresses::after {
	content: none;
}

.woocommerce-Addresses .woocommerce-Address {
	width: auto;
	float: none;
	padding: 24px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.woocommerce-Address-title h2 {
	margin: 0;
	font-size: 22px;
}

.woocommerce-Address address {
	font-style: normal;
	line-height: 1.7;
	color: var(--c-text);
}

/* Dashboard */
.rk-dash__hello {
	margin: 0 0 6px;
	font-family: var(--f-head);
	font-size: 34px;
	font-weight: 400;
	color: var(--c-ink);
}

.rk-dash__intro {
	margin: 0 0 28px;
	color: var(--c-muted);
}

.rk-dash__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 40px;
}

.rk-dash__card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	color: var(--c-ink);
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s;
}

.rk-dash__card:hover {
	border-color: var(--c-ink);
	transform: translateY(-2px);
}

.rk-dash__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: var(--c-cream);
}

.rk-dash__label {
	font-size: 11px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--c-muted);
}

.rk-dash__value {
	overflow: hidden;
	font-size: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rk-dash__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 8px;
}

.rk-dash__head h3 {
	margin: 0;
	font-family: var(--f-head);
	font-size: 22px;
	font-weight: 400;
}

.rk-dash__orders {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--c-border);
}

.rk-dash__orders a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 4px;
	border-bottom: 1px solid var(--c-border);
	color: var(--c-ink);
	text-decoration: none;
}

.rk-dash__orders a:hover {
	background: var(--c-soft);
}

.rk-dash__order-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.rk-dash__order-main strong {
	font-weight: 500;
}

.rk-dash__order-main span {
	overflow: hidden;
	font-size: 13px;
	color: var(--c-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rk-dash__status {
	flex: none;
	padding: 4px 12px;
	border-radius: 100px;
	background: var(--c-soft);
	font-size: 12px;
	white-space: nowrap;
}

.rk-dash__status--completed,
.rk-dash__status--rk-shipped { background: #e9f4ec; color: #1a6b35; }
.rk-dash__status--processing,
.rk-dash__status--rk-preparing,
.rk-dash__status--rk-packed { background: #fbf1e4; color: #8a4b0f; }
.rk-dash__status--pending,
.rk-dash__status--on-hold { background: #f4f1ea; color: #6b5a2d; }
.rk-dash__status--cancelled,
.rk-dash__status--failed { background: #fbeeee; color: #9b2c2c; }

.rk-dash__total {
	flex: none;
	min-width: 80px;
	text-align: right;
}

.rk-dash__empty {
	padding: 28px;
	border: 1px dashed var(--c-border);
	border-radius: var(--radius);
	text-align: center;
}

.rk-dash__empty p {
	margin: 0 0 16px;
	color: var(--c-muted);
}

.rk-dash__help {
	margin-top: 40px;
	padding: 22px 24px;
	border-radius: var(--radius);
	background: var(--c-cream);
}

.rk-dash__help p {
	margin: 0;
}

.rk-dash__help-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-top: 10px !important;
}

.rk-dash__help-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.woocommerce-MyAccount-content .rk-credit-box {
	margin-bottom: 28px;
}

@media (max-width: 1024px) {
	.rk-dash__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Menu as a row of pills that scrolls sideways. */
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 8px;
		margin: 0 -16px;
		padding: 0 16px 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}

	.woocommerce-MyAccount-navigation li a {
		padding: 10px 16px;
		border: 1px solid var(--c-border);
		border-radius: 100px;
		white-space: nowrap;
		font-size: 14px;
	}

	.woocommerce-MyAccount-navigation li.is-active a {
		border-color: var(--c-ink);
		background: var(--c-ink);
		color: var(--c-white);
	}

	.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0;
		padding: 0;
		border: 0;
	}
}

@media (max-width: 767px) {
	.rk-auth {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.rk-auth__card {
		padding: 30px 22px 28px;
	}

	.rk-auth__title {
		font-size: 28px;
	}

	.rk-auth__switch {
		display: block;
	}

	.rk-dash__hello {
		font-size: 28px;
	}

	.rk-dash__cards {
		gap: 10px;
	}

	.rk-dash__card {
		padding: 16px;
	}

	.rk-dash__orders a {
		flex-wrap: wrap;
		gap: 6px 12px;
	}

	.rk-dash__order-main {
		flex-basis: 100%;
	}

	.rk-dash__total {
		min-width: 0;
		margin-left: auto;
	}

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

/* Account pages: override the content link colour (orange, underlined) where these are not plain links. */
.woocommerce .rk-auth .rk-auth__title,
.woocommerce .rk-dash .rk-dash__hello {
	margin-top: 0;
}

.woocommerce .rk-auth .rk-auth__title {
	margin-bottom: 24px;
}

.woocommerce .rk-auth a.rk-auth__link,
.woocommerce .rk-auth .rk-auth__switch a,
.woocommerce .rk-auth .woocommerce-privacy-policy-text a {
	color: var(--c-ink);
}

.woocommerce .woocommerce-MyAccount-content a.rk-dash__card,
.woocommerce .woocommerce-MyAccount-content a.rk-dash__card span,
.woocommerce .woocommerce-MyAccount-content .rk-dash__orders a,
.woocommerce .woocommerce-MyAccount-content .rk-dash__orders a span {
	text-decoration: none;
}

.woocommerce .woocommerce-MyAccount-content a.rk-dash__card,
.woocommerce .woocommerce-MyAccount-content .rk-dash__orders a,
.woocommerce .woocommerce-MyAccount-content .rk-dash__icon {
	color: var(--c-ink);
}

.woocommerce .woocommerce-MyAccount-content .rk-dash__label,
.woocommerce .woocommerce-MyAccount-content .rk-dash__order-main span {
	color: var(--c-muted);
}

.woocommerce .rk-dash__orders li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce .rk-dash__orders li::before {
	content: none;
}

/* Account layout: columns may shrink, so the scrolling menu row never widens the page. */
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
	min-width: 0;
}

.woocommerce .woocommerce-MyAccount-content ul.rk-dash__orders {
	margin-left: 0;
	padding-left: 0;
}

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

/* My account → Orders: one card per order. */
.woocommerce .woocommerce-MyAccount-content ul.rk-orders,
.woocommerce .woocommerce-MyAccount-content ul.rk-orders__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce .rk-orders li::before {
	content: none;
}

.rk-orders {
	display: grid;
	gap: 16px;
}

.woocommerce .rk-orders .rk-orders__card {
	margin: 0;
	padding: 22px 24px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: var(--c-white);
}

.rk-orders__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--c-border);
}

.rk-orders__id {
	display: grid;
	gap: 2px;
}

.woocommerce .woocommerce-MyAccount-content .rk-orders__id a {
	font-family: var(--f-head);
	font-size: 20px;
	color: var(--c-ink);
	text-decoration: none;
}

.rk-orders__id span {
	font-size: 13px;
	color: var(--c-muted);
}

.woocommerce .rk-orders__items li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 14px 0 0;
}

.rk-orders__thumb {
	flex: none;
	width: 52px;
	height: 64px;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--c-cream);
}

.rk-orders__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rk-orders__name {
	display: grid;
	gap: 2px;
	min-width: 0;
	font-size: 15px;
}

.rk-orders__name small {
	font-size: 13px;
	color: var(--c-muted);
}

.woocommerce .rk-orders__items .rk-orders__more {
	font-size: 13px;
	color: var(--c-muted);
}

.rk-orders__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--c-border);
}

.rk-orders__total {
	display: grid;
	gap: 2px;
}

.rk-orders__total > span {
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--c-muted);
}

.rk-orders__total strong {
	font-size: 18px;
	font-weight: 500;
}

.rk-orders__actions,
.rk-orders__pages {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rk-orders__pages {
	justify-content: space-between;
	margin-top: 24px;
}

.woocommerce .woocommerce-MyAccount-content a.rk-orders__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid var(--c-ink);
	border-radius: 100px;
	background: transparent;
	font-size: 14px;
	color: var(--c-ink);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.woocommerce .woocommerce-MyAccount-content a.rk-orders__btn--dark,
.woocommerce .woocommerce-MyAccount-content a.rk-orders__btn:hover {
	background: var(--c-ink);
	color: var(--c-white);
}

.woocommerce .woocommerce-MyAccount-content a.rk-orders__btn--dark:hover {
	background: transparent;
	color: var(--c-ink);
}

/* My account → View order. */
.woocommerce .woocommerce-MyAccount-content a.rk-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	color: var(--c-ink);
	text-decoration: none;
}

.woocommerce .woocommerce-MyAccount-content a.rk-back:hover {
	text-decoration: underline;
}

.rk-view__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.rk-view__head > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.woocommerce-MyAccount-content .rk-view__meta {
	margin: 0;
	color: var(--c-muted);
}

.rk-view__progress {
	margin-bottom: 36px;
	padding: 26px 24px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.rk-view__tracking {
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--c-border);
	font-size: 14px;
}

.rk-view__updates {
	margin-bottom: 36px;
}

.woocommerce .rk-view__updates ol {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--c-border);
}

.woocommerce .rk-view__updates li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--c-border);
}

.woocommerce .rk-view__updates li::before {
	content: none;
}

.rk-view__updates li > span {
	font-size: 12px;
	color: var(--c-muted);
}

.rk-view__updates li p {
	margin: 4px 0 0;
}

/* Addresses and account details: country/state pickers like the other boxes, tidy hints and tick boxes. */
.woocommerce-MyAccount-content .select2-container .select2-selection--single {
	height: auto;
	padding: 13px 18px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
}

.woocommerce-MyAccount-content .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--c-ink);
}

.woocommerce-MyAccount-content .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
}

.woocommerce-MyAccount-content .select2-container--open .select2-selection--single,
.woocommerce-MyAccount-content .select2-container--focus .select2-selection--single {
	border-color: var(--c-ink);
}

.select2-dropdown {
	border-color: var(--c-border);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.woocommerce-MyAccount-content .form-row em,
.woocommerce-MyAccount-content #account_display_name_description {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-style: normal;
	color: var(--c-muted);
}

.woocommerce-MyAccount-content input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	vertical-align: -3px;
	accent-color: var(--c-ink);
}

@media (max-width: 600px) {
	.woocommerce .rk-orders .rk-orders__card {
		padding: 18px 16px;
	}

	.rk-orders__actions,
	.rk-orders__actions a.rk-orders__btn {
		flex: 1 1 100%;
	}

	.rk-view__head .rk-orders__btn {
		width: 100%;
	}

	.rk-view__progress {
		padding: 22px 18px;
	}
}
