/* Roche Bianca Product Page */
.rbp, .rbp-drawer {
	--rbp-text: #111;
	--rbp-muted: #555;
	--rbp-line: #e2e3e8;
	--rbp-pink: #ebd5e0;
	--rbp-img-bg: #f4f5f8;
	--rbp-red: #d0312d;
	--rbp-heading-font: "Fahkwang", "Tenor Sans", Georgia, serif;
	--rbp-track: 2.6px;
	color: var(--rbp-text);
	box-sizing: border-box;
}
.rbp *, .rbp *::before, .rbp *::after,
.rbp-drawer *, .rbp-drawer *::before, .rbp-drawer *::after { box-sizing: border-box; }
.rbp-icon { display: inline-flex; width: 1em; height: 1em; line-height: 0; flex: none; }
.rbp-icon svg { width: 100%; height: 100%; display: block; }
.rbp-placeholder { padding: 24px; border: 1px dashed #c7c9d1; text-align: center; color: #666; font-size: 13px; }

/* ---------- Buttons ---------- */
.rbp-btn,
.rbp-info .single_add_to_cart_button {
	display: flex; align-items: center; justify-content: center;
	width: 100%; min-height: 46px; padding: 12px 20px; margin: 0;
	border: 1px solid #111; border-radius: 0; box-shadow: none;
	background: transparent; color: #111;
	font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 4px; line-height: 1.2;
	text-transform: uppercase; text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.rbp-btn:hover, .rbp-info .single_add_to_cart_button:hover { background: #111; color: #fff; }
.rbp-btn--pink { background: var(--rbp-pink); border-color: var(--rbp-pink); color: #2b2b2b; }
.rbp-btn--pink:hover { background: #111; border-color: #111; color: #fff; }
.rbp-btn--black { background: #111; color: #fff; border-color: #111; }
.rbp-btn--black:hover { background: #333; border-color: #333; color: #fff; }
.rbp-btn[disabled], .rbp-info .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.rbp-btn.is-loading, .rbp-info .single_add_to_cart_button.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Main layout ---------- */
.rbp-main {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 60px; align-items: start; width: 100%;
}
.rbp-gallery { position: relative; display: flex; flex-direction: column; gap: 10px; }
.rbp-gallery--thumbs { flex-direction: row-reverse; }
.rbp-gallery__main { position: relative; flex: 1 1 auto; background: var(--rbp-img-bg); overflow: hidden; }
.rbp-gallery__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.rbp-gallery__zoom {
	position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; font-size: 18px;
	cursor: zoom-in; box-shadow: 0 1px 4px rgba(0,0,0,.08); opacity: 0; transition: opacity .25s ease;
}
.rbp-gallery__main:hover .rbp-gallery__zoom, .rbp-gallery__zoom:focus-visible { opacity: 1; }
.rbp-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; width: 72px; flex: none; }
.rbp-gallery__thumb { padding: 0; border: 1px solid transparent; background: var(--rbp-img-bg); cursor: pointer; line-height: 0; }
.rbp-gallery__thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.rbp-gallery__thumb.is-active { border-color: #111; }

/* ---------- Info ---------- */
.rbp-info { display: flex; flex-direction: column; font-size: 14px; line-height: 1.5; padding-top: 8px; }
.rbp-info__title {
	margin: 0 0 22px; font-family: var(--rbp-heading-font); font-weight: 400;
	font-size: 22px; line-height: 1.25; letter-spacing: .5px; text-transform: uppercase; color: var(--rbp-text);
}
.rbp-info__desc { margin-bottom: 20px; }
.rbp-info__desc p { margin: 0 0 14px; }
.rbp-info__desc p:last-child { margin-bottom: 0; }
.rbp-info__price { font-size: 16px; line-height: 1.3; }
.rbp-info__price del { color: #888; margin-right: 6px; }
.rbp-info__price ins { text-decoration: none; }
.rbp-info__ship-note { margin: 2px 0 0; font-size: 11.5px; color: #333; }
.rbp-info__ship-note a, .rbp-info__ship-note .rbp-u { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rbp-info__divider { border: 0; border-top: 1px solid var(--rbp-line); margin: 22px 0 24px; height: 0; }
.rbp-info__badges { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.rbp-badge { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13.5px; }
.rbp-badge .rbp-icon { font-size: 19px; }
.rbp-dot { width: 7px; height: 7px; margin: 0 6px; border-radius: 50%; background: #2fb24c; flex: none; }
.rbp-stock--low .rbp-dot { background: #e8a33b; }
.rbp-stock--out .rbp-dot { background: #b5b5b5; }

/* Add to cart form (WooCommerce markup) */
.rbp-info__cart form.cart { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; }
.rbp-info__cart form.cart .quantity { display: none !important; } /* One item per click, like the design */
.rbp-info__cart .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 10px; }
.rbp-info__cart table.variations { width: 100%; margin: 0 0 6px; border: 0; }
.rbp-info__cart table.variations th, .rbp-info__cart table.variations td { padding: 4px 0; border: 0; background: none; text-align: left; vertical-align: middle; }
.rbp-info__cart table.variations select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--rbp-line); background: #fff; border-radius: 0; }
.rbp-info__cart .reset_variations { font-size: 12px; }
.rbp-info__cart .single_variation_wrap .woocommerce-variation-price { margin-bottom: 6px; }
.rbp-info__msg { margin: 8px 0 0; font-size: 13px; color: var(--rbp-red); min-height: 0; }
.rbp-info__msg:empty { display: none; }

/* Tabs */
.rbp-tabs { margin-top: 24px; border: 1px solid var(--rbp-line); }
.rbp-tab + .rbp-tab { border-top: 1px solid var(--rbp-line); }
.rbp-tab summary {
	position: relative; display: flex; align-items: center; justify-content: center;
	padding: 13px 44px; cursor: pointer; list-style: none;
	font-size: 11px; letter-spacing: var(--rbp-track); text-transform: uppercase;
}
.rbp-tab summary::-webkit-details-marker { display: none; }
.rbp-tab summary .rbp-icon { position: absolute; right: 14px; top: 50%; margin-top: -8px; font-size: 16px; transition: transform .25s ease; }
.rbp-tab[open] summary .rbp-icon { transform: rotate(180deg); }
.rbp-tab__body { padding: 4px 18px 20px; font-size: 13.5px; }
.rbp-tab__body p { margin: 0 0 10px; }
.rbp-ask { padding-top: 6px; }
.rbp-ask p { margin: 0 0 22px; }
.rbp-ask__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rbp-ask label span { display: block; margin-bottom: 8px; font-size: 10.5px; letter-spacing: var(--rbp-track); text-transform: uppercase; color: #111; }
.rbp-ask input[type="text"], .rbp-ask input[type="email"], .rbp-ask textarea {
	display: block; width: 100%; min-height: 34px; padding: 8px 10px; margin: 0;
	border: 1px solid #e6e7ec; border-radius: 0; background: #f8f9fc; box-shadow: none;
	font: inherit; font-size: 14px; color: #111; outline: none; transition: border-color .2s ease;
}
.rbp-ask textarea { min-height: 96px; resize: vertical; }
.rbp-ask input:focus, .rbp-ask textarea:focus { border-color: #9a9ca5; }
.rbp-ask__actions { display: flex; justify-content: center; margin-bottom: 14px !important; }
.rbp-ask .rbp-ask__btn { width: auto; min-height: 38px; padding: 10px 20px; font-size: 12px; letter-spacing: 4px; }
.rbp-ask__msg { margin: 0 !important; font-size: 12.5px; text-align: center; }
.rbp-ask__msg:empty { display: none; }
.rbp-ask__msg.is-error { color: var(--rbp-red); }
.rbp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Share */
.rbp-share { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 26px; font-size: 12px; }
.rbp-share a { display: inline-flex; align-items: center; gap: 7px; color: #111; text-decoration: none; }
.rbp-share a:hover { opacity: .65; }
.rbp-share .rbp-icon { font-size: 16px; }

/* ---------- Related ---------- */
.rbp-related { width: 100%; }
.rbp-related__heading {
	margin: 0 0 40px; text-align: center; font-family: var(--rbp-heading-font); font-weight: 400;
	font-size: 20px; letter-spacing: .5px; text-transform: uppercase; color: var(--rbp-text);
}
.rbp-related__grid { display: grid; grid-template-columns: repeat(var(--rbp-cols, 3), minmax(0, 1fr)); gap: 30px 20px; }
.rbp-card { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #111; text-decoration: none; text-align: center; }
.rbp-card__media { display: block; width: 100%; background: var(--rbp-img-bg); margin-bottom: 10px; overflow: hidden; }
.rbp-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; transition: transform .5s ease; }
.rbp-card:hover .rbp-card__media img { transform: scale(1.03); }
.rbp-card__title { font-size: 10.5px; letter-spacing: 2.4px; text-transform: uppercase; line-height: 1.5; }
.rbp-card__price { font-size: 13px; }
.rbp-card__price del { color: #888; margin-right: 4px; }
.rbp-card__price ins { text-decoration: none; }

/* ---------- Back to collection ---------- */
.rbp-back { display: flex; justify-content: center; width: 100%; }
.rbp-back__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 16px;
	min-height: 46px; padding: 12px 24px; background: var(--rbp-pink); color: #2b2b2b;
	font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}
.rbp-back__btn .rbp-icon { width: 22px; height: 10px; }
.rbp-back__btn:hover { background: #111; color: #fff; }

/* ---------- Cart icon ---------- */
.rbp-cart-icon { position: relative; display: inline-flex; color: #000; font-size: 28px; line-height: 0; text-decoration: none; }
.rbp-cart-count {
	position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px; background: #d9534f; color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 600;
}
.rbp-cart-count.is-empty { display: none; }

/* ---------- Drawer ---------- */
.rbp-drawer { position: fixed; inset: 0; z-index: 999999; visibility: hidden; pointer-events: none; font-size: 14px; line-height: 1.45; }
.rbp-drawer.is-open { visibility: visible; pointer-events: auto; }
.rbp-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s ease; }
.rbp-drawer.is-open .rbp-drawer__overlay { opacity: 1; }
.rbp-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: 414px; max-width: 92vw;
	display: flex; flex-direction: column; background: #fff; color: #111;
	transform: translateX(100%); transition: transform .35s cubic-bezier(.22,.61,.36,1); outline: none;
	box-shadow: -6px 0 24px rgba(0,0,0,.08);
}
.rbp-drawer.is-open .rbp-drawer__panel { transform: none; }
.rbp-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	margin: 0; padding: 26px 34px 24px; background: #f8f9fc; border-bottom: 1px solid var(--rbp-line);
}
.rbp-drawer__title { margin: 0; font-family: var(--rbp-heading-font); font-weight: 400; font-size: 22px; letter-spacing: .5px; text-transform: uppercase; color: #111; }
.rbp-drawer__close { padding: 4px; border: 0; background: none; color: #111; font-size: 20px; cursor: pointer; line-height: 0; }
.rbp-drawer__close:hover { opacity: .6; }
.rbp-drawer-body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.rbp-drawer.is-busy .rbp-drawer-body { opacity: .55; pointer-events: none; transition: opacity .2s; }
.rbp-drawer__items { list-style: none; margin: 0; padding: 10px 34px; flex: 1 1 auto; overflow-y: auto; }
.rbp-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid #f0f0f3; }
.rbp-item:last-child { border-bottom: 0; }
.rbp-item__img { background: var(--rbp-img-bg); line-height: 0; }
.rbp-item__img img { width: 72px; height: 90px; object-fit: contain; display: block; }
.rbp-item__name { margin: 0 0 8px; font-size: 14px; line-height: 1.35; }
.rbp-item__name a { color: inherit; text-decoration: none; }
.rbp-item__meta { margin: -4px 0 8px; font-size: 12px; color: var(--rbp-muted); }
.rbp-qty { display: inline-flex; align-items: center; border: 1px solid #cfd1d7; height: 26px; }
.rbp-qty__btn { width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #111; font-size: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rbp-qty__btn:disabled { opacity: .3; cursor: not-allowed; }
.rbp-qty__val { min-width: 22px; text-align: center; font-size: 13px; }
.rbp-item__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 13.5px; white-space: nowrap; }
.rbp-item__price del { color: #333; }
.rbp-item__price.is-reduced .rbp-item__now, .rbp-item__off { color: var(--rbp-red); }
.rbp-item__off { font-size: 11.5px; }
.rbp-drawer__foot { padding: 20px 34px 26px; border-top: 1px solid var(--rbp-line); background: #fff; }
.rbp-drawer__subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.rbp-drawer__subtotal > span { font-size: 11px; letter-spacing: var(--rbp-track); text-transform: uppercase; }
.rbp-drawer__subtotal strong { font-weight: 400; font-size: 14px; }
.rbp-drawer__note { margin: 0 0 14px; font-size: 11.5px; text-align: center; color: #333; }
.rbp-drawer__checkout { letter-spacing: 3.5px; }
.rbp-drawer__empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 34px; text-align: center; }
.rbp-drawer__empty p { margin: 0; }
.rbp-drawer__empty .rbp-btn { width: auto; padding: 12px 26px; }
body.rbp-lock { overflow: hidden; }

/* ---------- Lightbox ---------- */
.rbp-lightbox { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.97); cursor: zoom-out; }
.rbp-lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.rbp-lightbox button { position: absolute; top: 18px; right: 18px; padding: 6px; border: 0; background: none; color: #111; font-size: 24px; cursor: pointer; line-height: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.rbp-main { gap: 36px; }
	.rbp-related__grid { grid-template-columns: repeat(min(var(--rbp-cols, 3), 3), minmax(0, 1fr)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.rbp-main { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.rbp-gallery--thumbs { flex-direction: column; }
	.rbp-gallery__thumbs { flex-direction: row; width: auto; overflow-x: auto; }
	.rbp-gallery__thumb { width: 58px; flex: none; }
	.rbp-gallery__zoom { opacity: 1; right: 12px; bottom: 12px; }
	.rbp-info { padding-top: 0; }
	.rbp-info__title { text-align: center; font-size: 19px; margin-bottom: 18px; }
	.rbp-info__price-wrap { text-align: center; }
	.rbp-info__badges { align-items: center; }
	.rbp-share { gap: 24px; }
	.rbp-ask__row { grid-template-columns: 1fr; gap: 0; }

	.rbp-related__heading { font-size: 18px; margin-bottom: 26px; }
	.rbp-related__grid {
		display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
		padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #8a8a8a #eee;
	}
	.rbp-related__grid::-webkit-scrollbar { height: 6px; }
	.rbp-related__grid::-webkit-scrollbar-thumb { background: #8a8a8a; border-radius: 3px; }
	.rbp-related__grid::-webkit-scrollbar-track { background: #eee; }
	.rbp-card { flex: 0 0 calc((100% - 14px) / 2.25); scroll-snap-align: start; }
	.rbp-card__title { font-size: 10px; letter-spacing: 2px; }

	.rbp-back__btn { width: 100%; min-height: 60px; }

	.rbp-drawer__head { padding: 22px 24px 20px; }
	.rbp-drawer__items { padding: 6px 24px; }
	.rbp-drawer__foot { padding: 18px 24px 22px; }
	.rbp-item { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; }
	.rbp-item__img img { width: 62px; height: 78px; }
}

@media (prefers-reduced-motion: reduce) {
	.rbp-drawer__panel, .rbp-drawer__overlay, .rbp-card__media img { transition: none; }
}

/* =====================================================================
   Theme overrides. Hello Elementor and WooCommerce style every button,
   input and hr on the page; these rules keep the design colours exact.
   ===================================================================== */
body .rbp button, body .rbp-drawer button, body .rbp [type="submit"], body .rbp [type="button"] {
	text-shadow: none !important; box-shadow: none !important; border-radius: 0 !important;
}
/* ADD TO CART: white with black outline (WooCommerce makes it purple) */
body .rbp .rbp-info__cart .single_add_to_cart_button,
body .rbp .rbp-info__cart .single_add_to_cart_button.button.alt,
body.woocommerce .rbp .rbp-info__cart button.button.alt {
	display: flex !important; width: 100% !important; min-height: 46px !important; margin: 0 !important; padding: 12px 20px !important;
	background: transparent !important; background-color: transparent !important; color: #111 !important;
	border: 1px solid #111 !important; font-family: inherit !important; font-size: 13px !important; font-weight: 700 !important;
	letter-spacing: 4px !important; line-height: 1.2 !important; text-transform: uppercase !important; opacity: 1;
}
body .rbp .rbp-info__cart .single_add_to_cart_button:hover,
body .rbp .rbp-info__cart .single_add_to_cart_button:focus-visible,
body.woocommerce .rbp .rbp-info__cart button.button.alt:hover {
	background: #111 !important; background-color: #111 !important; color: #fff !important; border-color: #111 !important;
}
body .rbp .rbp-info__cart .single_add_to_cart_button.disabled { opacity: .5; }
/* Pink buttons: BUY IT NOW, SEND */
body .rbp .rbp-btn--pink, body .rbp .rbp-buy-now, body .rbp .rbp-ask__btn {
	background: #ebd5e0 !important; background-color: #ebd5e0 !important; color: #2b2b2b !important;
	border: 1px solid #ebd5e0 !important; font-family: inherit !important; font-weight: 700 !important; text-transform: uppercase !important;
}
body .rbp .rbp-btn--pink:hover, body .rbp .rbp-buy-now:hover, body .rbp .rbp-ask__btn:hover,
body .rbp .rbp-btn--pink:focus-visible, body .rbp .rbp-buy-now:focus-visible, body .rbp .rbp-ask__btn:focus-visible {
	background: #111 !important; background-color: #111 !important; color: #fff !important; border-color: #111 !important;
}
body .rbp .rbp-buy-now {
	display: flex !important; width: 100% !important; min-height: 46px !important; margin: 0 !important; padding: 12px 20px !important;
	font-size: 13px !important; letter-spacing: 4px !important; line-height: 1.2 !important;
}
body .rbp .rbp-ask__btn { display: inline-flex !important; width: auto !important; min-height: 38px !important; padding: 10px 20px !important; font-size: 12px !important; letter-spacing: 4px !important; }
body .rbp .rbp-btn--outline { background: transparent !important; color: #111 !important; border: 1px solid #111 !important; }
body .rbp .rbp-btn--outline:hover { background: #111 !important; color: #fff !important; }
/* Black: CHECK OUT */
body .rbp-drawer .rbp-btn--black { background: #111 !important; color: #fff !important; border: 1px solid #111 !important; }
body .rbp-drawer .rbp-btn--black:hover { background: #333 !important; border-color: #333 !important; color: #fff !important; }
body .rbp-drawer .rbp-btn--outline { background: transparent !important; color: #111 !important; border: 1px solid #111 !important; }
/* Plain icon buttons (no borders, no theme pink) */
body .rbp-drawer .rbp-drawer__close, body .rbp .rbp-gallery__thumb, body .rbp-lightbox button {
	padding: 4px !important; border: 0 !important; background: none !important; color: #111 !important; min-height: 0 !important; line-height: 0 !important;
}
body .rbp .rbp-gallery__thumb { padding: 0 !important; border: 1px solid transparent !important; background: #f4f5f8 !important; }
body .rbp .rbp-gallery__thumb.is-active { border-color: #111 !important; }
body .rbp .rbp-gallery__zoom { padding: 0 !important; border: 0 !important; background: rgba(255,255,255,.9) !important; color: #111 !important; border-radius: 50% !important; }
body .rbp-drawer .rbp-qty__btn {
	width: 24px !important; height: 24px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
	border: 0 !important; background: none !important; color: #111 !important; font-size: 10px !important; line-height: 0 !important;
}
body .rbp-drawer .rbp-qty__btn:hover { background: #f2f2f5 !important; color: #111 !important; }
body .rbp-drawer .rbp-qty { border: 1px solid #cfd1d7 !important; }
/* Headings use the brand font */
body .rbp .rbp-info__title, body .rbp .rbp-related__heading, body .rbp-drawer .rbp-drawer__title {
	font-family: var(--rbp-heading-font) !important; font-weight: 400 !important; text-transform: uppercase !important; color: #111 !important;
}
/* Divider (theme hr margins) */
body .rbp .rbp-info__divider { display: block !important; height: 0 !important; margin: 22px 0 24px !important; border: 0 !important; border-top: 1px solid var(--rbp-line) !important; background: none !important; }
/* Headings and lists written inside the product description */
body .rbp .rbp-info__desc h1, body .rbp .rbp-info__desc h2, body .rbp .rbp-info__desc h3, body .rbp .rbp-info__desc h4 {
	margin: 18px 0 8px !important; font-family: inherit !important; font-size: 13px !important; font-weight: 700 !important;
	letter-spacing: 2px !important; line-height: 1.4 !important; text-transform: uppercase !important; color: #111 !important;
}
body .rbp .rbp-info__desc ul, body .rbp .rbp-info__desc ol { margin: 0 0 14px !important; padding-left: 18px !important; }
body .rbp .rbp-info__desc li { margin: 0 0 2px !important; }
/* Ask a question fields */
body .rbp .rbp-ask input[type="text"], body .rbp .rbp-ask input[type="email"], body .rbp .rbp-ask textarea {
	display: block !important; width: 100% !important; max-width: none !important; min-height: 34px !important; padding: 8px 10px !important; margin: 0 !important;
	border: 1px solid #e6e7ec !important; border-radius: 0 !important; background: #f8f9fc !important; color: #111 !important; font-size: 14px !important; box-shadow: none !important;
}
body .rbp .rbp-ask textarea { min-height: 96px !important; }
body .rbp .rbp-ask input:focus, body .rbp .rbp-ask textarea:focus { border-color: #9a9ca5 !important; }
body .rbp .rbp-ask__row > p, body .rbp .rbp-ask > p { width: auto !important; }
/* Tab headings */
body .rbp .rbp-tab summary { color: #111 !important; background: none !important; }
/* Express payment buttons (Google Pay / Amazon Pay) hidden unless enabled in settings */
body:not(.rbp-show-express) .rbp .rbp-info__cart .wcpay-express-checkout-wrapper,
body:not(.rbp-show-express) .rbp .rbp-info__cart #wcpay-express-checkout-element,
body:not(.rbp-show-express) .rbp .rbp-info__cart .wc-stripe-product-checkout-container,
body:not(.rbp-show-express) .rbp .rbp-info__cart #wc-stripe-payment-request-wrapper,
body:not(.rbp-show-express) .rbp .rbp-info__cart .ppc-button-wrapper { display: none !important; }
body.rbp-show-express .rbp .rbp-info__cart .wcpay-express-checkout-wrapper { margin-top: 10px; }

/* Ask form labels are full width (theme sets labels inline) */
body .rbp .rbp-ask label { display: block !important; width: 100% !important; }
/* No theme margins around the add to cart form; no WooCommerce "View cart" link */
body .rbp .rbp-info__cart form.cart { margin: 0 !important; padding: 0 !important; }
body .rbp .rbp-info__cart .added_to_cart { display: none !important; }
body .rbp .rbp-info__cart .wcpay-express-checkout-wrapper:empty { display: none !important; }
body .rbp .rbp-gallery__thumb img { width: 100% !important; height: auto !important; max-width: none !important; }
@media (max-width: 767px) {
	body .rbp .rbp-gallery__thumb { width: 58px !important; min-width: 58px !important; flex: 0 0 58px !important; }
}

/* Stock: sold out label on related cards, our own stock line replaces WooCommerce's variation stock text */
.rbp-card__media { position: relative; }
.rbp-card__badge {
	position: absolute; top: 10px; left: 10px; padding: 5px 9px; background: #fff; color: #111;
	font-size: 10px; letter-spacing: 2px; text-transform: uppercase; line-height: 1;
}
.rbp-card.is-sold-out .rbp-card__media img { opacity: .55; }
body .rbp .rbp-info__cart .woocommerce-variation-availability { display: none !important; }
body .rbp .rbp-buy-now[disabled] { opacity: .5 !important; cursor: not-allowed !important; }
body .rbp .rbp-buy-now[disabled]:hover { background: #ebd5e0 !important; color: #2b2b2b !important; border-color: #ebd5e0 !important; }

/* =====================================================================
   Cart page
   ===================================================================== */
.rbp-cartpage { width: 100%; max-width: 1280px; margin: 0 auto; padding: 50px 20px 80px; font-size: 14px; line-height: 1.5; transition: opacity .2s ease; }
.rbp-cartpage.is-busy { opacity: .55; pointer-events: none; }
body .rbp .rbp-cartpage__title, body .rbp.rbp-cartpage .rbp-cartpage__title {
	margin: 0 0 8px !important; text-align: center; font-family: var(--rbp-heading-font) !important; font-weight: 400 !important;
	font-size: 28px !important; letter-spacing: .5px; text-transform: uppercase !important; color: #111 !important;
}
.rbp-cartpage__continue { margin: 0 0 30px; text-align: center; font-size: 12.5px; }
.rbp-cartpage__continue a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.rbp-cartpage__msg { margin: 0 0 16px; text-align: center; font-size: 13px; color: #2b7a3d; }
.rbp-cartpage__msg.is-error { color: var(--rbp-red); }
.rbp-cartpage__msg:empty { display: none; }
.rbp-cartpage__notices:empty { display: none; }

/* Free shipping bar */
.rbp-freeship { max-width: 520px; margin: 0 auto 40px; text-align: center; }
.rbp-freeship p { margin: 0 0 10px; font-size: 13px; letter-spacing: .3px; }
.rbp-freeship strong { font-weight: 700; }
.rbp-freeship__bar { height: 4px; background: #eceef3; overflow: hidden; }
.rbp-freeship__bar span { display: block; height: 100%; background: var(--rbp-pink); transition: width .5s ease; }
.rbp-freeship.is-done .rbp-freeship__bar span { background: #c9a3b6; }

/* Layout */
.rbp-cartpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 50px; align-items: start; }
.rbp-cartpage__head {
	display: grid; grid-template-columns: minmax(0, 1fr) 140px 130px; gap: 20px; padding: 0 0 12px;
	border-bottom: 1px solid var(--rbp-line); font-size: 10.5px; letter-spacing: var(--rbp-track); text-transform: uppercase;
}
.rbp-cartpage__head span:nth-child(2) { text-align: center; }
.rbp-cartpage__head span:nth-child(3) { text-align: right; }
.rbp-cartpage__list { list-style: none; margin: 0; padding: 0; }

/* Row */
.rbp-cprow { display: grid; grid-template-columns: minmax(0, 1fr) 140px 130px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rbp-line); }
.rbp-cprow__product { display: flex; gap: 20px; align-items: center; min-width: 0; }
.rbp-cprow__img { flex: 0 0 100px; background: var(--rbp-img-bg); line-height: 0; }
.rbp-cprow__img img { width: 100px !important; height: 125px !important; object-fit: contain; display: block; }
.rbp-cprow__name { margin: 0 0 4px; font-size: 15px; line-height: 1.35; }
.rbp-cprow__name a { color: #111; text-decoration: none; }
.rbp-cprow__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rbp-cprow__meta { margin: 0 0 4px; font-size: 12px; color: var(--rbp-muted); }
.rbp-cprow__unit { margin: 0 0 8px; font-size: 13px; color: #444; }
.rbp-cprow__unit del { color: #999; margin-right: 6px; }
body .rbp .rbp-cp-remove {
	display: inline !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important;
	color: #555 !important; font-size: 11px !important; letter-spacing: 1.5px !important; text-transform: uppercase !important;
	text-decoration: underline !important; text-underline-offset: 3px; cursor: pointer; min-height: 0 !important; line-height: 1.4 !important;
}
body .rbp .rbp-cp-remove:hover { color: #111 !important; }
.rbp-cprow__qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rbp-cprow__qty .rbp-qty { height: 34px; }
body .rbp .rbp-cprow__qty .rbp-qty__btn { width: 32px !important; height: 32px !important; padding: 0 !important; border: 0 !important; background: none !important; color: #111 !important; min-height: 0 !important; line-height: 0 !important; font-size: 11px !important; }
body .rbp .rbp-cprow__qty .rbp-qty__btn:hover { background: #f2f2f5 !important; }
body .rbp .rbp-cprow__qty .rbp-qty__btn:disabled { opacity: .3 !important; cursor: not-allowed; }
body .rbp .rbp-cprow__qty .rbp-qty { border: 1px solid #cfd1d7 !important; }
.rbp-cprow__qty .rbp-qty__val { min-width: 30px; font-size: 14px; }
.rbp-cprow__max { margin: 0; font-size: 10.5px; color: var(--rbp-muted); }
.rbp-cprow__total { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 15px; }
.rbp-cprow__total del { font-size: 13px; color: #888; }
.rbp-cprow__total.is-reduced .rbp-cprow__now, .rbp-cprow__off { color: var(--rbp-red); }
.rbp-cprow__off { font-size: 11.5px; }

/* Summary */
.rbp-cartpage__summary { position: sticky; top: 30px; padding: 30px 28px; background: #f8f9fc; border: 1px solid var(--rbp-line); }
body .rbp .rbp-cartpage__sum-title {
	margin: 0 0 20px !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--rbp-line);
	font-family: var(--rbp-heading-font) !important; font-weight: 400 !important; font-size: 17px !important; letter-spacing: .5px; text-transform: uppercase !important; color: #111 !important;
}
.rbp-sum { margin: 0 0 18px; padding: 0; }
.rbp-sum__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 7px 0; margin: 0; }
.rbp-sum__row dt { margin: 0; font-weight: 400; font-size: 13.5px; }
.rbp-sum__row dd { margin: 0; text-align: right; font-size: 13.5px; }
.rbp-sum__muted { color: var(--rbp-muted); font-size: 12.5px !important; }
.rbp-sum__row--discount dd, .rbp-sum__row--discount dt { color: var(--rbp-red); }
.rbp-sum__code { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 6px; background: #fff; border: 1px solid var(--rbp-line); color: #111; font-size: 11px; letter-spacing: 1px; }
body .rbp .rbp-cp-coupon-remove { display: inline-flex !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; color: #111 !important; font-size: 10px !important; min-height: 0 !important; line-height: 0 !important; cursor: pointer; }
.rbp-sum__row--total { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--rbp-line); }
.rbp-sum__row--total dt { font-size: 11px; letter-spacing: var(--rbp-track); text-transform: uppercase; align-self: center; }
.rbp-sum__row--total dd { font-size: 18px; }

/* Coupon */
.rbp-coupon { margin: 0 0 16px; border-top: 1px solid var(--rbp-line); border-bottom: 1px solid var(--rbp-line); }
.rbp-coupon summary { position: relative; display: flex; align-items: center; padding: 13px 26px 13px 0; cursor: pointer; list-style: none; font-size: 11px; letter-spacing: var(--rbp-track); text-transform: uppercase; }
.rbp-coupon summary::-webkit-details-marker { display: none; }
.rbp-coupon summary .rbp-icon { position: absolute; right: 0; top: 50%; margin-top: -8px; font-size: 16px; transition: transform .25s ease; }
.rbp-coupon[open] summary .rbp-icon { transform: rotate(180deg); }
.rbp-coupon__form { display: flex; gap: 8px; padding: 0 0 16px; margin: 0; }
body .rbp .rbp-coupon__form input[type="text"] {
	flex: 1 1 auto; width: auto !important; min-width: 0; height: 42px !important; padding: 8px 12px !important; margin: 0 !important;
	border: 1px solid #d9dbe1 !important; border-radius: 0 !important; background: #fff !important; color: #111 !important; font-size: 13px !important; box-shadow: none !important;
}
body .rbp .rbp-coupon__form .rbp-coupon__btn { flex: 0 0 auto; width: auto !important; min-height: 42px !important; height: 42px; padding: 0 18px !important; font-size: 11px !important; letter-spacing: 3px !important; }
.rbp-cartpage__note { margin: 0 0 14px; font-size: 11.5px; text-align: center; color: #444; }
.rbp-cartpage__checkout { min-height: 50px; letter-spacing: 4px; }
.rbp-cartpage__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 11px; letter-spacing: 1px; color: #555; text-transform: uppercase; }

/* Empty */
.rbp-cartpage__empty { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px 0 20px; text-align: center; }
.rbp-cartpage__empty p { margin: 0; font-size: 15px; }
body .rbp .rbp-cartpage__empty .rbp-btn { width: auto !important; padding: 12px 30px !important; }

/* Suggestions */
.rbp-cartpage__related { margin-top: 90px; }

/* Sticky mobile checkout */
.rbp-cartpage__sticky { display: none; }

@media (max-width: 1024px) {
	.rbp-cartpage__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
	.rbp-cartpage__head, .rbp-cprow { grid-template-columns: minmax(0, 1fr) 110px 100px; gap: 12px; }
}

@media (max-width: 767px) {
	.rbp-cartpage { padding: 30px 16px 120px; }
	body .rbp .rbp-cartpage__title { font-size: 22px !important; }
	.rbp-cartpage__continue { margin-bottom: 22px; }
	.rbp-freeship { margin-bottom: 26px; }
	.rbp-cartpage__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.rbp-cartpage__head { display: none; }
	.rbp-cartpage__list { border-top: 1px solid var(--rbp-line); }
	.rbp-cprow {
		grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "img info total" "img qty total";
		gap: 10px 14px; align-items: start; padding: 18px 0;
	}
	.rbp-cprow__product { display: contents; }
	.rbp-cprow__img { grid-area: img; flex: none; }
	.rbp-cprow__img img { width: 84px !important; height: 105px !important; }
	.rbp-cprow__info { grid-area: info; min-width: 0; }
	.rbp-cprow__name { font-size: 14px; }
	.rbp-cprow__qty { grid-area: qty; align-items: flex-start; }
	.rbp-cprow__total { grid-area: total; font-size: 14px; }
	.rbp-cartpage__summary { position: static; padding: 24px 20px; }
	.rbp-cartpage__related { margin-top: 60px; }
	.rbp-cartpage__sticky {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; gap: 14px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rbp-line); box-shadow: 0 -4px 16px rgba(0,0,0,.05);
	}
	.rbp-cartpage__sticky > div { display: flex; flex-direction: column; line-height: 1.2; }
	.rbp-cartpage__sticky span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #555; }
	.rbp-cartpage__sticky strong { font-weight: 400; font-size: 16px; }
	.rbp-cartpage__sticky .rbp-btn { flex: 1 1 auto; min-height: 46px; letter-spacing: 3.5px; }
}
/* Lift floating chat / currency widgets above the sticky checkout bar on phones */
@media (max-width: 767px) {
	body:has(.rbp-cartpage__sticky) .ht-ctc-chat,
	body:has(.rbp-cartpage__sticky) #fycs-floating-wrapper,
	body:has(.rbp-cartpage__sticky) .rbp-float-lift { transform: translateY(-74px) !important; }
}

/* Header cart takeover: never show the UAEL / Elementor cart panels */
.rbp-hijack-cart .elementor-widget-uael-mini-cart .uael-mc-offcanvas,
.rbp-hijack-cart .elementor-widget-uael-mini-cart .uael-mc-offcanvas-wrap,
.rbp-hijack-cart .elementor-widget-uael-mini-cart .uael-mc-dropdown,
.rbp-hijack-cart .elementor-widget-uael-mini-cart .uael-mc-modal,
.rbp-hijack-cart .elementor-widget-uael-mini-cart .uael-mc-modal-wrap,
.rbp-hijack-cart .elementor-menu-cart__container { display: none !important; }
/* Hide floating chat / currency widgets while the cart drawer or lightbox is open */
body.rbp-lock .ht-ctc-chat, body.rbp-lock #fycs-floating-wrapper, body.rbp-lock .rbp-float-lift { visibility: hidden !important; }
