/* Avloon — Cart Design · side cart (Rey mini-cart panel), design 4.
 *
 * Loaded only for visitors who get the new design (see inc/sidecart.php).
 *
 * SCOPE: every rule starts with  .rey-cartPanel-wrapper:not(#avl-cui)
 *   The :not(#…) part always matches (the wrapper has no such id) and gives each selector the weight of an id,
 *   so these rules win over the theme's and avloon-storefront's class-based rules whichever file loads first,
 *   without !important. The few !important below only answer an !important of another stylesheet or an inline
 *   style inside another plugin's markup (noted each time).
 *
 * LAYOUT: the grand total row (.avl-cui-grand) is printed INSIDE div.woocommerce-mini-cart__total, the only block
 *   Rey re-renders after a coupon is applied or removed, so its figure can never be stale. It is placed beside the
 *   checkout button with position:absolute, measured from the BOTTOM of the panel: everything below the pay row
 *   («عرض السلة» link + payment chips) has a fixed height, and the express-pay buttons sit ABOVE the pay row, so the
 *   placement is the same whether Stripe shows them or not.
 *
 * HEIGHT: header, summary card and bottom bar are pinned and the product list scrolls between them, as long as the
 *   panel has room for one whole product card. When it has not, the whole side cart scrolls as one page (see the
 *   "panel height" block near the end); the grand total moves with the bar because both live in the same box.
 *   With Rey's cross-sell carousel in the cart the bottom bar sticks to the bottom of the panel instead, the rest
 *   scrolls behind it and the grand total is measured from the panel (last block of the file).
 */

.rey-cartPanel-wrapper:not(#avl-cui) {
	--cui-ink: #111214;
	--cui-ink-2: #4a4f57;
	--cui-ink-3: #797979;
	--cui-canvas: #f4f5f7;
	--cui-card: #fff;
	--cui-line: #e6e8ec;
	--cui-line-2: #d9dde3;
	--cui-steel-1: #fafbfc;
	--cui-steel-2: #e9ecf0;
	--cui-steel-3: #c9ced6;
	--cui-steel-4: #9aa2ad;
	--cui-red: #e0003b;
	--cui-green: #1a7f37;
	--cui-green-bg: #edf7ef;
	--cui-green-line: #cfe8d5;
	--cui-shadow: 0 1px 2px rgba(17, 18, 20, .04), 0 8px 24px rgba(17, 18, 20, .05);

	/* metrics (the compact block at the end of the file changes only these) */
	--cui-gut: 14px;          /* canvas gutter around the cards */
	--cui-pad: 16px;          /* padding inside cards and the bottom bar */
	--cui-head-h: 64px;
	--cui-thumb: 112px;
	--cui-step-h: 48px;       /* stepper track */
	--cui-step-btn: 40px;     /* stepper buttons */
	--cui-strip-pad: 12px;    /* above and below the stepper */
	--cui-row-h: 56px;        /* summary rows */
	--cui-saved-h: 48px;
	--cui-bar-pt: 18px;
	--cui-pay-h: 58px;        /* checkout button = height of the grand total block */
	--cui-link-mt: 4px;
	--cui-link-h: 44px;       /* «عرض السلة» */
	--cui-chips-pt: 2px;
	--cui-chip-h: 28px;
	--cui-chips-pb: 16px;
	--cui-split: .4;         /* share of the pay row taken by the grand total */
	--cui-pay-gap: 12px;
	--cui-safe: env(safe-area-inset-bottom, 0px);
	--cui-w: min(100vw, var(--header-cart-width, 470px));   /* real width of the panel */
}

