/*
 * com_rmtamshop — storefront: product cards (modern), pagination, product page layout, "read more".
 * Colours come from Options → Colour settings (--rmt-accent = add-to-cart colour). No fonts are loaded:
 * everything uses the site template's font. Direction (RTL/LTR) follows the site language.
 */
:root {
	--rmt-accent: #2e7d32;
	--rmt-ink: #1d1f23;
	--rmt-muted: #6b7078;
	--rmt-line: rgba(17, 24, 39, .09);
	--rmt-card-radius: 16px;
	--rmt-card-ratio: 4/5;
	--rmt-desc-h: 260px;
}

/* =====================================================================================
   Pagination under product lists
   ===================================================================================== */
.rmt-pager { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 32px 0 8px; clear: both; }
.rmt-pager .pagination { display: block; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.rmt-pager .rmt-pg-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rmt-pager .rmt-pg-list > li { display: block; margin: 0; padding: 0; border: 0; background: none; }
.rmt-pager .rmt-pg-list > li::before, .rmt-pager .rmt-pg-list > li::after { content: none; }
.rmt-pager .rmt-pg-list a,
.rmt-pager .rmt-pg-list li > span {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; height: 44px; padding: 0 14px; margin: 0; box-sizing: border-box;
	border: 1px solid var(--rmt-line); border-radius: 999px; background: #fff;
	color: var(--rmt-ink); font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.rmt-pager .rmt-pg-list a:hover, .rmt-pager .rmt-pg-list a:focus-visible {
	border-color: var(--rmt-accent); color: var(--rmt-accent); text-decoration: none; box-shadow: 0 4px 12px rgba(17, 24, 39, .08);
}
.rmt-pager .rmt-pg-list .active > span { background: var(--rmt-accent); border-color: var(--rmt-accent); color: #fff; font-weight: 700; }
.rmt-pager .rmt-pg-list .is-disabled > span { opacity: .4; cursor: default; }
.rmt-pager .rmt-pg-list .rmt-pg-gap > span { min-width: 28px; padding: 0 2px; border: 0; background: none; color: var(--rmt-muted); }
.rmt-pager .rmt-pg-arrow { display: inline-block; width: 8px; height: 8px; border-top: 2px solid currentColor; border-inline-end: 2px solid currentColor; }
.rmt-pager .rmt-pg-prev .rmt-pg-arrow { transform: rotate(-135deg); margin-inline-start: 3px; }
.rmt-pager .rmt-pg-next .rmt-pg-arrow { transform: rotate(45deg); margin-inline-end: 3px; }
[dir=rtl] .rmt-pager .rmt-pg-prev .rmt-pg-arrow { transform: rotate(135deg); }
[dir=rtl] .rmt-pager .rmt-pg-next .rmt-pg-arrow { transform: rotate(-45deg); }
.rmt-pager .rmt-pg-info { color: var(--rmt-muted); font-size: 13px; }
.rmt-pg-limit { display: flex; justify-content: center; margin: 4px 0 12px; font-size: 13px; color: var(--rmt-muted); }
.rmt-pg-limit label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.rmt-pg-limit select { width: auto; min-width: 72px; height: 36px; padding: 0 28px 0 10px; border: 1px solid var(--rmt-line); border-radius: 999px; background-color: #fff; font-size: 14px; }
@media (max-width: 575.98px) {
	.rmt-pager .rmt-pg-word, .rmt-pager .rmt-pg-far { display: none; }
	.rmt-pager .rmt-pg-list { gap: 5px; }
	.rmt-pager .rmt-pg-list a, .rmt-pager .rmt-pg-list li > span { min-width: 42px; height: 42px; padding: 0 12px; }
}

/* =====================================================================================
   Product cards (Options → Products → Card style: Modern). Classic = the old look.
   ===================================================================================== */
.rmtamshop_items .rmt-cards, .rmt-cards {
	--bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem;
	margin-left: calc(var(--bs-gutter-x) * -.5) !important; margin-right: calc(var(--bs-gutter-x) * -.5) !important;
	margin-top: 0 !important; row-gap: var(--bs-gutter-y);
}
.rmt-cards > .product {
	display: flex; margin: 0 !important; padding: 0 calc(var(--bs-gutter-x) * .5) !important;
	border: 0 !important; box-shadow: none !important; transform: none !important;
}
.category_page .rmt-cards > .product:hover { box-shadow: none !important; }
.rmt-cards .product_box {
	display: flex !important; flex-direction: column; width: 100%; height: 100%; min-width: 0;
	padding: 0 !important; overflow: hidden; background: #fff;
	border: 1px solid var(--rmt-line) !important; border-radius: var(--rmt-card-radius) !important;
	box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 6px 16px rgba(17, 24, 39, .05);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rmt-cards .product_box:hover { transform: translateY(-4px); border-color: rgba(17, 24, 39, .14) !important; box-shadow: 0 16px 36px rgba(17, 24, 39, .12); }

/* picture: same shape for every card, fills the frame, gentle zoom on hover */
.rmt-cards .product_box > div:first-child { padding: 0 !important; }
.rmt-cards .product_box_img { position: relative; overflow: hidden; background: #f3f3f1; }
.rmt-cards .product_box_img > a,
.rmt-cards .product_box_img .layout1_gallery .swiper-slide > a { display: block; position: relative; aspect-ratio: var(--rmt-card-ratio); overflow: hidden; }
.rmt-cards .product_box_img img,
.rmtamshop .rmt-cards .product_box_img img.rounded {
	display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover;
	border-radius: 0 !important; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}
.rmt-cards .product_box_img .second-thumb { position: absolute; inset: 0; }
.rmt-cards .product_box:hover .product_box_img img { transform: scale(1.045); }
.rmt-cards .rmtamshop_gallery_thumbs img { aspect-ratio: 1/1; }

/* badges (special / second-hand / discount) as small pills over the picture */
.rmt-cards .featured_ribbon, .rmt-cards .archive-on-sale {
	top: 12px !important; border-radius: 999px !important; padding: 4px 10px !important;
	font-size: 12px; font-weight: 600; line-height: 1.2; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* text part */
.rmt-cards .product_box > div:last-child { display: flex; flex-direction: column; flex: 1 1 auto; gap: 10px; padding: 14px 16px 16px !important; }
.rmt-cards .product_box_title { padding: 0 !important; }
.rmt-cards .product_title {
	display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	color: var(--rmt-ink) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.4; text-decoration: none !important;
	min-height: 2.8em;
}
.rmt-cards .product_title:hover { color: var(--rmt-accent) !important; }
.rmt-cards .footer_box { display: flex !important; flex-wrap: wrap; align-items: center !important; justify-content: space-between; gap: 10px; margin-top: auto; }
.rmt-cards .product_box_price { color: var(--rmt-ink) !important; font-size: 16px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.rmt-cards .addtocart:has(> a.linkcart.btn) { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.rmt-cards .addtocart > a.linkcart.btn { flex: 1 1 auto; max-width: 100%; }
.rmt-cards .product_box_price .prdprice1 { margin: 0 0 2px !important; font-size: 13px; font-weight: 500; color: var(--rmt-muted); }
.rmt-cards .product_box_price .discount { font-size: 11px; font-weight: 700; padding: 2px 7px !important; }
.rmt-cards .product_box_price .free-text { font-size: 14px !important; font-weight: 600; }
.rmt-cards .addtocart { flex: 0 0 auto; }
.rmt-cards .product_box .addtocart a {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
	width: 42px !important; height: 42px !important; padding: 0 !important; line-height: 1 !important;
	border-radius: 999px !important; border: 0 !important; background: var(--rmt-accent) !important; color: #fff !important;
	box-shadow: 0 6px 14px rgba(17, 24, 39, .14); transition: transform .15s ease, filter .15s ease; text-decoration: none;
}
.rmt-cards .product_box .addtocart a.linkcart.btn,
.rmt-cards .product_box .addtocart a.linkcart:not(:has(> i)) { width: auto !important; padding: 0 16px !important; font-size: 13px !important; font-weight: 600; white-space: nowrap; }
.rmt-cards .product_box .addtocart a:hover { transform: translateY(-1px); filter: brightness(1.06); }
.rmt-cards .product_box .addtocart a.linkcart_disbled { opacity: .5; box-shadow: none; }
.rmt-cards .finished_tag { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #f1f1f1; color: #8a8f96; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* phones: two cards per row (Options → Products → cards per row on phones) */
@media (max-width: 575.98px) {
	.rmt-cards { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
	.rmt-cards.rmt-cards-m2 > .product { flex: 0 0 auto; width: 50%; }
	.rmt-cards.rmt-cards-m2 .product_box { border-radius: 14px !important; }
	.rmt-cards.rmt-cards-m2 .product_box > div:last-child { padding: 10px 10px 12px !important; gap: 8px; }
	.rmt-cards.rmt-cards-m2 .product_title { font-size: 13.5px !important; }
	.rmt-cards.rmt-cards-m2 .footer_box { flex-wrap: wrap; }
	.rmt-cards.rmt-cards-m2 .product_box_price { font-size: 14px; }
	.rmt-cards.rmt-cards-m2 .product_box .addtocart a { width: 38px !important; height: 38px !important; }
	.rmt-cards.rmt-cards-m2 .product_box .addtocart a.linkcart.btn { width: 100% !important; height: 36px !important; padding: 0 10px !important; font-size: 12px !important; }
	.rmt-cards.rmt-cards-m2 .addtocart:has(a.linkcart.btn) { flex: 1 1 100%; }
	.rmt-cards .product_box:hover { transform: none; }
}
@media (hover: none) {
	.rmt-cards .product_box:hover, .rmt-cards .product_box:hover .product_box_img img { transform: none; }
}

/* =====================================================================================
   Product page: photo and details side by side; the shorter column follows while scrolling
   ===================================================================================== */
@media (min-width: 992px) {
	.rmt-pp-sticky > .rmt-pp-gallery > .rmt-pp-inner,
	.rmt-pp-sticky > .rmt-pp-info > .rmt-pp-inner { position: sticky; top: var(--rmt-sticky-top, 24px); }
}
.rmt-desc-side { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rmt-line); }
.rmt-desc-side .pro_desc, .rmt-desc-side .product_description_main { line-height: 1.8; }

/* =====================================================================================
   "Read more" for the long description
   ===================================================================================== */
.rmt-readmore { position: relative; }
.rmt-readmore .rmt-rm-body { line-height: 1.8; }
.rmt-readmore .rmt-rm-body > :last-child { margin-bottom: 0; }
.rmt-readmore .rmt-rm-bar { display: none; }
.rmt-readmore.is-collapsible .rmt-rm-bar { display: flex; justify-content: center; margin: 12px 0 18px; }
.rmt-readmore.is-collapsible:not(.is-open) .rmt-rm-body {
	max-height: var(--rmt-desc-h); overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.rmt-rm-btn {
	display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 22px;
	border: 1px solid var(--rmt-line); border-radius: 999px; background: #fff; color: var(--rmt-ink);
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer;
	box-shadow: 0 4px 14px rgba(17, 24, 39, .08); transition: border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.rmt-rm-btn:hover, .rmt-rm-btn:focus-visible { border-color: var(--rmt-accent); color: var(--rmt-accent); box-shadow: 0 6px 18px rgba(17, 24, 39, .12); transform: translateY(-1px); }
.rmt-rm-btn .rmt-rm-less { display: none; }
.rmt-readmore.is-open .rmt-rm-btn .rmt-rm-less { display: inline; }
.rmt-readmore.is-open .rmt-rm-btn .rmt-rm-more { display: none; }
.rmt-rm-chev { width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.rmt-readmore.is-open .rmt-rm-chev { margin-top: 4px; transform: rotate(-135deg); }
@media (max-width: 767.98px) {
	.rmt-rm-btn { width: 100%; justify-content: center; min-height: 46px; }
}

@media (max-width: 991.98px) {
	.rmt-pp-gallery { margin-bottom: 18px; }
}

/* =====================================================================================
   Checkout: sections, fields with floating labels, delivery choices, sticky order summary
   ===================================================================================== */
.rmt-checkout-page { padding: 24px !important; }
.rmt-checkout { --rmt-field-h: 58px; --rmt-accent-soft: rgba(46, 125, 50, .1); }
@supports (background: color-mix(in srgb, red 10%, white)) {
	.rmt-checkout { --rmt-accent-soft: color-mix(in srgb, var(--rmt-accent) 11%, #fff); }
}
.rmt-checkout .checkout_header { border-bottom: 0 !important; padding-bottom: 0 !important; }
.rmt-checkout .checkout_header a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--rmt-accent); text-decoration: none; }
.rmt-checkout .checkout_header a::before { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
[dir=rtl] .rmt-checkout .checkout_header a::before { transform: rotate(-135deg); }

/* section titles (also the ones added after choosing a shipping method) */
.rmt-checkout #rmtamshop_details h3 {
	display: flex !important; align-items: center; gap: 12px !important; margin: 30px 0 14px !important; padding: 0 !important;
	color: var(--rmt-ink); font-size: 17px !important; font-weight: 700; line-height: 1.3;
}
.rmt-checkout #rmtamshop_details h3 > i.bi {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px;
	border-radius: 50%; background: var(--rmt-accent-soft); color: var(--rmt-accent) !important; font-size: 16px; line-height: 1;
}
.rmt-checkout #rmtamshop_details > h3:first-of-type { margin-top: 18px !important; }
.rmt-checkout .rmt-co-sub { font-size: 15px; font-weight: 700; color: var(--rmt-ink); }

/* products in the order */
.rmt-checkout .checkout_products .each { gap: 12px !important; padding: 10px !important; border: 1px solid var(--rmt-line) !important; border-radius: 14px !important; background: #fff; }
.rmt-checkout .checkout_products img { width: 64px !important; height: 64px !important; flex: 0 0 64px; object-fit: cover; border-radius: 10px !important; }
.rmt-checkout .checkout_products h3 { margin: 0 0 4px !important; font-size: 14px !important; font-weight: 600; line-height: 1.35; display: block !important; }
.rmt-checkout .checkout_products .price { font-size: 14px; font-weight: 700; color: var(--rmt-ink); }

/* fields */
.rmt-checkout .form-control, .rmt-checkout .form-select {
	min-height: var(--rmt-field-h); border: 1px solid #d6dade; border-radius: 12px !important; background-color: #fff;
	font-size: 16px; color: var(--rmt-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.rmt-checkout textarea.form-control { min-height: 110px; padding-top: 14px; line-height: 1.6; }
.rmt-checkout .form-control::placeholder { color: #9aa0a6; }
.rmt-checkout .form-control:focus, .rmt-checkout .form-select:focus { border-color: var(--rmt-accent); box-shadow: 0 0 0 4px var(--rmt-accent-soft); outline: 0; }
.rmt-checkout .form-floating > .form-control, .rmt-checkout .form-floating > .form-select { height: var(--rmt-field-h); }
.rmt-checkout .form-floating > label { color: #6b7078; font-size: 15px; }
.rmt-checkout .form-floating > .form-control:focus ~ label,
.rmt-checkout .form-floating > .form-control:not(:placeholder-shown) ~ label,
.rmt-checkout .form-floating > .form-select ~ label { color: #6b7078; font-size: 13px; }
.rmt-checkout .form-floating > .form-control::placeholder { color: transparent; }
.rmt-checkout .form-floating > label::after { background: transparent !important; }
.rmt-checkout .rmt-co-fields { --bs-gutter-x: 14px; }
.rmt-checkout .err { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.4; }
.rmt-checkout .err:empty { display: none; }
.rmt-checkout .rmshop_input_row.valid::after, .rmt-checkout .rmshop_input_row.invalid::after { top: 17px !important; z-index: 5; }
.rmt-checkout #rmshop_mobile_row.valid::after, .rmt-checkout #rmshop_tell_row.valid::after, .rmt-checkout #rmshop_nationalcode_row.valid::after,
.rmt-checkout #rmshop_mobile_row.invalid::after, .rmt-checkout #rmshop_tell_row.invalid::after, .rmt-checkout #rmshop_nationalcode_row.invalid::after { inset-inline-end: 24px; }

/* delivery type: two big choices */
.rmt-checkout .rmt-co-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.rmt-checkout .rmt-co-choice {
	flex: 1 1 160px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; margin: 0;
	border: 1.5px solid #d6dade !important; border-radius: 12px !important; background: #fff !important; color: var(--rmt-ink) !important;
	font-size: 15px; font-weight: 600; box-shadow: none !important;
}
.rmt-checkout .rmt-co-choice:hover { border-color: var(--rmt-accent) !important; }
.rmt-checkout .btn-check:checked + .rmt-co-choice { border-color: var(--rmt-accent) !important; background: var(--rmt-accent-soft) !important; color: var(--rmt-accent) !important; box-shadow: inset 0 0 0 1px var(--rmt-accent) !important; }
.rmt-checkout .btn-check:focus-visible + .rmt-co-choice { box-shadow: 0 0 0 4px var(--rmt-accent-soft) !important; }
.rmt-checkout #shipment_row_items > .border, .rmt-checkout .rmt-co-date { border-radius: 14px !important; border-color: var(--rmt-line) !important; padding: 14px !important; }
.rmt-checkout #shipment_date_row .form-control { margin-bottom: 0 !important; }
.rmt-checkout #shipment_date_row .bi { top: 50% !important; transform: translateY(-50%); padding-top: 0 !important; font-size: 18px; color: var(--rmt-accent); cursor: pointer; }

/* "the recipient is me" switch and the recipient box */
.rmt-checkout .form-switch { display: flex; align-items: center; gap: 12px; min-height: 32px; padding-inline-start: 0; margin: 4px 0 18px !important; }
.rmt-checkout .form-switch .form-check-input { float: none; width: 46px; height: 26px; margin: 0; cursor: pointer; flex: 0 0 auto; }
.rmt-checkout .form-switch .form-check-input:checked { background-color: var(--rmt-accent); border-color: var(--rmt-accent); }
.rmt-checkout .form-switch .form-check-label { margin: 0; cursor: pointer; font-size: 15px; font-weight: 500; }
.rmt-checkout .form-switch .form-check-label::before, .rmt-checkout .form-switch .form-check-label::after { content: none !important; display: none !important; }
.rmt-checkout #recipientSection { padding: 16px 16px 4px; margin-bottom: 18px; border-radius: 14px; background: #f7f8f7; border: 1px solid var(--rmt-line); }
.rmt-checkout #recipient_name.invalid, .rmt-checkout #recipient_phone.invalid { border-color: #e5484d !important; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }

/* order summary */
.rmt-checkout .side_col { padding-top: 6px; }
.rmt-checkout .rmt-co-summary { padding: 20px; border: 1px solid var(--rmt-line); border-radius: 18px; background: #f7f8f7; }
@media (min-width: 992px) {
	.rmt-checkout .rmt-co-summary { position: sticky; top: 24px; }
}
.rmt-checkout .cart_calculate { margin: 0 0 12px !important; padding: 0; }
.rmt-checkout .cart_calculate li { font-size: 14px !important; color: #4b5057; }
.rmt-checkout .cart_calculate .value { font-weight: 600; color: var(--rmt-ink); }
.rmt-checkout .cart_total_box { margin-bottom: 14px; padding: 14px 0 !important; border-top: 1px dashed #cfd3d8; }
.rmt-checkout .cart_total_box h2 { margin: 0 0 4px !important; font-size: 13px !important; font-weight: 600; color: var(--rmt-muted); text-transform: uppercase; letter-spacing: .04em; }
.rmt-checkout #total_price { font-size: 26px; font-weight: 800; color: var(--rmt-ink); }
.rmt-checkout .order_ruls { margin-bottom: 14px !important; font-size: 13px; }
.rmt-checkout .order_ruls .rule_btn { padding: 2px 10px; border-radius: 999px !important; font-size: 12px; }
.rmt-checkout #btn_payment {
	display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 16px !important;
	border-radius: 14px !important; font-size: 16px; font-weight: 700; box-shadow: 0 10px 22px rgba(17, 24, 39, .16); transition: transform .15s, filter .15s;
}
.rmt-checkout #btn_payment:hover { transform: translateY(-1px); filter: brightness(1.05); }
.rmt-checkout .rmt-co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--rmt-muted); }
.rmt-checkout .rmt-co-secure .bi { color: var(--rmt-accent); }

@media (max-width: 991.98px) {
	.rmt-checkout-page { padding: 16px !important; }
	.rmt-checkout .side_col { margin-top: 10px; }
}
@media (max-width: 575.98px) {
	.rmt-checkout-page { padding: 12px !important; }
	.rmt-checkout #rmtamshop_details h3 { font-size: 16px !important; margin-top: 24px !important; }
	.rmt-checkout .rmt-co-choice { flex-basis: 0; min-width: 0; font-size: 14px; }
}
.rmt-checkout .shippment_section.row { margin-left: 0; margin-right: 0; }
.rmt-checkout .shippment_section.row > * { padding-left: 0; padding-right: 0; }

/* =====================================================================================
   Share buttons on the product page (Options → SEO and sharing)
   ===================================================================================== */
.rmt-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 6px 0; }
.rmt-share-label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--rmt-ink); }
.rmt-share-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rmt-share-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0;
	border: 1px solid var(--rmt-line); border-radius: 50%; background: #fff; color: var(--rmt-ink); font-size: 17px; line-height: 1;
	text-decoration: none !important; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.rmt-share-btn:hover, .rmt-share-btn:focus-visible { transform: translateY(-2px); color: #fff; border-color: transparent; }
.rmt-share-whatsapp:hover { background: #25d366; }
.rmt-share-facebook:hover, .rmt-share-messenger:hover { background: #1877f2; }
.rmt-share-pinterest:hover { background: #e60023; }
.rmt-share-telegram:hover { background: #229ed9; }
.rmt-share-x:hover { background: #000; }
.rmt-share-linkedin:hover { background: #0a66c2; }
.rmt-share-reddit:hover { background: #ff4500; }
.rmt-share-email:hover, .rmt-share-sms:hover, .rmt-share-copy:hover, .rmt-share-native:hover { background: var(--rmt-accent); }
.rmt-share-copy.is-done { background: var(--rmt-accent); color: #fff; border-color: transparent; }
.rmt-share-copy.is-done .bi::before { content: "\f26e"; }
.rmt-share-btn[hidden] { display: none; }
@media (max-width: 575.98px) { .rmt-share-btn { width: 44px; height: 44px; font-size: 18px; } }
.rmt-share-svg { display: block; width: 16px; height: 16px; }

/* =====================================================================================
   Product reviews (stars + comment, buyers only) — views/product/tmpl/reviews.php
   ===================================================================================== */
.rmt-rv { width: 100%; --rv-gold: #f5a623; --rv-soft: #f6f5fb; --rv-line: #ecebf3; --rv-muted: #8b8a99; }
.rmt-rv-stars, .rmt-rv-item-stars, .rmt-rv-input label, .rmt-rv-empty-stars {
	background: linear-gradient(180deg, #ffe9ab 0%, #f5a623 55%, #d9880f 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 2px;
}
.rmt-rv-off { background: linear-gradient(180deg, #eceafc, #d8d5ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rmt-rv-top { display: flex; gap: 22px; align-items: stretch; margin-bottom: 22px; }
.rmt-rv-col { flex: 1 1 0; min-width: 0; display: flex; }
.rmt-rv-col > * { width: 100%; }
.rmt-rv-card { background: #fff; border: 1px solid var(--rv-line); border-radius: 20px; padding: 22px; box-shadow: 0 12px 30px -20px rgba(30, 20, 80, .2); display: flex; flex-direction: column; }
.rmt-rv-summary { display: flex; gap: 26px; align-items: center; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--rv-line); }
.rmt-rv-summary-card .rmt-rv-summary:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.rmt-rv-score { text-align: center; flex-shrink: 0; }
.rmt-rv-ring { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 8px; padding: 4px; background: conic-gradient(var(--rmt-accent, #2e7d32) var(--rv-pct), var(--rv-soft) 0); }
.rmt-rv-ring span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #1f1d2e; line-height: 1; }
.rmt-rv-score .rmt-rv-stars { font-size: 17px; display: block; }
.rmt-rv-count { font-size: 12.5px; color: var(--rv-muted); margin-top: 6px; }
.rmt-rv-bars { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.rmt-rv-bar { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--rv-muted); }
.rmt-rv-bar-label { width: 38px; flex-shrink: 0; white-space: nowrap; }
.rmt-rv-star1 { color: var(--rv-gold); font-size: 11px; }
.rmt-rv-track { flex: 1; height: 7px; background: var(--rv-soft); border-radius: 10px; overflow: hidden; }
.rmt-rv-track span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #f5c563, #f5a623); }
.rmt-rv-pct { width: 36px; flex-shrink: 0; text-align: end; font-weight: 600; color: #6b697a; }
.rmt-rv-sort { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.rmt-rv-chip { font-size: 13px; padding: 7px 16px; border-radius: 30px; border: 1px solid var(--rv-line); color: #6b697a; text-decoration: none; background: #fff; transition: all .15s; }
.rmt-rv-chip:hover { border-color: var(--rmt-accent, #2e7d32); color: var(--rmt-accent, #2e7d32); }
.rmt-rv-chip.is-active { background: var(--rmt-accent, #2e7d32); border-color: transparent; color: #fff; }
.rmt-rv-empty-card, .rmt-rv-locked { align-items: center; justify-content: center; text-align: center; border-style: dashed; box-shadow: none; background: #fbfafe; }
.rmt-rv-empty-card h4, .rmt-rv-locked h4 { font-size: 15px; font-weight: 700; margin: 8px 0 6px; color: #1f1d2e; }
.rmt-rv-empty-card p, .rmt-rv-locked p { font-size: 13px; color: var(--rv-muted); margin: 0; line-height: 1.7; }
.rmt-rv-empty-stars { font-size: 22px; }
.rmt-rv-lock { color: #b9b4dc; }
.rmt-rv-form-title { font-size: 15.5px; font-weight: 700; margin: 0 0 12px; color: #1f1d2e; }
.rmt-rv-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; border: 0; padding: 0; margin: 0 0 12px; font-size: 34px; line-height: 1; gap: 2px; }
.rmt-rv-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rmt-rv-input label { cursor: pointer; padding: 0 2px; background: linear-gradient(180deg, #eceafc, #d8d5ea); -webkit-background-clip: text; background-clip: text; transition: transform .12s; margin: 0; }
.rmt-rv-input input:checked ~ label, .rmt-rv-input label:hover, .rmt-rv-input label:hover ~ label { background: linear-gradient(180deg, #ffe9ab 0%, #f5a623 55%, #d9880f 100%); -webkit-background-clip: text; background-clip: text; transform: scale(1.12); }
.rmt-rv-input input:focus-visible + label { outline: 2px solid var(--rmt-accent, #2e7d32); outline-offset: 2px; border-radius: 4px; }
.rmt-rv-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--rv-line); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; margin-bottom: 12px; resize: vertical; background: #fbfafe; min-height: 110px; }
.rmt-rv-form textarea:focus { outline: none; border-color: var(--rmt-accent, #2e7d32); background: #fff; }
.rmt-rv-form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rmt-rv-submit { border: 0; border-radius: 12px; padding: 11px 26px; font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; background: var(--rmt-accent, #2e7d32); cursor: pointer; min-height: 44px; }
.rmt-rv-submit:hover { filter: brightness(1.06); }
.rmt-rv-note { font-size: 12px; color: var(--rv-muted); }
.rmt-rv-pending { display: inline-block; width: fit-content; margin: -4px 0 10px; font-size: 12px; font-weight: 600; color: #a5731a; background: #fdf1dd; padding: 3px 12px; border-radius: 30px; }
.rmt-rv-list { display: flex; flex-direction: column; gap: 14px; }
.rmt-rv-item { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--rv-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 20px -18px rgba(30, 20, 80, .25); }
.rmt-rv-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 17px; background: linear-gradient(135deg, hsl(var(--rv-hue, 150), 60%, 55%), hsl(calc(var(--rv-hue, 150) + 45), 60%, 42%)); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--rv-line); }
.rmt-rv-body { flex: 1; min-width: 0; }
.rmt-rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rmt-rv-name { font-weight: 700; font-size: 14.5px; color: #1f1d2e; }
.rmt-rv-verified { font-size: 11px; font-weight: 600; color: #1e7a46; background: #e8f6ee; padding: 2px 9px; border-radius: 30px; }
.rmt-rv-item-stars { margin-inline-start: auto; font-size: 15px; }
.rmt-rv-date { font-size: 12px; color: var(--rv-muted); margin-top: 2px; }
.rmt-rv-text { font-size: 15px; color: #45434f; line-height: 1.85; margin: 6px 0 0; overflow-wrap: anywhere; }
.rmt-rv-more-toggle { display: none; }
.rmt-rv-text.is-clamped { max-height: 110px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.rmt-rv-more-toggle:checked ~ .rmt-rv-text.is-clamped { max-height: none; -webkit-mask-image: none; mask-image: none; }
.rmt-rv-more { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--rmt-accent, #2e7d32); cursor: pointer; }
.rmt-rv-more .rmt-rv-more-hide, .rmt-rv-more-toggle:checked ~ .rmt-rv-more .rmt-rv-more-show { display: none; }
.rmt-rv-more-toggle:checked ~ .rmt-rv-more .rmt-rv-more-hide { display: inline; }
.rmt-rv-reply { margin-top: 12px; background: var(--rv-soft); border-inline-start: 3px solid var(--rmt-accent, #2e7d32); border-radius: 12px; padding: 12px 14px; }
.rmt-rv-reply-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.rmt-rv-reply .rmt-rv-avatar { width: 32px; height: 32px; font-size: 13px; box-shadow: none; }
.rmt-rv-reply-name { font-size: 13px; font-weight: 700; color: #1f1d2e; }
.rmt-rv-badge { font-size: 11px; font-weight: 600; color: var(--rmt-accent, #2e7d32); background: #fff; padding: 2px 9px; border-radius: 30px; }
.rmt-rv-reply-text { font-size: 14.5px; color: #45434f; line-height: 1.8; }
.rmt-rv-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rmt-rv-pg { min-width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #6b697a; border: 1px solid var(--rv-line); text-decoration: none; background: #fff; }
.rmt-rv-pg.is-active { background: var(--rmt-accent, #2e7d32); color: #fff; border-color: transparent; }
.rmt-rv-badge-top { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #1f1d2e; font-size: 14px; }
.rmt-rv-badge-top .rmt-rv-stars { font-size: 17px; }
.rmt-rv-top-count { color: var(--rv-muted, #8b8a99); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
	.rmt-rv-top { flex-direction: column; }
	.rmt-rv-summary { flex-direction: column; align-items: stretch; gap: 14px; }
	.rmt-rv-item { padding: 14px; gap: 12px; }
	.rmt-rv-item-stars { margin-inline-start: 0; flex-basis: 100%; }
	.rmt-rv-submit { width: 100%; }
}

/* =====================================================================================
   Product page: "How to order" + "Shop with confidence" — views/product/tmpl/assurance.php
   ===================================================================================== */
.rmt-assure { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin: 0 0 24px; }
.rmt-assure-block { background: #fff; border: 1px solid var(--rmt-line, #e6e8ec); border-radius: var(--rmt-card-radius, 16px); padding: 20px 22px; }
.rmt-assure-title { font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.rmt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: none; position: relative; }
.rmt-step { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.55; color: #5b6170; position: relative; }
.rmt-step strong { color: #1f2430; font-size: 14.5px; }
.rmt-step-icon { position: relative; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
	color: var(--rmt-accent, #2e7d32); background: color-mix(in srgb, var(--rmt-accent, #2e7d32) 10%, #fff); }
.rmt-step-n { position: absolute; top: -6px; inset-inline-end: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--rmt-accent, #2e7d32); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.rmt-step:not(:last-child)::after { content: ""; position: absolute; top: 24px; inset-inline-start: 58px; inset-inline-end: -8px; border-top: 2px dashed var(--rmt-line, #e6e8ec); }
.rmt-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rmt-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: #5b6170; }
.rmt-trust li strong { display: block; color: #1f2430; font-size: 14.5px; }
.rmt-trust-icon { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--rmt-accent, #2e7d32); background: color-mix(in srgb, var(--rmt-accent, #2e7d32) 10%, #fff); }
.rmt-assure-custom { font-size: 14px; line-height: 1.8; }
@media (max-width: 991.98px) {
	.rmt-assure { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
	.rmt-steps { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
	.rmt-step::after { display: none; }
	.rmt-assure-block { padding: 16px; }
}

/* =====================================================================================
   Cart page — views/cart/tmpl/default.php
   ===================================================================================== */
.rmt-cart { --c-line: var(--rmt-line, #e6e8ec); --c-muted: #6b7280; }
.rmt-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.rmt-cart-main, .rmt-cart-summary { background: #fff; border: 1px solid var(--c-line); border-radius: var(--rmt-card-radius, 16px); box-shadow: 0 10px 30px -22px rgba(17, 24, 39, .35); }
.rmt-cart-main { padding: 8px 20px 16px; }
.rmt-cart-items { list-style: none; margin: 0; padding: 0; }
.rmt-cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 120px 40px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.rmt-cart-thumb img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; display: block; background: #f3f4f6; }
.rmt-cart-title { font-size: 15.5px; font-weight: 700; margin: 0 0 4px; line-height: 1.4; }
.rmt-cart-title a { color: #1f2430; text-decoration: none; }
.rmt-cart-title a:hover { color: var(--rmt-accent, #2e7d32); }
.rmt-cart-attrs { list-style: none; margin: 0 0 4px; padding: 0; font-size: 13px; color: var(--c-muted); }
.rmt-cart-unit { font-size: 13.5px; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rmt-cart-unit s { opacity: .7; }
.rmt-cart-badge { background: var(--rmt-accent, #2e7d32); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.rmt-cart-line { font-weight: 800; font-size: 16px; text-align: end; white-space: nowrap; color: #1f2430; }
.rmt-stepper { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; overflow: hidden; }
.rmt-step-btn { width: 40px; height: 40px; border: 0; background: transparent; font-size: 20px; line-height: 1; color: #1f2430; cursor: pointer; }
.rmt-step-btn:hover:not(:disabled) { background: #f3f4f6; }
.rmt-step-btn:disabled { color: #c3c7cf; cursor: default; }
.rmt-step-input { width: 44px; height: 40px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.rmt-step-input::-webkit-outer-spin-button, .rmt-step-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rmt-cart-remove { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--c-muted); text-decoration: none; }
.rmt-cart-remove:hover { background: #fdecec; color: #c42b2a; }
.rmt-cart-continue { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--rmt-accent, #2e7d32); text-decoration: none; }
.rmt-cart-continue::before { content: "← "; }
[dir="rtl"] .rmt-cart-continue::before, .rtl .rmt-cart-continue::before { content: "→ "; }
.rmt-cart-summary { padding: 20px; position: sticky; top: 90px; }
.rmt-cart-sum-title { font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.rmt-cart-rows { list-style: none; margin: 0 0 14px; padding: 0; }
.rmt-cart-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; color: #3f4451; }
.rmt-cart-rows li.is-minus span:last-child { color: #1e7a46; }
.rmt-cart-rows small { color: var(--c-muted); }
.rmt-cart-coupon { margin: 0 0 8px; }
.rmt-cart-coupon-box { display: flex; align-items: center; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; background: #fbfbfc; }
.rmt-cart-coupon-box.valid { border-color: #1e7a46; background: #f1faf4; }
.rmt-cart-coupon-box input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; padding: 0 14px; font: inherit; font-size: 15px; letter-spacing: .5px; }
.rmt-cart-coupon-box input:focus { outline: none; }
.rmt-cart-coupon-btn { height: 46px; padding: 0 16px; border: 0; background: #1f2430; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rmt-cart-coupon-btn:disabled { background: #e5e7eb; color: #9ca3af; cursor: default; }
.rmt-cart-coupon-x { width: 36px; height: 46px; border: 0; background: transparent; font-size: 22px; color: var(--c-muted); cursor: pointer; }
#coupon-response .alert { margin: 8px 0 0; padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.rmt-cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--c-line); margin-top: 14px; padding-top: 14px; }
.rmt-cart-total span { font-weight: 600; }
.rmt-cart-total strong { font-size: 22px; font-weight: 800; white-space: nowrap; }
.rmt-cart-note { font-size: 12.5px; color: var(--c-muted); margin: 4px 0 14px; }
.rmt-cart-actions { display: flex; flex-direction: column; gap: 10px; }
.rmt-cart-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; padding: 0 16px; }
.rmt-cart-btn.is-primary { background: var(--rmt-accent, #2e7d32); color: #fff; box-shadow: 0 10px 22px -12px var(--rmt-accent, #2e7d32); }
.rmt-cart-btn.is-primary:hover { filter: brightness(1.06); color: #fff; }
.rmt-cart-btn.is-ghost { border: 1px solid var(--c-line); color: #1f2430; background: #fff; }
.rmt-cart-btn.is-ghost:hover { border-color: #1f2430; }
.rmt-cart-empty { background: #fff; border: 1px solid var(--c-line); border-radius: var(--rmt-card-radius, 16px); padding: 48px 20px; text-align: center; color: var(--c-muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rmt-cart-empty p { font-size: 16px; margin: 0; }
.rmt-cart-empty .rmt-cart-btn { min-width: 220px; }
@media (max-width: 991.98px) {
	.rmt-cart-grid { grid-template-columns: 1fr; }
	.rmt-cart-summary { position: static; }
}
@media (max-width: 575.98px) {
	.rmt-cart-main { padding: 4px 14px 14px; }
	.rmt-cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info info" "img qty line"; gap: 8px 10px; position: relative; }
	.rmt-cart-thumb { grid-area: img; align-self: start; }
	.rmt-cart-thumb img { width: 72px; height: 72px; }
	.rmt-cart-info { grid-area: info; padding-inline-end: 34px; }
	.rmt-cart-remove { position: absolute; top: 10px; inset-inline-end: -6px; }
	.rmt-cart-qty { grid-area: qty; }
	.rmt-cart-line { grid-area: line; justify-self: end; align-self: center; font-size: 15px; }
	.rmt-step-btn { width: 36px; height: 38px; }
	.rmt-step-input { width: 36px; height: 38px; }
	.rmt-cart-summary { padding: 16px; }
}
.rmt-rv-verify { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 360px; margin: 14px auto 4px; }
.rmt-rv-verify input { width: 100%; box-sizing: border-box; height: 46px; border: 1px solid var(--rv-line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; }
.rmt-rv-verify input:focus { outline: none; border-color: var(--rmt-accent, #2e7d32); }
.rmt-rv-locked .rmt-rv-note { margin-top: 6px; }

/* ---- notify me when available (views/product/tmpl/noticeme.php) ---- */
.rmt-nm { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.rmt-nm-text { margin: 0; font-size: 14px; line-height: 1.6; }
.rmt-nm-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.rmt-nm-form[hidden], .rmt-nm-off[hidden], .rmt-nm-msg[hidden] { display: none !important; }
.rmt-nm-label { font-size: 13px; margin: 0; }
.rmt-nm-input { width: 100%; min-height: 42px; font-size: 16px; }
.rmt-nm-btn { min-height: 42px; border: 0; cursor: pointer; }
.rmt-nm-off { min-height: 42px; border: 1px solid currentColor; cursor: pointer; }
.rmt-nm .is-busy { opacity: .6; pointer-events: none; }
.rmt-nm-login { margin: 0; font-size: 13px; text-align: center; }
.rmt-nm-msg { margin: 0; font-size: 13px; padding: 8px 10px; border-radius: 8px; }
.rmt-nm-msg.is-ok { background: #e8f5e9; color: #1b5e20; }
.rmt-nm-msg.is-bad { background: #fdecea; color: #8a1c14; }

/* ---- "remind me next year" at checkout (views/checkout/tmpl/default.php) ---- */
.rmt-occ { border: 1px dashed rgba(0,0,0,.18); border-radius: 10px; padding: 12px 14px; }
.rmt-occ .rmt-occ-label { position: static !important; display: flex !important; gap: 10px; align-items: flex-start; margin: 0; padding: 0; cursor: pointer; font-weight: 600; font-size: 14px; line-height: 1.5; transform: none !important; background: none !important; }
.rmt-occ .rmt-occ-label input { position: static !important; opacity: 1 !important; width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; accent-color: var(--rmt-accent, #2e7d32); appearance: auto; -webkit-appearance: checkbox; }
.rmt-occ .rmt-occ-label input::before, .rmt-occ .rmt-occ-label input::after { content: none !important; display: none !important; }
.rmt-occ-more { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.rmt-occ-more[hidden] { display: none; }
.rmt-occ-help { font-size: 12px; opacity: .75; line-height: 1.5; }

/* ---- one-page checkout: the cart on the checkout page (views/checkout/tmpl/default_cart.php) ---- */
.rmt-co-cart { margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid rgba(0,0,0,.08); }
.rmt-co-cart.is-busy { opacity: .55; pointer-events: none; transition: opacity .2s; }
.rmt-co-cart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.rmt-co-cart-head .rmt-cart-sum-title { margin: 0; }
.rmt-co-cart .rmt-cart-items { margin: 0 0 12px; }
.rmt-co-login { margin: 0 0 10px; font-size: 14px; }
.rmt-co-login-note { opacity: .7; }
.rmt-co-coupon { max-width: 420px; }
.rmt-co-coupon #coupon-response .alert { margin: 8px 0 0; padding: 8px 10px; font-size: 13px; }
.rmt-co-coupon .rmt-cart-coupon-box [hidden] { display: none !important; }
/* stepper: stronger than template rules like input[type="number"] { width: 206px; padding; margin-bottom } (Bootstrap 2 templates) */
.rmt-stepper input.rmt-step-input { width: 44px; min-width: 0; max-width: 44px; height: 40px; margin: 0; padding: 0; box-shadow: none; border: 0; border-radius: 0; flex: 0 0 auto; }
.rmt-stepper .rmt-step-btn { flex: 0 0 auto; margin: 0; padding: 0; }
@media (max-width: 575.98px) { .rmt-stepper input.rmt-step-input { width: 36px; max-width: 36px; height: 38px; } }

/* ---- checkout: final amount bar on phones and tablets (views/checkout/tmpl/default_bar.php) ---- */
.rmt-co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid rgba(0,0,0,.1);
	box-shadow: 0 -8px 24px rgba(17,24,39,.12); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.rmt-co-bar[hidden] { display: none !important; }
.rmt-co-bar-row { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; }
.rmt-co-bar-sum { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; border: 0; background: none; padding: 2px 0; text-align: start; cursor: pointer; color: inherit; position: relative; padding-inline-end: 22px; }
.rmt-co-bar-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }
.rmt-co-bar-amount { font-size: 20px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.rmt-co-bar-chev { position: absolute; inset-inline-end: 0; top: 50%; margin-top: -8px; transition: transform .2s; opacity: .6; }
.rmt-co-bar.is-open .rmt-co-bar-chev { transform: rotate(180deg); }
.rmt-co-bar-pay { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
	background: var(--rmt-accent, #2e7d32); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(17,24,39,.18); }
.rmt-co-bar-details { max-width: 720px; margin: 0 auto 10px; padding: 4px 2px 10px; border-bottom: 1px dashed rgba(0,0,0,.15); max-height: 45vh; overflow: auto; }
.rmt-co-bar-details ul { list-style: none; margin: 0; padding: 0; }
.rmt-co-bar-details li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.rmt-co-bar-details li .title, .rmt-co-bar-details li .value { display: block !important; text-align: start !important; }
body.rmt-has-cobar { padding-bottom: 86px; }
@keyframes rmtCoFlash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px rgba(46,125,50,.35); } }
.rmt-co-flash { animation: rmtCoFlash 1.4s ease; border-radius: 10px; }
@media (min-width: 992px) { .rmt-co-bar { display: none !important; } }

/* =====================================================================================
   Product page: related products use the same cards as the lists (Card style: Modern)
   ===================================================================================== */
.rmt-rel-cards.swiper-container { padding-top: 6px; padding-bottom: 14px; }
#pro_related_products.rmt-rel-cards .main-swiper-slide {
	display: flex; padding: 0 calc(var(--bs-gutter-x) * .5) !important;
	border: 0 !important; box-shadow: none !important; background: transparent;
}
#pro_related_products.rmt-rel-cards .main-swiper-slide:hover { box-shadow: none !important; }
#pro_related_products.rmt-rel-cards .product_box { margin: 0 !important; border-radius: var(--rmt-card-radius) !important; }
/* photo gallery inside the card (Options → show other images: gallery): same frame as the single photo */
#pro_related_products.rmt-rel-cards .layout1_gallery .swiper-slide { aspect-ratio: var(--rmt-card-ratio); overflow: hidden; }
#pro_related_products.rmt-rel-cards .product_box:hover { box-shadow: 0 10px 22px rgba(17, 24, 39, .10); }
#pro_related_products.rmt-rel-cards .swiper_buttons { margin-top: 6px !important; }
@media (max-width: 575.98px) {
	#pro_related_products.rmt-rel-cards.rmt-cards-m2 .main-swiper-slide { width: 50%; }
	#pro_related_products.rmt-rel-cards.rmt-cards-m2 .product_box { border-radius: 14px !important; }
	#pro_related_products.rmt-rel-cards.rmt-cards-m1 .main-swiper-slide { width: 82%; }
}

/* related articles: a little more room between the lines of a title */
.related_articles .rmt-rel-art-title { line-height: 1.6 !important; }

/* =====================================================================================
   Trust points (Options → Product page): under "Add to cart" and next to the pay button
   ===================================================================================== */
.rmt-trustline {
	list-style: none; margin: 12px auto 0; padding: 0; flex: 1 1 100%; width: 100%;
	display: grid; justify-content: center; justify-items: start; gap: 7px;
}
.rmt-trustline li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; font-size: 13px; line-height: 1.45; color: var(--rmt-muted, #6b7280); text-align: start; }
.rmt-trustline li::before { content: none; }
.rmt-trustline svg { flex: 0 0 auto; margin-top: 1px; color: var(--rmt-accent, #2f7d32); }
/* product page: lined up with the start of the buy area (left in LTR, right in RTL), not centered */
.rmt-trustline-product { justify-content: start; padding-inline-start: 2px; }
.rmt-trustline-checkout { margin-top: 12px; gap: 6px; }
.rmt-trustline-checkout li { font-size: 12.5px; }