/* ---------------------------------------------------------------- shell */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel {
	padding: 0;
	background: var(--cui-canvas);
	color: var(--cui-ink);
	font-family: "Tajawal", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .__tab-content.--active {
	flex: 1 1 0%;
	min-height: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart {
	min-height: 0;
	margin: 0;
	padding: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content {
	position: relative;      /* containing block of .avl-cui-grand */
	min-height: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .woocommerce-Price-amount bdi {
	white-space: nowrap;
}

/* ---------------------------------------------------------------- header */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header {
	position: relative;
	z-index: 3;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: var(--cui-head-h);
	margin: 0;
	padding: 0 var(--cui-pad);
	background: #fff;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(201, 206, 214, .25), var(--cui-steel-3) 50%, rgba(201, 206, 214, .25));
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .__tabs {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	gap: 18px;
	border: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .__tab {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--cui-ink);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-cartPanel-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--cui-ink);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-title a {
	color: inherit;
	text-decoration: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-title .__cart-count,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-title .__nb {
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	margin: 0;
	padding: 2px 7px 0;
	border: 1px solid #bfc5ce;
	border-radius: 13px;
	background: linear-gradient(150deg, #fff 0%, var(--cui-steel-2) 55%, var(--cui-steel-3) 100%);
	box-shadow: inset 0 1px 0 #fff;
	color: var(--cui-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}
/* close button (added by Rey's side-panel script) */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close {
	position: relative;
	inset: auto;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--cui-canvas);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	color: var(--cui-ink);
	font-weight: 500;          /* Rey's optional close text would inherit the theme's 600, which is not loaded */
	cursor: pointer;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close::before {   /* 44px touch area */
	inset: -2px;
	width: auto;
	height: auto;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close .__icons {   /* glyph is the background above */
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close .__close-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close:hover,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close:focus-visible {
	background-color: var(--cui-steel-2);
}

/* ---------------------------------------------------------------- product list */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart {
	flex: 1 1 1px;             /* a length, never 0 or 0%: the cache plugin's minifier rewrites «0px» to «0%», which a box without a fixed height reads as «content» (the list would push the pay bar off the screen) */
	min-height: 0;             /* the real floor (one product card) is set in the "panel height" block below */
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	overflow-y: auto;          /* before Rey's SimpleScrollbar wraps the list */
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
/* after SimpleScrollbar: ul > .ss-wrapper > .ss-content > .woocommerce-mini-cart-inner */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart.ss-container {
	overflow: hidden;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .ss-content {
	width: 100%;
	/* answers the site's own «.rey-cartPanel .ss-content.rtl{padding-…!important}» so the cards stay centred */
	padding: 0 !important;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .ss-content::-webkit-scrollbar {
	display: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .ss-scroll {
	inset-inline-end: 3px;
	inset-inline-start: auto;
	width: 4px;
	background: var(--cui-steel-4);
	opacity: .45;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: var(--cui-gut) var(--cui-gut) 2px;
}

/* product card */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item {
	--image-size: 0px;
	position: relative;
	display: grid;
	grid-template-columns: var(--cui-thumb) minmax(0, 1fr);
	grid-template-rows: auto auto auto minmax(0, 1fr);
	column-gap: 14px;
	margin: 0;
	padding: var(--cui-pad);
	overflow: hidden;
	border: 1px solid var(--cui-line);
	border-radius: 18px;
	background: var(--cui-card);
	box-shadow: var(--cui-shadow);
	/* a name printed as bare text or in a plain span (a line without product link) reads like the other names */
	color: #000;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	text-transform: none;
	list-style: none;
}
/* the tile behind the thumbnail: it is the grid item that reserves the picture's place */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 4;
	align-self: start;
	width: var(--cui-thumb);
	height: var(--cui-thumb);
	border: 1px solid #e1e4e9;
	border-radius: 16px;
	/* plain white, and the photo below is drawn as it is (no blend mode): a browser that darkens pages by itself
	   (Samsung Internet, Chrome's forced dark theme) darkens this tile, and a photo multiplied onto a dark tile
	   turns into a dark blob */
	background: #fff;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item::after {
	content: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > * {
	grid-column: 2;
	margin: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-cartImg {
	position: absolute;
	top: var(--cui-pad);
	inset-inline-start: var(--cui-pad);
	width: var(--cui-thumb);
	height: var(--cui-thumb);
	margin: 0;
	padding: 1px;
	overflow: hidden;
	border-radius: 16px;
	/* something other than a photo (another plugin's placeholder icon) sits in the middle of the tile */
	display: flex;
	align-items: center;
	justify-content: center;
}
/* A line Rey prints WITHOUT a product link (product hidden from the catalogue, free-gift line): the picture is a
   direct child of the line, not inside the link. It takes the tile's own grid area instead of the corner of the card. */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > .rey-cartImg {
	position: relative;
	top: auto;
	inset-inline-start: auto;
	grid-column: 1;
	grid-row: 1 / span 4;
	align-self: start;
}
/* …and a name another plugin prints as a plain <span> (no title element) lines up with the other names */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > span:not([class]) {
	display: block;
	padding-top: 4px;
	overflow-wrap: anywhere;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item:has(> .rey-removeBtn) > span:not([class]) {
	padding-inline-end: 42px;        /* room for the remove button */
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-cartImg img {
	display: block;
	float: none;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	border-radius: 15px;
	object-fit: contain;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-thumbTitle {
	display: block;
	color: #000;
	text-decoration: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-item-title {
	display: flow-root;
	min-height: 40px;                /* whatever follows the name starts below the remove button's 44px touch area */
	margin: 0;
	padding-top: 4px;
	color: #000;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
/* Room for the remove button: only the first two lines of the name are shortened; from the third line on a long
   name uses the full width of the column (fewer lines, a lower card). */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-item-title::before {
	content: "";
	float: right;
	float: inline-end;
	width: 42px;
	height: 36px;
}
[dir="rtl"] .rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-item-title::before,
.rtl .rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-item-title::before {
	float: left;
	float: inline-end;
}
/* a line without remove button (free-gift line): the name keeps the full width */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item:not(:has(.rey-removeBtn)) .woocommerce-mini-cart-item-title::before {
	content: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-thumbTitle:focus-visible .woocommerce-mini-cart-item-title {
	outline: 2px solid var(--cui-ink);
	outline-offset: 2px;
	border-radius: 4px;
}
/* variation / add-on details: «label: value» pairs (variation, «مع: <machine>» of an add-on line), one pair per
   row: the label in its own narrow column, the value beside it and wrapping inside its own column. */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item dl {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 2px 5px;
	margin: 2px 0 0;
	padding: 0;
	border: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item dl dt,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item dl dd {
	margin: 0;
	padding: 0;
	color: var(--cui-ink-2);
	font-size: 13px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item dl dt {
	grid-column: 1;
	font-weight: 500;          /* the theme asks for 600, which is not loaded */
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item dl dd {
	grid-column: 2;
	font-weight: 400;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item dl dd p {
	margin: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item dl .__break {   /* the theme's row breaker for its own flex layout */
	display: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-brandLink,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-brandLink a {
	font-size: 13px;
	font-weight: 400;
}

/* price: selling price first (red), struck price after it (grey) */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity-wrapper {
	display: contents;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	margin: 0;
	color: var(--cui-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity-wrapper > .woocommerce-mini-cart-price,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > .quantity {
	grid-row: 4;
	align-self: end;
	padding-top: 8px;
	padding-bottom: 6px;
}
/* a line without stepper (sold individually, add-on line): «1 × price», as today */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > .quantity {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	color: var(--cui-ink-2);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > .quantity > .woocommerce-mini-cart-price {
	display: inline-flex;
	margin: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-price ins {
	order: 1;
	display: inline-block;
	margin: 0;
	padding: 0;
	background: none;
	color: var(--cui-red);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-price del {
	order: 2;
	display: inline-block;
	margin: 0;
	color: var(--cui-ink-3);
	font-size: 15px;
	font-weight: 400;
	opacity: 1;
	text-decoration: line-through;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-price del .woocommerce-Price-amount {
	color: var(--cui-ink-3);
	font-weight: 400;
	text-decoration: line-through;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-price > .woocommerce-Price-amount {
	order: 1;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-Price-currencySymbol {
	font-size: max(13px, .8em);
	font-weight: 500;
	letter-spacing: 0;         /* the big figure tightens its digits only, never the Arabic currency name */
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel del .woocommerce-Price-currencySymbol {
	font-weight: 400;
}
/* a price another plugin prints in place of the «1 × price» text (free-gift line: struck price + «مجانًا»):
   same grey and the same red as every other price in the panel */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > .quantity del,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > .quantity del .woocommerce-Price-amount {
	color: var(--cui-ink-3);
	font-weight: 400;
	text-decoration: line-through;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item > .quantity ins {
	background: none;
	/* answers the inline «color:#d0021b» of that plugin's own markup */
	color: var(--cui-red) !important;
	font-weight: 700;
	text-decoration: none;
}

/* remove: round quiet button, trash glyph */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-removeBtn {
	position: absolute;
	z-index: 2;
	top: 14px;
	inset-inline-end: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--cui-canvas);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4f57' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 7h15M9.5 7V4.5h5V7M6.5 7l.9 11.2a2 2 0 0 0 2 1.8h5.2a2 2 0 0 0 2-1.8L17.5 7M10.3 11v5.5M13.7 11v5.5'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	color: var(--cui-ink-2);
	font-size: 15px;
	line-height: 1;
	opacity: 1;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-removeBtn::after {   /* 44px touch area */
	content: "";
	position: absolute;
	inset: -4px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-removeBtn .rey-icon {   /* Rey's × : replaced by the trash glyph */
	display: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-removeBtn:hover,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-removeBtn:focus-visible {
	background-color: var(--cui-steel-2);
}

/* Rey marks the line while it is being removed */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item.--loading {
	opacity: .55;
	pointer-events: none;
}

/* footer strip: stepper (Rey's native controls) + line total */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity-wrapper > .quantity {
	order: 10;
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: var(--cui-pad) calc(-1 * var(--cui-pad)) calc(-1 * var(--cui-pad));
	padding: var(--cui-strip-pad) var(--cui-pad);
	border-top: 1px solid var(--cui-line);
	background: linear-gradient(180deg, #fbfbfc, #f6f7f9);
	font-size: 15px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls {
	display: flex;
	align-items: center;
	width: auto;
	height: var(--cui-step-h);
	padding: calc((var(--cui-step-h) - var(--cui-step-btn)) / 2 - 1px);
	border: 1px solid var(--cui-line-2);
	border-radius: 14px;
	background: linear-gradient(180deg, #eef0f3, #e6e9ed);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls:hover {
	border-color: var(--cui-line-2);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls .cartBtnQty-control {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--cui-step-btn);
	height: var(--cui-step-btn);
	padding: 0;
	border: 1px solid var(--cui-line-2);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(17, 18, 20, .08);
	color: var(--cui-ink);
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls .cartBtnQty-control svg {
	display: block;
	width: 20px;
	height: 20px;
	font-size: 20px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls .cartBtnQty-control.--disabled {
	box-shadow: none;
	color: #b4bac3;
	opacity: 1;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls.--disabled-controls .cartBtnQty-control {
	box-shadow: none;
	color: #b4bac3;
	opacity: 1;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls input.qty {
	flex: 0 0 auto;
	width: 46px;
	min-width: 0;
	height: var(--cui-step-btn);
	margin: 0;
	padding: 3px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--cui-ink);
	font-family: inherit;
	/* answers avloon-storefront's «input{font-size:16px!important}» (18px also keeps iOS from zooming in) */
	font-size: 18px !important;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls input.qty::-webkit-outer-spin-button,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}
/* the same field when Rey prints the input without its +/- wrapper */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity-wrapper > .quantity > input.qty {
	width: 72px;
	height: var(--cui-step-h);
	margin: 0;
	padding: 3px 0 0;
	border: 1px solid var(--cui-line-2);
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	color: var(--cui-ink);
	font-family: inherit;
	font-size: 18px !important;   /* same answer to «input{font-size:16px!important}» as above */
	font-weight: 700;
	line-height: 1;
	text-align: center;
}
/* line total: printed by Rey inside the price span, shown at the end of the footer strip */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-price .__item-total {
	position: absolute;
	bottom: 0;
	inset-inline-end: var(--cui-pad);
	display: flex;
	align-items: center;
	height: calc(var(--cui-step-h) + 2 * var(--cui-strip-pad));
	margin: 0;
	padding-top: 2px;
	color: var(--cui-ink);
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	opacity: 1;
	white-space: nowrap;
}

/* ---------------------------------------------------------------- blocks Rey may add around the list
   (cross-sell carousel on phones, free-shipping bar, custom content): kept, set on the canvas like the cards */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content > .rey-crossSells-carousel.splide {
	flex: 0 0 auto;
	width: auto;
	height: auto;            /* the site sets .splide{height:100%} for its product carousels */
	margin: 12px var(--cui-gut) 0;
	padding: 12px var(--cui-pad) 14px;
	border: 1px solid var(--cui-line);
	border-radius: 18px;
	background: var(--cui-card);
	box-shadow: var(--cui-shadow);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-crossSells-carousel-title {
	margin: 0 0 10px;
	color: var(--cui-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-crossSells-itemTitle,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-crossSells-itemTitle a {
	color: #000;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-loopPrice,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-loopPrice .woocommerce-Price-amount {
	color: var(--cui-ink);
	font-size: 14px;
	/* answers the site's own «.rey-loopPrice .woocommerce-Price-amount{font-weight:800!important}» (800 is not loaded) */
	font-weight: 700 !important;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-loopPrice del,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-loopPrice del .woocommerce-Price-amount {
	color: var(--cui-ink-3);
	font-weight: 400 !important;   /* same answer, for the struck price */
	opacity: 1;
	text-decoration: line-through;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-loopPrice ins,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-loopPrice ins .woocommerce-Price-amount {
	background: none;
	color: var(--cui-red);
	text-decoration: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-crossSells-carousel.splide .rey-crossSells-itemButtons a {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content > .rey-cartShippingBar,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content > .__content {
	flex: 0 0 auto;
	margin: 12px var(--cui-gut) 0;
}

/* ---------------------------------------------------------------- summary card */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total {
	flex: 0 0 auto;
	margin: 12px var(--cui-gut) var(--cui-gut);
	padding: 0;
	border: 1px solid var(--cui-line);
	border-radius: 18px;
	background: var(--cui-card);
	box-shadow: var(--cui-shadow);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row {
	flex: none;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: var(--cui-row-h);
	margin: 0 var(--cui-pad);
	padding: 6px 0;
	border: 0;
	color: var(--cui-ink-2);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row ~ .minicart-total-row:not(.avl-cui-grand),
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon {
	border-top: 1px dashed var(--cui-line-2);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row .minicart-total-row-head {
	min-width: 0;
	color: var(--cui-ink-2);
	font-size: 15px;
	font-weight: 500;
	text-transform: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row .minicart-total-row-content {
	position: static;
	display: block;
	margin: 0;
	margin-inline-start: auto;
	color: var(--cui-ink);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .woocommerce-Price-amount {
	margin: 0;
	font-weight: 700;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .__shipping-cost {
	margin: 0;
}

/* coupon row: tag · label · code chip · [remove] ……… amount
   (a long code: «[remove] … amount» drops to a second line; a very long one is cut with an ellipsis) */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row.minicart-total-row--coupon {
	flex-wrap: wrap;
	gap: 0 10px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row--coupon .minicart-total-row-head {
	flex: 0 1 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	white-space: nowrap;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row--coupon .minicart-total-row-head::before,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .rey-toggleCoupon-btn::before {
	content: "";
	position: static;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 1px solid #d5d9df;
	border-radius: 8px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4f57' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11.6V4.5a1 1 0 0 1 1-1h7.1a1 1 0 0 1 .7.3l8 8a1 1 0 0 1 0 1.4l-7.1 7.1a1 1 0 0 1-1.4 0l-8-8a1 1 0 0 1-.3-.7z'/%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3C/svg%3E") center / 15px 15px no-repeat,
		linear-gradient(150deg, #fff, var(--cui-steel-2));
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .avl-cui-code {
	flex: 0 1 auto;
	display: block;
	min-width: 0;
	overflow: hidden;
	padding: 3px 9px 1px;
	border: 1px dashed var(--cui-steel-4);
	border-radius: 7px;
	background: var(--cui-steel-1);
	color: var(--cui-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-overflow: ellipsis;
	text-transform: none;
	white-space: nowrap;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row--coupon .minicart-total-row-content {
	flex: 1 0 auto;
	display: flex;
	align-items: center;
	margin: 0;
	color: var(--cui-green);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row--coupon .woocommerce-Price-amount {
	color: var(--cui-green);
	/* this amount has no <bdi> of its own: it orders «number + currency» by its own text, like the other amounts,
	   also on the English (left-to-right) side */
	unicode-bidi: plaintext;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .woocommerce-remove-coupon {
	order: -1;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	margin-inline-end: auto;
	padding: 0 4px;
	color: var(--cui-ink-3);
	font-size: 13px;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: none;
}

/* no coupon yet: Rey's toggle form */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon {
	flex: none;
	margin: 0 var(--cui-pad);
	padding: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .rey-toggleCoupon-btn {
	position: static;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: var(--cui-row-h);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--cui-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-align: start;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .rey-toggleCoupon-btn::after {
	content: "";
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-inline-start: auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23797979' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
	transition: transform .2s ease;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon:has(.--visible) .rey-toggleCoupon-btn::after {
	transform: rotate(180deg);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .rey-toggleCoupon-content.--visible {
	display: flex;
	padding: 0 0 14px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .coupon {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .coupon .input-text {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 2px 14px 0;
	border: 1px solid var(--cui-line-2);
	border-radius: 12px;
	background: var(--cui-steel-1);
	box-shadow: none;
	color: var(--cui-ink);
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	text-align: start;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .coupon .input-text::placeholder {
	color: var(--cui-ink-3);
	font-weight: 400;
	opacity: 1;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .coupon .input-text:focus {
	border-color: var(--cui-steel-4);
	background: #fff;
	outline: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .coupon .button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 84px;
	height: 48px;
	margin: 0;
	padding: 3px 18px 0;
	border: 1px solid var(--cui-steel-3);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff, var(--cui-steel-2));
	box-shadow: 0 1px 2px rgba(17, 18, 20, .06);
	color: var(--cui-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;         /* the theme tracks its buttons by .5px: never on joined Arabic letters */
	text-transform: none;
	cursor: pointer;
}
/* coupon messages (Rey fills this after apply / remove) */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon-response {
	margin: 0 var(--cui-pad);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-message,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-error,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-info {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0 0 12px;
	padding: 8px 12px;
	border-color: var(--cui-line-2);
	border-radius: 10px;
	background: var(--cui-steel-1);
	color: var(--cui-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	list-style: none;
}
/* the theme's notice icon: before the text in both directions (the theme pins it to the physical left) */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-message::before,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-error::before,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-info::before {
	position: static;
	flex: 0 0 auto;
	margin: 0;
	color: currentColor;
	font-size: 15px;
	line-height: 1;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-message > li,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-error > li,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-info > li {
	flex: 1 1 0px;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-error {
	border-color: #f3c6d0;
	background: #fff5f7;
	color: #8c1230;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .rey-toggleCoupon-response .woocommerce-message {
	border-color: var(--cui-green-line);
	background: var(--cui-green-bg);
	color: var(--cui-green);
}

/* savings strip */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .avl-cui-saved {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--cui-saved-h);
	margin: 0;
	padding: 3px var(--cui-pad) 0;
	border-top: 1px solid var(--cui-green-line);
	border-radius: 0 0 17px 17px;
	background: var(--cui-green-bg);
	color: var(--cui-green);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .avl-cui-saved::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: -3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7f37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.3l2.7 2.7L16 9.6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .avl-cui-saved .woocommerce-Price-amount {
	color: var(--cui-green);
}

/* grand total: printed in the totals block, shown beside the checkout button */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row.avl-cui-grand {
	position: absolute;
	z-index: 2;
	inset-inline-start: var(--cui-pad);
	bottom: calc(var(--cui-chips-pt) + var(--cui-chip-h) + var(--cui-chips-pb) + var(--cui-safe) + var(--cui-link-mt) + var(--cui-link-h));
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 5px;
	width: calc((100% - 2 * var(--cui-pad)) * var(--cui-split));
	height: var(--cui-pay-h);
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row.avl-cui-grand .minicart-total-row-head {
	color: var(--cui-ink-2);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row.avl-cui-grand .minicart-total-row-content {
	margin: 0;
	color: var(--cui-ink);
	/* as large as the figure's own length allows inside its share of the row (--avl-cui-len comes from PHP) */
	font-size: clamp(16px, calc((var(--cui-w) - 2 * var(--cui-pad)) * var(--cui-split) / (var(--avl-cui-len, 9) * .5)), 32px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.3px;
}

/* ---------------------------------------------------------------- bottom bar */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons {
	order: 90;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: var(--cui-bar-pt) var(--cui-pad) 0;
	border-top: 1px solid #dfe2e7;
	border-radius: 22px 22px 0 0;
	background: #fff;
	box-shadow: 0 -10px 28px rgba(17, 18, 20, .07);
	line-height: 1;
}
/* express pay (Stripe decides whether each one is shown; nothing here forces or hides them) */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > a[class*="wc-stripe_"] {
	flex: 0 0 auto;
	margin: 0 0 12px;
	overflow: hidden;
	border-radius: 14px;
	text-transform: none;
}
/* checkout */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .checkout.wc-forward {
	order: 5;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: var(--cui-pay-h);
	margin: 0;
	margin-inline-start: calc(var(--cui-split) * 100% + var(--cui-pay-gap));
	padding: 3px 12px 0;
	border: 0;
	border-radius: 14px;
	background: var(--cui-ink);
	box-shadow: 0 6px 16px rgba(17, 18, 20, .18);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .checkout.wc-forward:hover,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .checkout.wc-forward:focus-visible {
	background: #000;
	color: #fff;
}
/* a side cart rendered before the plugin was switched on has no grand total: the button takes the full row */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content:not(:has(.avl-cui-grand)) .woocommerce-mini-cart__buttons > .checkout.wc-forward {
	margin-inline-start: 0;
}
/* arrow: points forward (left in Arabic, right in English) */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons .checkout.wc-forward .rey-arrowSvg {
	flex: 0 0 auto;
	display: block;
	width: 20px;
	height: 20px;
	margin: -3px 0 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
	font-size: 20px;
	transform: none;
}
[dir="rtl"] .rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons .checkout.wc-forward .rey-arrowSvg,
.rtl .rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons .checkout.wc-forward .rey-arrowSvg {
	transform: scaleX(-1);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons .checkout.wc-forward .rey-arrowSvg svg {
	display: none;
}
/* «عرض السلة» */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .button--cart {
	order: 6;
	flex: 0 0 auto;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 120px;
	height: var(--cui-link-h);
	margin: var(--cui-link-mt) 0 0;
	padding: 2px 16px 0;
	border: 0;
	border-radius: 10px;
	background: none;
	box-shadow: none;
	color: var(--cui-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: underline;
	text-decoration-color: var(--cui-steel-4);
	text-underline-offset: 4px;
	text-transform: none;
	white-space: nowrap;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .button--cart:hover,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .button--cart:focus-visible {
	background: none;
	color: var(--cui-ink);
	text-decoration-color: var(--cui-ink);
}
/* if the theme option that prints «عرض السلة» is ever switched off, the grand total follows the button */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content:not(:has(.button--cart)) .avl-cui-grand {
	bottom: calc(var(--cui-chips-pt) + var(--cui-chip-h) + var(--cui-chips-pb) + var(--cui-safe));
}

/* payment chips */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-chips {
	order: 91;
	flex: 0 0 auto;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: calc(var(--cui-chips-pt) + var(--cui-chip-h) + var(--cui-chips-pb) + var(--cui-safe));
	margin: 0;
	padding: var(--cui-chips-pt) var(--cui-pad) calc(var(--cui-chips-pb) + var(--cui-safe));
	overflow: hidden;
	background: #fff;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	height: var(--cui-chip-h);
	padding: 2px 9px 0;
	border: 1px solid #dde0e5;
	border-radius: 7px;
	background: #fff;
	color: #3d4249;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-chip--apple::before {
	content: "";
	width: 12px;
	height: 12px;
	margin-top: -3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d4249'%3E%3Cpath d='M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-chip--visa {
	font-weight: 700;
	letter-spacing: .6px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-chip--tamara {
	font-weight: 700;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-vh {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------------------------------------------------------------- empty cart */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__empty-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: auto 0 0;
	padding: 24px var(--cui-pad) 0;
	color: var(--cui-ink-2);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__empty-message::before {
	content: "";
	width: 88px;
	height: 88px;
	border: 1px solid var(--cui-line);
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa2ad' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8.5h12.8l.9 11H4.7l.9-11z'/%3E%3Cpath d='M9 8.5V7.2a3 3 0 0 1 6 0v1.3'/%3E%3C/svg%3E") center / 40px 40px no-repeat,
		#fff;
	box-shadow: var(--cui-shadow);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__empty-message:last-child {
	margin-bottom: auto;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avs-mini-empty {
	align-self: center;
	width: 100%;
	max-width: 300px;
	margin: 20px 0 auto;
	padding: 0 var(--cui-pad) 24px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avs-mini-empty a.avs-mini-empty__cta {
	min-height: 52px;
	padding: 3px 20px 0;
	/* answers avloon-storefront's «border-radius:4px!important» on this button */
	border-radius: 14px !important;
	box-shadow: 0 6px 16px rgba(17, 18, 20, .18);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

/* ---------------------------------------------------------------- narrow phones */
@media (max-width: 379px) {
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .minicart-total-row.avl-cui-grand .minicart-total-row-head {
		font-size: 13px;
	}
}
@media (max-width: 359px) {
	.rey-cartPanel-wrapper:not(#avl-cui) {
		--cui-gut: 10px;
		--cui-pad: 14px;
		--cui-thumb: 88px;
		--cui-split: .44;
		--cui-pay-gap: 10px;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .checkout.wc-forward {
		gap: 8px;
		padding-inline: 8px;
		font-size: 16px;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-chips {
		gap: 4px;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avl-cui-chip {
		padding-inline: 6px;
		font-size: 12px;
	}
}

/* ---------------------------------------------------------------- short screens
   A phone browser with its toolbars leaves 550–700px of height. The summary card and the bottom bar stay pinned
   (as Rey pins totals and buttons today), so the same design is drawn with tighter measures; the product list
   scrolls between them. */
@media (max-height: 720px) {
	.rey-cartPanel-wrapper:not(#avl-cui) {
		--cui-head-h: 56px;
		--cui-thumb: 88px;
		--cui-step-h: 44px;
		--cui-strip-pad: 10px;
		--cui-row-h: 48px;
		--cui-saved-h: 42px;
		--cui-bar-pt: 14px;
		--cui-pay-h: 54px;
		--cui-chips-pb: 12px;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total {
		margin-top: 10px;
		margin-bottom: 10px;
	}
}
/* iPhone SE / 8 size (about 548px of height in Safari): with both express buttons, a coupon row and the «وفّرت»
   strip the whole checkout button still fits on the first screen. Nothing is hidden, only the measures are tighter. */
@media (max-height: 600px) {
	.rey-cartPanel-wrapper:not(#avl-cui) {
		--cui-head-h: 48px;
		--cui-gut: 10px;
		--cui-thumb: 72px;
		--cui-strip-pad: 6px;
		--cui-row-h: 40px;
		--cui-saved-h: 34px;
		--cui-bar-pt: 8px;
		--cui-pay-h: 50px;
		--cui-link-mt: 2px;
		--cui-link-h: 40px;
		--cui-chip-h: 26px;
		--cui-chips-pb: 10px;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total {
		margin-top: 6px;
		margin-bottom: 6px;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > a[class*="wc-stripe_"] {
		margin-bottom: 8px;
	}
}
/* ---------------------------------------------------------------- panel height (no thresholds)
   The product list never gets lower than ONE product card. When the panel is too short for
   [one card + summary card + bottom bar] (a small phone, the WordPress toolbar of a logged-in manager, an open
   coupon field, a notice, extra rows…), the whole side cart scrolls as one page instead of the summary card
   sliding over the product card. On a panel that is tall enough nothing changes: the list scrolls between the
   pinned parts. The content box keeps its natural height, so the grand total stays beside the checkout button. */
.rey-cartPanel-wrapper:not(#avl-cui) {
	--cui-text-col: 88px;     /* name on two lines + price row */
}
@media (max-width: 359px) {
	.rey-cartPanel-wrapper:not(#avl-cui) {
		--cui-text-col: 112px;   /* the name takes three lines here */
	}
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart {
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content {
	flex: 1 0 auto;
	height: auto;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart {
	min-height: calc(max(var(--cui-thumb), var(--cui-text-col)) + 2 * var(--cui-pad) + var(--cui-step-h) + 2 * var(--cui-strip-pad) + var(--cui-gut) + 6px);
	overscroll-behavior: auto;   /* at the end of the list the same swipe goes on to the whole cart */
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .ss-content {
	overscroll-behavior: auto;
}

/* Very short (a phone held sideways): nothing is pinned any more, the whole side cart scrolls as one page, so
   the checkout button can always be reached. The scroll moves to .widget_shopping_cart; the content box keeps its
   natural height, which keeps the grand total beside the checkout button. */
@media (max-height: 519px) {
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart {
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart_content {
		flex: 1 0 auto;
		height: auto;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart,
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart.ss-container {
		flex: 1 0 auto;
		overflow: visible;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .ss-wrapper {
		position: static;
		float: none;
		height: auto;
		overflow: visible;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .ss-content {
		height: auto;
		overflow: visible;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .ss-scroll {
		display: none;
	}
}
/* The same one-page scroll when Rey's cross-sell carousel is present on a short phone screen: with the carousel
   pinned as well, too little would be left for the product list. */
@media (max-height: 700px) {
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) {
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .widget_shopping_cart_content {
		flex: 1 0 auto;
		height: auto;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart,
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart.ss-container {
		flex: 1 0 auto;
		overflow: visible;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart .ss-wrapper {
		position: static;
		float: none;
		height: auto;
		overflow: visible;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart .ss-content {
		height: auto;
		overflow: visible;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart .ss-scroll {
		display: none;
	}
}
/* …but the pay bar stays on screen. With the carousel in the cart the express buttons, the checkout button and the
   total would otherwise sit below the first screen of a phone (one product: cut; two or more: hundreds of pixels
   down). So, whenever the carousel is there and the screen is not a phone held sideways:
   - the bottom bar (express buttons, «إتمام الطلب», «عرض السلة», payment chips) sticks to the bottom of the panel
     and the rest of the side cart scrolls behind it; at the end of the scroll it sits in its own place, so it
     never covers anything there;
   - the grand total is measured from the bottom of the panel instead of the content box (the content box is not
     its containing block here), so it stays beside the checkout button while the content scrolls;
   - the carousel moves below the summary card: products, then totals and coupon, then the suggestions;
   - a field that receives the focus (the coupon field Rey opens and focuses under «لديك كوبون ؟», a quantity
     field) is brought into the part of the cart the bar does not cover: scroll-padding keeps the bar's height
     free, counted with both express buttons and with the note the theme prints under the coupon field for two
     seconds («القسيمة غير موجودة») (208px = 136px for two buttons of up to 56px with their gaps + 72px for the
     field's padding and a note of two lines).
   Nothing is hidden or removed. A cart without the carousel is not touched by this block. */
@media (min-height: 520px) {
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel:has(.rey-crossSells-carousel) {
		position: relative;      /* containing block of .avl-cui-grand (Rey sets the same today) */
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) {
		scroll-padding-bottom: calc(var(--cui-bar-pt) + var(--cui-pay-h) + var(--cui-link-mt) + var(--cui-link-h) + var(--cui-chips-pt) + var(--cui-chip-h) + var(--cui-chips-pb) + var(--cui-safe) + 208px);
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .widget_shopping_cart_content {
		position: static;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart__total {
		order: 1;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .widget_shopping_cart_content > .rey-crossSells-carousel.splide {
		order: 2;
		margin-top: 0;
		margin-bottom: var(--cui-gut);
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart__buttons {
		position: sticky;
		bottom: calc(var(--cui-chips-pt) + var(--cui-chip-h) + var(--cui-chips-pb) + var(--cui-safe));
		z-index: 3;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .avl-cui-chips {
		position: sticky;
		bottom: 0;
		z-index: 3;
	}
	.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .widget_shopping_cart:has(.rey-crossSells-carousel) .woocommerce-mini-cart__total .minicart-total-row.avl-cui-grand {
		z-index: 4;
	}
}

/* ================================================================ 1.1.0 — finishing touches
   Small touches on the approved design. No content, order or wording changes, and at rest no box moves (every
   element was measured before / after at 320–1440px, Arabic and English). The express-pay buttons (the anchors
   Stripe fills) are not addressed by any rule below. */

/* touch S1 — pressed feedback. The site switches the browser's own tap flash off and nothing in the side cart
   answered a finger: «إتمام الطلب», − / +, the trash, «تطبيق», «لديك كوبون ؟» showed no reaction to a tap. While the
   finger is down the control darkens one step (the black buttons sink 1px); at rest nothing differs. */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .checkout.wc-forward:active {
	background: #000;
	box-shadow: 0 2px 6px rgba(17, 18, 20, .2);
	transform: translateY(1px);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .avs-mini-empty a.avs-mini-empty__cta:active {
	box-shadow: 0 2px 6px rgba(17, 18, 20, .2);
	transform: translateY(1px);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls .cartBtnQty-control:active {
	background: var(--cui-steel-2);
	box-shadow: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-removeBtn:active,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close:active {
	background-color: var(--cui-steel-3);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .coupon .button:active {
	background: var(--cui-steel-2);
	box-shadow: none;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .rey-toggleCoupon-btn:active,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .woocommerce-remove-coupon:active,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .button--cart:active {
	opacity: .6;
}

/* touch S2 — − / + answer a finger on 44 × 48px instead of 40 × 40px: an invisible area over the track's own padding,
   4px outwards and 4px above / below each button; it ends 1px before the number field, so the edge between a button
   and the field answers exactly as before. Nothing is drawn and no box moves. The buttons stay as they are; the
   area is measured from the track, whose padding is (--cui-step-h - --cui-step-btn) / 2 - 1px (rule above). */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls {
	position: relative;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls .cartBtnQty-control::before {
	content: "";
	position: absolute;
	inset-block: calc((var(--cui-step-h) - var(--cui-step-btn)) / 2 - 5px);
	width: calc(var(--cui-step-btn) + 3px);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls .cartBtnQty-control.--minus::before {
	inset-inline-start: calc((var(--cui-step-h) - var(--cui-step-btn)) / 2 - 5px);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls .cartBtnQty-control.--plus::before {
	inset-inline-end: calc((var(--cui-step-h) - var(--cui-step-btn)) / 2 - 5px);
}

/* touch S3 — «[حذف]» (remove the coupon): 44px tap height instead of 40px (an invisible area; the row keeps its
   height) and the grey of the labels beside it (#4a4f57, 8.4:1): a 13px link in #797979 on white is 4.35:1, under
   the 4.5:1 a link needs. */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .woocommerce-remove-coupon {
	position: relative;
	color: var(--cui-ink-2);
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .woocommerce-remove-coupon::after {
	content: "";
	position: absolute;
	inset: -2px 0;
}

/* touch S4 — keyboard focus (Tab on a computer): one ring in the design's own ink instead of the browser's default
   blue ring. Taps are not affected (:focus-visible). The quantity field showed no focus at all: it gets the ring
   it has on the cart page (that one also shows when a finger opens the field for typing). */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel-header .rey-sidePanel-close:focus-visible,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .rey-removeBtn:focus-visible,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .coupon .button:focus-visible,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .woocommerce-remove-coupon:focus-visible,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .checkout.wc-forward:focus-visible,
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__buttons > .button--cart:focus-visible {
	outline: 2px solid var(--cui-ink);
	outline-offset: 2px;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart__total .rey-toggleCoupon .rey-toggleCoupon-btn:focus-visible {
	outline: 2px solid var(--cui-ink);
	outline-offset: -2px;      /* the row is as wide as the card: the ring stays inside it */
}
/* the product link: its ring is the one drawn on the name (rule near the top), not a second one around the link */
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-mini-cart-thumbTitle:focus-visible {
	outline: 0;
}
.rey-cartPanel-wrapper:not(#avl-cui) .rey-cartPanel .woocommerce-mini-cart .quantity .cartBtnQty-controls input.qty:focus-visible {
	outline: 2px solid var(--cui-steel-4);
	outline-offset: -2px;
	border-radius: 8px;
}
