/* ==========================================================================
   Rahvan — WooCommerce pages (My Account, cart, checkout, order received,
   Woodmart wishlist / compare) in the Rahvan look. Navy #022C3C + saffron #E8A33D.
   Everything is scoped to body.rv-woo (added by inc/woo.php on those pages only).
   ========================================================================== */
body.rv-woo {
	--w-n: #022C3C; --w-n2: #0C3D50; --w-n50: #E6EFF2;
	--w-s: #E8A33D; --w-s2: #F7C873; --w-s50: #FDF3E1; --w-s7: #8A5A12;
	--w-ink: #22313A; --w-mut: #5B6E77; --w-line: #E1E8EB; --w-line2: #EEF3F5; --w-soft: #F4F7F8;
	--w-ok: #15803D; --w-err: #B42318;
	--w-r: 18px; --w-r-sm: 12px;
	--w-sh: 0 14px 34px -26px rgb(2 44 60 / 45%);
	background: #F3F6F7;
}
body.rv-woo .main-page-wrapper, body.rv-woo .wd-page-content { background: transparent; }
/* v25: Woodmart's «wrapper-custom» paints .website-wrapper white over this soft background, so only the
   60px sheet under the hero showed grey: a stripe that cut through the cards (cart, account, checkout). */
body.rv-woo .website-wrapper { background: transparent; }
/* v27: Woodmart (base-rtl.css, loaded after this file) paints the body with «body:not([class*=wrapper-boxed])
   { background-color: var(--wd-main-bgcolor) }» = white, which beat «body.rv-woo» (same specificity, earlier file). */
html body.rv-woo { background-color: #F3F6F7; }

/* ---------- page title band (Woodmart) ---------- */
body.rv-woo .page-title, body.rv-woo .wd-page-title {
	background: radial-gradient(90% 140% at 100% 0, rgb(232 163 61 / 20%), transparent 60%), linear-gradient(140deg, #0C3D50, #022C3C 70%) !important;
	color: #fff; padding-block: 28px !important; border-bottom: 3px solid var(--w-s);
}
body.rv-woo .page-title .entry-title, body.rv-woo .wd-page-title .entry-title, body.rv-woo .page-title .title { color: #fff !important; font-weight: 900; }
body.rv-woo .page-title a, body.rv-woo .woocommerce-breadcrumb, body.rv-woo .woocommerce-breadcrumb a, body.rv-woo .wd-breadcrumbs a { color: rgb(255 255 255 / 75%) !important; }
/* cart → checkout → done steps */
body.rv-woo .wd-checkout-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.rv-woo .wd-checkout-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 16%); }
body.rv-woo .wd-checkout-steps li, body.rv-woo .wd-checkout-steps li a { color: rgb(255 255 255 / 70%) !important; font-weight: 800; font-size: 13px; text-decoration: none; }
body.rv-woo .wd-checkout-steps li.step-active { background: linear-gradient(135deg, var(--w-s2), var(--w-s)); border-color: transparent; }
body.rv-woo .wd-checkout-steps li.step-active, body.rv-woo .wd-checkout-steps li.step-active a { color: var(--w-n) !important; }

/* ---------- shared: buttons, fields, notices, tables ---------- */
body.rv-woo .woocommerce .button, body.rv-woo .woocommerce button.button, body.rv-woo .woocommerce a.button, body.rv-woo .woocommerce input.button, body.rv-woo .wd-wishlist-content .button, body.rv-woo .wd-compare-table .button, body.rv-woo a.wd-empty-block-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 14px;
	font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1.4; text-transform: none; letter-spacing: 0; text-decoration: none;
	color: #fff; background: var(--w-n); box-shadow: 0 12px 22px -16px rgb(2 44 60 / 85%); transition: background .2s, transform .15s, box-shadow .2s;
}
body.rv-woo .woocommerce .button:hover, body.rv-woo .woocommerce a.button:hover, body.rv-woo .woocommerce button.button:hover, body.rv-woo a.wd-empty-block-btn:hover { background: var(--w-n2); color: #fff; }
body.rv-woo .woocommerce .button:active { transform: translateY(1px); }
body.rv-woo .woocommerce .button.alt, body.rv-woo .woocommerce .checkout-button, body.rv-woo #place_order, body.rv-woo .woocommerce .single_add_to_cart_button {
	color: var(--w-n) !important; background: linear-gradient(135deg, var(--w-s2), var(--w-s)) !important; box-shadow: 0 14px 26px -16px rgb(232 163 61 / 90%) !important;
}
body.rv-woo .woocommerce .button.alt:hover, body.rv-woo .woocommerce .checkout-button:hover, body.rv-woo #place_order:hover { filter: brightness(1.04); }
body.rv-woo .woocommerce .button:focus-visible, body.rv-woo .woocommerce input:focus-visible, body.rv-woo .woocommerce select:focus-visible { outline: 3px solid var(--w-s2); outline-offset: 2px; }

body.rv-woo .woocommerce form .form-row label, body.rv-woo .woocommerce form label { font-size: 13.5px; font-weight: 800; color: var(--w-n); margin-bottom: 6px; }
body.rv-woo .woocommerce form .form-row .required { color: var(--w-err); text-decoration: none; }
body.rv-woo .woocommerce input.input-text, body.rv-woo .woocommerce input[type="text"], body.rv-woo .woocommerce input[type="email"], body.rv-woo .woocommerce input[type="tel"], body.rv-woo .woocommerce input[type="password"], body.rv-woo .woocommerce input[type="number"], body.rv-woo .woocommerce textarea, body.rv-woo .woocommerce select, body.rv-woo .select2-container .select2-selection--single {
	min-height: 48px; padding: 10px 14px; border: 1.5px solid #D5DFE3; border-radius: 14px; background: #fff; color: var(--w-ink); font-family: inherit; font-size: 14.5px; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
body.rv-woo .select2-container .select2-selection--single { display: flex; align-items: center; }
body.rv-woo .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); }
body.rv-woo .woocommerce textarea { min-height: 110px; }
body.rv-woo .woocommerce input.input-text:focus, body.rv-woo .woocommerce input[type="text"]:focus, body.rv-woo .woocommerce input[type="email"]:focus, body.rv-woo .woocommerce input[type="tel"]:focus, body.rv-woo .woocommerce input[type="password"]:focus, body.rv-woo .woocommerce textarea:focus, body.rv-woo .woocommerce select:focus {
	border-color: var(--w-s); box-shadow: 0 0 0 4px rgb(232 163 61 / 18%); outline: none;
}
body.rv-woo .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--w-err); }
body.rv-woo .woocommerce input[type="checkbox"], body.rv-woo .woocommerce input[type="radio"] { accent-color: var(--w-n); width: 18px; height: 18px; }

body.rv-woo .woocommerce-message, body.rv-woo .woocommerce-info, body.rv-woo .woocommerce-error, body.rv-woo .wc-block-components-notice-banner {
	position: relative; margin: 0 0 18px !important; padding: 14px 18px 14px 18px !important; border: 1px solid; border-radius: 16px; list-style: none;
	font-size: 14px; line-height: 1.9; box-shadow: none; background-image: none;
}
body.rv-woo .woocommerce-message::before, body.rv-woo .woocommerce-info::before, body.rv-woo .woocommerce-error::before { display: none; }
body.rv-woo .woocommerce-message { background: #ECF8F1; border-color: #B7E3C8; color: #155E35; border-inline-start: 4px solid var(--w-ok); }
body.rv-woo .woocommerce-info { background: var(--w-s50); border-color: #F3DDB0; color: #5A3D0C; border-inline-start: 4px solid var(--w-s); }
body.rv-woo .woocommerce-error { background: #FEF0EE; border-color: #F6C3BD; color: #8F1D13; border-inline-start: 4px solid var(--w-err); }
body.rv-woo .woocommerce-message .button, body.rv-woo .woocommerce-info .button { min-height: 38px; padding: 0 16px; float: none; margin-inline-start: 10px; }
body.rv-woo .woocommerce-message a:not(.button), body.rv-woo .woocommerce-info a:not(.button) { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

body.rv-woo .woocommerce table.shop_table { border: 1px solid var(--w-line); border-radius: var(--w-r); border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; margin: 0 0 20px; }
body.rv-woo .woocommerce table.shop_table th { padding: 13px 16px; font-size: 13px; font-weight: 900; color: var(--w-n); background: #F1F5F7; border: 0; border-bottom: 1px solid var(--w-line); text-align: start; }
body.rv-woo .woocommerce table.shop_table td { padding: 14px 16px; border: 0; border-top: 1px solid var(--w-line2); color: var(--w-ink); vertical-align: middle; }
body.rv-woo .woocommerce table.shop_table tbody tr:first-child td { border-top: 0; }
body.rv-woo .woocommerce table.shop_table tfoot th, body.rv-woo .woocommerce table.shop_table tfoot td { background: #FAFBFC; border-top: 1px solid var(--w-line2); }
body.rv-woo .woocommerce table.shop_table .order-total th, body.rv-woo .woocommerce table.shop_table .order-total td { font-size: 16px; font-weight: 900; color: var(--w-n); background: var(--w-s50); }
body.rv-woo .woocommerce .amount { font-weight: 800; color: var(--w-n); }
body.rv-woo .woocommerce table.shop_table a:not(.button) { color: var(--w-n); font-weight: 800; text-decoration: none; }
body.rv-woo .woocommerce table.shop_table a:not(.button):hover { color: var(--w-s7); }

/* card shell used by many blocks */
body.rv-woo .rv-wcard, body.rv-woo .woocommerce-MyAccount-content, body.rv-woo .woocommerce-account .woocommerce-form-login, body.rv-woo .woocommerce-account .woocommerce-form-register,
body.rv-woo .woocommerce-checkout #customer_details, body.rv-woo .woocommerce-checkout #order_review, body.rv-woo .cart-collaterals .cart_totals, body.rv-woo .woocommerce-order {
	background: #fff; border: 1px solid var(--w-line); border-radius: 22px; box-shadow: var(--w-sh);
}

/* ==========================================================================
   MY ACCOUNT
   ========================================================================== */
body.rv-woo.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1000px) {
	body.rv-woo.woocommerce-account.logged-in .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 290px minmax(0, 1fr); }
	body.rv-woo.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
}
body.rv-woo .wd-my-account-sidebar > .woocommerce-MyAccount-title { display: none; } /* v31: also on the wishlist page (not «woocommerce-account») */
body.rv-woo.woocommerce-account .woocommerce-MyAccount-content { padding: 26px; min-width: 0; }
body.rv-woo.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation, body.rv-woo.woocommerce-account .woocommerce > .woocommerce-MyAccount-content { width: auto; float: none; margin: 0; }

/* profile header + menu as one card */
body.rv-woo .rv-acc-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 18px; border-radius: 22px 22px 0 0; color: #fff;
	background: radial-gradient(120% 140% at 100% 0, rgb(232 163 61 / 24%), transparent 62%), linear-gradient(145deg, #0C3D50, #022C3C 70%); }
body.rv-woo .rv-acc-av { grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 22px; font-weight: 900; color: var(--w-n); background: linear-gradient(135deg, var(--w-s2), var(--w-s)); box-shadow: 0 10px 20px -12px rgb(232 163 61 / 90%); }
body.rv-woo .rv-acc-who { min-width: 0; line-height: 1.6; }
body.rv-woo .rv-acc-who small { display: block; font-size: 11.5px; color: rgb(255 255 255 / 65%); }
body.rv-woo .rv-acc-who b { display: block; font-size: 16px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.rv-woo .rv-acc-who span { display: block; font-size: 12px; color: rgb(255 255 255 / 70%); text-align: end; }
body.rv-woo .rv-acc-lv { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-decoration: none; color: #fff; background: rgb(255 255 255 / 8%); border: 1px solid rgb(232 163 61 / 45%); }
body.rv-woo .rv-acc-lv i { font-style: normal; color: var(--w-s2); }
body.rv-woo .rv-acc-lv.lv-bronze i { color: #D9935A; } body.rv-woo .rv-acc-lv.lv-silver i { color: #CFD8E0; } body.rv-woo .rv-acc-lv.lv-gold i { color: #E8BD62; }
body.rv-woo .woocommerce-MyAccount-navigation ul { margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--w-line); border-top: 0; border-radius: 0 0 22px 22px; box-shadow: var(--w-sh); }
body.rv-woo .woocommerce-MyAccount-navigation:not(:has(.rv-acc-profile)) ul { border-top: 1px solid var(--w-line); border-radius: 22px; }
body.rv-woo .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; list-style: none; }
body.rv-woo .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 14px; color: var(--w-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
body.rv-woo .woocommerce-MyAccount-navigation li a::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; opacity: .75; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
body.rv-woo .woocommerce-MyAccount-navigation li a:hover { background: var(--w-soft); color: var(--w-n); }
body.rv-woo .woocommerce-MyAccount-navigation li.is-active a { color: #fff; background: var(--w-n); box-shadow: inset -3px 0 0 var(--w-s), 0 10px 20px -14px rgb(2 44 60 / 80%); }
body.rv-woo .woocommerce-MyAccount-navigation li.is-active a::before { opacity: 1; color: var(--w-s2); }
body.rv-woo .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--w-line); }
body.rv-woo .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--w-err); }
/* v28: Woodmart's «.wd-builder-off .woocommerce-MyAccount-navigation ul>li.is-active>a» (light background) has the same
   weight as the rules above and loads after this file on the wishlist page: white text on a light background. */
html body.rv-woo.rv-woo .woocommerce-MyAccount-navigation li a:hover { background-color: var(--w-soft); color: var(--w-n); }
html body.rv-woo.rv-woo .woocommerce-MyAccount-navigation li.is-active > a, html body.rv-woo.rv-woo .woocommerce-MyAccount-navigation li.wd-active > a,
html body.rv-woo.rv-woo .woocommerce-MyAccount-navigation li.is-active > a:hover, html body.rv-woo.rv-woo .woocommerce-MyAccount-navigation li.wd-active > a:hover { color: #fff; background-color: var(--w-n); }
html body.rv-woo.rv-woo .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout > a:not(:hover) { color: var(--w-err); }
@media (max-width: 999px) {
	body.rv-woo .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: none; }
	body.rv-woo .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.rv-woo .woocommerce-MyAccount-navigation li a { white-space: nowrap; min-height: 42px; font-size: 13px; }
	body.rv-woo .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
	body.rv-woo.woocommerce-account .woocommerce-MyAccount-content { padding: 18px 16px; }
}

/* content typography */
body.rv-woo .woocommerce-MyAccount-content > p:first-child { margin-top: 0; padding: 14px 16px; border-radius: 16px; background: var(--w-soft); font-size: 14px; color: var(--w-ink); }
body.rv-woo .woocommerce-MyAccount-content h2, body.rv-woo .woocommerce-MyAccount-content h3, body.rv-woo .woocommerce-checkout h3, body.rv-woo .cart_totals h2, body.rv-woo .woocommerce-order h2, body.rv-woo .woocommerce-column__title {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 18px; font-weight: 900; color: var(--w-n);
}
body.rv-woo .woocommerce-MyAccount-content h2::before, body.rv-woo .woocommerce-MyAccount-content h3::before, body.rv-woo .woocommerce-checkout h3::before, body.rv-woo .cart_totals h2::before, body.rv-woo .woocommerce-order h2::before, body.rv-woo .woocommerce-column__title::before {
	content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--w-s);
}
body.rv-woo .woocommerce-MyAccount-content mark { padding: 1px 8px; border-radius: 8px; background: var(--w-s50); color: var(--w-n); font-weight: 800; }

/* dashboard tiles (inc/woo.php) — Woodmart's own link grid is replaced by them */
body.rv-woo .woocommerce-MyAccount-content .wd-my-account-links { display: none !important; }
body.rv-woo .rv-acc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 18px; }
body.rv-woo .rv-acc-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; text-decoration: none; background: linear-gradient(160deg, #F8FAFB, #F1F5F7); border: 1px solid var(--w-line2); transition: border-color .2s, transform .2s, box-shadow .2s; }
body.rv-woo .rv-acc-tile:hover { border-color: var(--w-s); transform: translateY(-2px); box-shadow: 0 16px 28px -22px rgb(2 44 60 / 60%); }
body.rv-woo .rv-acc-tile-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; color: #9A6614; background: #FDF1DA; border: 1px solid #F3DCAE; }
body.rv-woo .rv-acc-tile--rahvan-club .rv-acc-tile-ic { color: var(--w-n); background: linear-gradient(135deg, var(--w-s2), var(--w-s)); border-color: transparent; }
body.rv-woo .rv-acc-i { width: 22px; height: 22px; }
body.rv-woo .rv-acc-tile b { font-size: 14.5px; font-weight: 900; color: var(--w-n); }
body.rv-woo .rv-acc-tile small { font-size: 12px; line-height: 1.7; color: var(--w-mut); }
@media (max-width: 520px) { body.rv-woo .rv-acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } body.rv-woo .rv-acc-tile { padding: 12px; } }

/* orders, downloads, view order */
body.rv-woo .woocommerce-orders-table__cell-order-status, body.rv-woo .woocommerce-order-overview__status { font-weight: 800; }
body.rv-woo .woocommerce-orders-table .button { min-height: 36px; padding: 0 14px; margin: 2px; font-size: 12.5px; }
body.rv-woo .woocommerce-orders-table__cell-order-number a { color: var(--w-n); }
body.rv-woo mark.order-status { background: var(--w-n50); }
@media (max-width: 768px) {
	body.rv-woo .woocommerce table.shop_table_responsive, body.rv-woo .woocommerce table.shop_table_responsive tbody { display: block; border: 0; background: none; box-shadow: none; }
	body.rv-woo .woocommerce table.shop_table_responsive thead { display: none; }
	body.rv-woo .woocommerce table.shop_table_responsive tr { display: block; margin-bottom: 12px; padding: 6px 14px; border: 1px solid var(--w-line); border-radius: 18px; background: #fff; box-shadow: var(--w-sh); }
	body.rv-woo .woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--w-line2); text-align: end !important; }
	body.rv-woo .woocommerce table.shop_table_responsive tr td:first-child { border-top: 0; }
	body.rv-woo .woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); float: none; font-size: 12.5px; font-weight: 800; color: var(--w-mut); text-align: start; }
	body.rv-woo .woocommerce table.shop_table_responsive tr td.actions::before, body.rv-woo .woocommerce table.shop_table_responsive tr td.product-remove::before, body.rv-woo .woocommerce table.shop_table_responsive tr td.product-thumbnail::before { display: none; }
}
body.rv-woo .woocommerce-order-details, body.rv-woo .woocommerce-customer-details { margin-top: 22px; }
body.rv-woo .woocommerce-customer-details address { padding: 16px; border: 1px solid var(--w-line); border-radius: 16px; background: var(--w-soft); font-style: normal; line-height: 2; }

/* addresses */
body.rv-woo .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
body.rv-woo .woocommerce-Addresses::before, body.rv-woo .woocommerce-Addresses::after { display: none; }
body.rv-woo .woocommerce-Address { width: auto !important; float: none !important; padding: 18px; border: 1px solid var(--w-line); border-radius: 18px; background: var(--w-soft); }
body.rv-woo .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
body.rv-woo .woocommerce-Address-title h2, body.rv-woo .woocommerce-Address-title h3 { margin: 0; font-size: 16px; }
body.rv-woo .woocommerce-Address-title .edit { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; text-decoration: none; color: var(--w-n); background: #fff; border: 1px solid var(--w-line); }
body.rv-woo .woocommerce-Address address { font-style: normal; line-height: 2; color: var(--w-ink); }

/* account details form */
body.rv-woo .woocommerce-EditAccountForm fieldset { margin: 22px 0 10px; padding: 18px; border: 1px solid var(--w-line); border-radius: 18px; background: var(--w-soft); }
body.rv-woo .woocommerce-EditAccountForm fieldset legend { padding: 0 10px; font-size: 15px; font-weight: 900; color: var(--w-n); }
body.rv-woo .woocommerce-EditAccountForm em, body.rv-woo #account_display_name_description { display: block; margin-top: 4px; font-size: 12px; color: var(--w-mut); font-style: normal; }

/* login / register (logged out) */
body.rv-woo.woocommerce-account:not(.logged-in) .woocommerce { max-width: 980px; margin-inline: auto; }
body.rv-woo .u-columns.col2-set, body.rv-woo #customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; width: 100%; }
body.rv-woo #customer_login::before, body.rv-woo #customer_login::after { display: none; }
body.rv-woo #customer_login > div { width: auto !important; float: none !important; max-width: none; padding: 0; }
body.rv-woo .woocommerce-form-login, body.rv-woo .woocommerce-form-register { margin: 0 !important; padding: 26px !important; }
body.rv-woo #customer_login h2 { position: relative; margin: 0 0 18px; padding-bottom: 12px; font-size: 20px; font-weight: 900; color: var(--w-n); }
body.rv-woo #customer_login h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--w-s); }
body.rv-woo .woocommerce-form-login .button, body.rv-woo .woocommerce-form-register .button { width: 100%; margin-top: 6px; }
body.rv-woo .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 700 !important; }
body.rv-woo .woocommerce-LostPassword a, body.rv-woo .lost_password a { color: var(--w-s7); font-weight: 800; }
body.rv-woo .registration-info, body.rv-woo .wd-registration-page .registration-info { padding: 16px; border-radius: 16px; background: var(--w-soft); color: var(--w-mut); }

/* ==========================================================================
   CART
   ========================================================================== */
body.rv-woo .woocommerce-cart-form { min-width: 0; max-width: 100%; overflow-x: auto; }
body.rv-woo table.cart .product-name { min-width: 170px; }
body.rv-woo .woocommerce-cart-form table.cart { box-shadow: var(--w-sh); }
body.rv-woo table.cart .product-thumbnail img { width: 76px; height: 76px; object-fit: cover; border-radius: 14px; }
body.rv-woo table.cart .product-name a { font-size: 15px; }
/* v21: Woodmart already draws an «×» icon (::before, icon font) and hides the text with font-size:0;
   the old font-size:20px brought the text «×» back, so two crosses were stacked. One drawn cross now. */
body.rv-woo table.cart .product-remove a.remove { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--w-err) !important; background: #FEF0EE; font-size: 0 !important; line-height: 0; text-decoration: none; overflow: hidden; }
body.rv-woo table.cart .product-remove a.remove::before { content: "" !important; display: block; width: 14px; height: 14px; font-family: inherit !important; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
body.rv-woo table.cart .product-remove a.remove::after { content: none !important; }
body.rv-woo table.cart .product-remove a.remove:hover { color: #fff !important; background: var(--w-err); }
body.rv-woo table.cart .quantity .qty { width: 72px; min-height: 42px; text-align: center; }
body.rv-woo table.cart td.actions { padding: 14px 16px; background: #FAFBFC; }
body.rv-woo table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
body.rv-woo table.cart td.actions .coupon .input-text { width: 200px; min-height: 46px; }
body.rv-woo .cart-collaterals { min-width: 0; margin-top: 20px; }
body.rv-woo .cart-collaterals .cart_totals { padding: 22px; }
body.rv-woo .cart-collaterals .cart_totals table.shop_table { box-shadow: none; }
body.rv-woo .wc-proceed-to-checkout { padding: 6px 0 0; }
body.rv-woo .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 16px !important; }
/* empty cart / wishlist / compare */
body.rv-woo .cart-empty, body.rv-woo .wd-empty-page, body.rv-woo .wc-empty-cart-message .cart-empty {
	display: flex !important; flex-direction: column; align-items: center; gap: 8px; margin: 0 auto 16px !important; padding: 40px 20px 24px !important; max-width: 560px;
	text-align: center; border: 1px dashed #CFDDE3 !important; border-radius: 24px; background: #fff !important; color: var(--w-n) !important; font-size: 17px !important; font-weight: 900;
}
body.rv-woo .cart-empty::before, body.rv-woo .wd-empty-page::before {
	content: "" !important; display: block !important; position: static !important; width: 72px; height: 72px; margin-bottom: 6px; border-radius: 22px; background: var(--w-s50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8A33D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2zM9 4v14M15 6v14'/%3E%3C/svg%3E") no-repeat center / 34px;
	border: 1px solid #F3DDB0; font-size: 0 !important;
}
body.rv-woo .return-to-shop, body.rv-woo .wd-empty-page + .return-to-shop { text-align: center; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
body.rv-woo .woocommerce-checkout #customer_details { padding: 24px; }
body.rv-woo .woocommerce-checkout #order_review { padding: 22px; margin-top: 16px; }
body.rv-woo .woocommerce-checkout #order_review_heading { font-size: 18px; font-weight: 900; color: var(--w-n); }
body.rv-woo .woocommerce-checkout-review-order-table { box-shadow: none; }
body.rv-woo .woocommerce-checkout-review-order-table .product-name { font-weight: 800; }
body.rv-woo .woocommerce-checkout-review-order-table .product-quantity { color: var(--w-s7); }
body.rv-woo .woocommerce-billing-fields__field-wrapper, body.rv-woo .woocommerce-shipping-fields__field-wrapper, body.rv-woo .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
body.rv-woo .woocommerce-billing-fields__field-wrapper .form-row, body.rv-woo .woocommerce-additional-fields__field-wrapper .form-row { width: auto !important; float: none !important; margin: 0 0 12px; }
body.rv-woo .woocommerce-billing-fields__field-wrapper .form-row-wide, body.rv-woo .woocommerce-billing-fields__field-wrapper .notes, body.rv-woo .woocommerce-additional-fields__field-wrapper .form-row { grid-column: 1 / -1; }
@media (max-width: 600px) { body.rv-woo .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); } body.rv-woo .woocommerce-checkout #customer_details, body.rv-woo .woocommerce-checkout #order_review { padding: 18px 14px; } }
/* payment methods as selectable cards */
body.rv-woo #payment { background: none !important; border-radius: 0; }
body.rv-woo #payment ul.payment_methods { margin: 0 0 14px; padding: 0 !important; border: 0 !important; list-style: none; display: grid; gap: 10px; }
body.rv-woo #payment ul.payment_methods li { margin: 0; padding: 14px 16px; border: 1.5px solid var(--w-line); border-radius: 16px; background: #fff; line-height: 1.8; }
body.rv-woo #payment ul.payment_methods li:has(input:checked) { border-color: var(--w-s); background: var(--w-s50); box-shadow: 0 0 0 3px rgb(232 163 61 / 18%); }
body.rv-woo #payment ul.payment_methods li label { display: inline; font-weight: 800; color: var(--w-n); cursor: pointer; }
body.rv-woo #payment ul.payment_methods li img { max-height: 28px; vertical-align: middle; margin-inline-start: 8px; }
body.rv-woo #payment div.payment_box { margin: 10px 0 0 !important; padding: 12px 14px !important; border-radius: 12px; background: var(--w-soft) !important; color: var(--w-mut); font-size: 13px; }
body.rv-woo #payment div.payment_box::before { display: none !important; }
body.rv-woo #payment .place-order { padding: 0 !important; margin: 0; }
body.rv-woo #payment #place_order { width: 100%; min-height: 56px; font-size: 16.5px !important; border-radius: 16px; }
body.rv-woo .woocommerce-terms-and-conditions-wrapper { margin-bottom: 12px; font-size: 13px; color: var(--w-mut); }
body.rv-woo .woocommerce-form-coupon-toggle .woocommerce-info, body.rv-woo .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 14px !important; }
body.rv-woo form.checkout_coupon, body.rv-woo form.woocommerce-form-login.login { padding: 18px !important; border: 1px dashed #CFDDE3 !important; border-radius: 18px !important; background: #fff; }

/* order received */
body.rv-woo .woocommerce-order { padding: 26px; }
body.rv-woo .woocommerce-thankyou-order-received, body.rv-woo .woocommerce-notice--success { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 18px 20px; border-radius: 18px; font-size: 17px; font-weight: 900; color: #155E35; background: #ECF8F1; border: 1px solid #B7E3C8; }
body.rv-woo .woocommerce-thankyou-order-received::before { content: "✓"; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--w-ok); font-size: 20px; }
body.rv-woo ul.woocommerce-order-overview { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 22px !important; padding: 0 !important; list-style: none; }
body.rv-woo ul.woocommerce-order-overview::before, body.rv-woo ul.woocommerce-order-overview::after { display: none; }
body.rv-woo ul.woocommerce-order-overview li { float: none !important; margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--w-line) !important; border-radius: 16px; background: var(--w-soft); font-size: 12px; color: var(--w-mut); text-transform: none; }
body.rv-woo ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15px; color: var(--w-n); }

/* ==========================================================================
   WISHLIST + COMPARE (Woodmart)
   ========================================================================== */
body.rv-woo .wd-wishlist-content, body.rv-woo .wd-compare-page, body.rv-woo .wd-compare-table-wrapper { padding: 22px; background: #fff; border: 1px solid var(--w-line); border-radius: 22px; box-shadow: var(--w-sh); }
body.rv-woo .wd-wishlist-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--w-line2); }
body.rv-woo .wd-wishlist-head .title, body.rv-woo .wd-wishlist-title { font-size: 20px; font-weight: 900; color: var(--w-n); margin: 0; }
body.rv-woo .wd-wishlist-content .wd-product, body.rv-woo .wd-wishlist-content .product-grid-item { border: 1px solid var(--w-line); border-radius: 20px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
body.rv-woo .wd-wishlist-content .wd-product:hover, body.rv-woo .wd-wishlist-content .product-grid-item:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgb(2 44 60 / 60%); }
body.rv-woo .wd-wishlist-content .wd-entities-title a, body.rv-woo .wd-wishlist-content .product-title a { color: var(--w-n); font-weight: 900; }
body.rv-woo .wd-wishlist-remove, body.rv-woo .wd-wishlist-product-remove a, body.rv-woo .wd-compare-remove { color: var(--w-err) !important; font-weight: 800; }
body.rv-woo .wd-compare-table { width: 100%; border: 1px solid var(--w-line); border-radius: 18px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
body.rv-woo .wd-compare-table th, body.rv-woo .wd-compare-table .compare-field { padding: 12px 14px; font-weight: 900; color: var(--w-n); background: #F1F5F7; border-bottom: 1px solid var(--w-line2); text-align: start; white-space: nowrap; }
body.rv-woo .wd-compare-table td, body.rv-woo .wd-compare-table .compare-value { padding: 12px 14px; border-bottom: 1px solid var(--w-line2); color: var(--w-ink); vertical-align: top; }
body.rv-woo .wd-compare-table tr:last-child th, body.rv-woo .wd-compare-table tr:last-child td { border-bottom: 0; }
body.rv-woo .wd-compare-table img { border-radius: 14px; }
body.rv-woo .wd-compare-table-wrapper, body.rv-woo .wd-compare-page .wd-compare-table-wrapper { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) { body.rv-woo * { transition: none !important; } }

/* standard WooCommerce markup: profile header + menu share the side column, content beside them */
@media (min-width: 1000px) {
	body.rv-woo.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper { grid-row: 1; }
	body.rv-woo.woocommerce-account.logged-in .woocommerce > .rv-acc-profile { grid-column: 1; grid-row: 2; }
	body.rv-woo.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 3; margin-top: -20px; position: static; }
	body.rv-woo.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; grid-row: 2 / span 3; }
}

/* tours have no SKU: hide Woodmart's «کد کالا: نامعلوم» line in the cart and order review */
body.rv-woo .wd-product-sku { display: none; }

/* ==========================================================================
   v18 — page hero, My Account (Woodmart markup) with a scrolling menu on
   phones, dashboard, and a finer finish for cart / checkout / wishlist.
   ========================================================================== */

/* ---------- page hero (inc/woo.php); Woodmart's own title bar only where the hero is missing ---------- */
body.rv-woo:has(.rv-whero) .wd-page-title, body.rv-woo:has(.rv-whero) .page-title { display: none !important; }
.rv-whero { position: relative; isolation: isolate; overflow: hidden; direction: rtl; color: #fff; padding: clamp(22px, 1rem + 2.2vw, 44px) 0 clamp(54px, 2.6rem + 2.6vw, 84px); font-family: "IRANSansXFaNum", "IRANSans", Tahoma, sans-serif;
	background: radial-gradient(60% 120% at 88% -10%, rgb(232 163 61 / 30%), transparent 60%), radial-gradient(52% 90% at 0% 100%, rgb(31 96 120 / 60%), transparent 65%), linear-gradient(160deg, #0B4458 0%, #022C3C 58%, #011E2A 100%); }
.rv-whero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rv-whero__bg::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(rgb(255 255 255 / 11%) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 62%); mask-image: linear-gradient(200deg, #000 0%, transparent 62%); }
.rv-whero__bg i { position: absolute; inset-inline-start: -8%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(232 163 61 / 20%), transparent 62%); }
.rv-whero__bg svg { position: absolute; inset-inline: 0; bottom: 20px; width: 100%; height: clamp(60px, 10vw, 130px); max-width: none; color: rgb(255 255 255 / 7%); }
.rv-whero__in { position: relative; max-width: 1222px; margin: 0 auto; padding: 0 clamp(16px, .5rem + 2vw, 32px); }
.rv-whero__crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.rv-whero__crumbs li { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: rgb(255 255 255 / 70%); }
.rv-whero__crumbs li + li::before { content: ""; width: 5px; height: 5px; border-inline-start: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.rv-whero__crumbs a { color: rgb(255 255 255 / 78%); text-decoration: none; }
.rv-whero__crumbs a:hover { color: #F7D08A; }
.rv-whero__crumbs li[aria-current] span { color: #fff; font-weight: 700; }
.rv-whero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: clamp(14px, .6rem + 1vw, 24px) 0 0; font-size: 14px; font-weight: 700; color: #F7D08A; }
.rv-whero__eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: #E8A33D; }
.rv-whero .rv-whero__title { margin: 4px 0 0; padding: 0; font-family: inherit; font-size: clamp(1.5rem, 1.15rem + 1.9vw, 2.5rem); font-weight: 800; line-height: 1.5; letter-spacing: 0; text-transform: none; color: #fff; }
.rv-whero__steps { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: none; }
.rv-whero__steps li { position: relative; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 6px 16px 6px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: rgb(255 255 255 / 72%); background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 14%); }
.rv-whero__steps li i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: rgb(255 255 255 / 14%); }
.rv-whero__steps li.is-on { color: #022C3C; background: linear-gradient(135deg, #F7C873, #E8A33D); border-color: transparent; box-shadow: 0 12px 24px -14px rgb(232 163 61 / 90%); }
.rv-whero__steps li.is-on i { color: #F7C873; background: #022C3C; }
.rv-whero__steps li.is-done { color: #fff; border-color: rgb(127 224 176 / 45%); }
.rv-whero__steps li.is-done i { color: #022C3C; background: #7FE0B0; }
/* the page body rises over the hero as one sheet */
body.rv-woo:has(.rv-whero) .wd-content-layout, body.rv-woo:has(.rv-whero) .content-layout-wrapper { position: relative; z-index: 1; margin-top: -30px; padding-top: clamp(18px, .8rem + 1.2vw, 30px) !important; }
body.rv-woo:has(.rv-whero) .wd-page-content::before, body.rv-woo:has(.rv-whero) .main-page-wrapper::before { content: none; }
body.rv-woo:has(.rv-whero) .wd-page-content, body.rv-woo:has(.rv-whero) .main-page-wrapper { position: relative; }
.rv-whero + .wd-content-layout::before, .rv-whero ~ .content-layout-wrapper::before { content: ""; position: absolute; inset-inline: calc(50% - 50vw); top: 0; height: 60px; z-index: -1; border-radius: 28px 28px 0 0; background: #F3F6F7; }

/* ---------- My Account: Woodmart's wrapper as our two-column layout ---------- */
body.rv-woo .wd-my-account-wrapper { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; margin: 0 !important; }
body.rv-woo .wd-my-account-wrapper > .wd-grid-col { width: auto !important; max-width: none !important; flex: none !important; min-width: 0; margin: 0 !important; padding-inline: 0 !important; }
/* v25: the rule above (Woodmart gutter reset) also removed the content card's own side padding: the cards touched its border */
body.rv-woo.woocommerce-account .wd-my-account-wrapper > .woocommerce-MyAccount-content { padding-inline: 26px !important; }
@media (max-width: 999px) { body.rv-woo.woocommerce-account .wd-my-account-wrapper > .woocommerce-MyAccount-content { padding-inline: 16px !important; } }
/* v21: Woodmart 8.x places every .wd-grid-col with «grid-column: auto / span var(--wd-col)» (3 + 9 of a 12-track grid).
   On our two-track grid that made the menu span 3 tracks (= the whole width) and pushed the content under it. */
body.rv-woo .wd-my-account-wrapper > .wd-grid-col { grid-column: auto !important; grid-row: auto !important; }
@media (min-width: 1000px) {
	body.rv-woo .wd-my-account-wrapper { grid-template-columns: 300px minmax(0, 1fr); gap: 24px; }
	body.rv-woo .wd-my-account-sidebar { position: sticky; top: 104px; }
}
body.rv-woo .wd-my-account-sidebar .wd-sidebar { margin-top: 16px; }
body.rv-woo .rv-acc-profile { position: relative; overflow: hidden; box-shadow: 0 22px 40px -28px rgb(2 44 60 / 80%); }
body.rv-woo .rv-acc-profile::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(rgb(255 255 255 / 10%) 1px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); mask-image: linear-gradient(120deg, transparent 30%, #000); }
body.rv-woo .rv-acc-profile > * { position: relative; z-index: 1; }
body.rv-woo .rv-acc-av { box-shadow: 0 0 0 3px rgb(255 255 255 / 14%), 0 12px 22px -12px rgb(232 163 61 / 90%); }
body.rv-woo .woocommerce-MyAccount-navigation ul.wd-nav-my-acc { display: block; }
body.rv-woo .woocommerce-MyAccount-navigation li a .nav-link-text { flex: 1 1 auto; min-width: 0; }
body.rv-woo .woocommerce-MyAccount-navigation li.wd-active a { color: #fff; background: var(--w-n); box-shadow: inset -3px 0 0 var(--w-s), 0 10px 20px -14px rgb(2 44 60 / 80%); }
body.rv-woo .woocommerce-MyAccount-navigation li.wd-active a::before { opacity: 1; color: var(--w-s2); }
body.rv-woo .woocommerce-MyAccount-navigation li a::after { content: ""; flex: none; width: 7px; height: 7px; margin-inline-start: auto; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .28; } /* v21: «‹» (points to the link in RTL); border-inline-start drew «⌄» */

/* phones + tablets: the menu is one row of chips that scrolls sideways */
@media (max-width: 999px) {
	body.rv-woo .rv-acc-profile { border-radius: 22px; }
	body.rv-woo .woocommerce-MyAccount-navigation { position: relative; margin: 12px -15px 0; }
	body.rv-woo .woocommerce-MyAccount-navigation ul, body.rv-woo .woocommerce-MyAccount-navigation ul.wd-nav-my-acc {
		display: flex !important; flex-wrap: nowrap !important; align-items: stretch; gap: 8px; width: auto; margin: 0; padding: 4px 15px 10px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity; scroll-padding-inline: 15px; scrollbar-width: none; background: none; border: 0; border-radius: 0; box-shadow: none;
	}
	body.rv-woo .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.rv-woo .woocommerce-MyAccount-navigation li { flex: 0 0 auto; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; scroll-snap-align: start; }
	body.rv-woo .woocommerce-MyAccount-navigation li a { min-height: 44px; padding: 0 16px 0 14px; gap: 8px; border-radius: 999px; white-space: nowrap; font-size: 13.5px; background: #fff; border: 1px solid var(--w-line); box-shadow: 0 8px 16px -14px rgb(2 44 60 / 60%); }
	body.rv-woo .woocommerce-MyAccount-navigation li a::after { content: none; }
	body.rv-woo .woocommerce-MyAccount-navigation li a::before { width: 18px; height: 18px; }
	body.rv-woo .woocommerce-MyAccount-navigation li.is-active a, body.rv-woo .woocommerce-MyAccount-navigation li.wd-active a { border-color: var(--w-n); box-shadow: 0 12px 20px -14px rgb(2 44 60 / 90%); }
	body.rv-woo .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { border-color: #F3C9C4; background: #FEF3F2; }
	/* soft edges tell there is more to scroll */
	body.rv-woo .woocommerce-MyAccount-navigation::before, body.rv-woo .woocommerce-MyAccount-navigation::after { content: ""; position: absolute; top: 0; bottom: 10px; width: 22px; z-index: 2; pointer-events: none; }
	body.rv-woo .woocommerce-MyAccount-navigation::before { inset-inline-start: 0; background: linear-gradient(to left, #F3F6F7, transparent); }
	body.rv-woo .woocommerce-MyAccount-navigation::after { inset-inline-end: 0; background: linear-gradient(to right, #F3F6F7, transparent); }
}

/* ---------- dashboard (woocommerce/myaccount/dashboard.php) ---------- */
body.rv-woo .rv-dash { display: grid; gap: 18px; }
body.rv-woo .rv-dash__hello { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
body.rv-woo .rv-dash__hi { margin: 0; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 800; line-height: 1.7; color: var(--w-n); }
body.rv-woo .rv-dash__hi b { color: #B5761A; }
body.rv-woo .rv-dash__sub { margin: 2px 0 0; font-size: 13.5px; color: var(--w-mut); }
body.rv-woo .rv-dash__stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.rv-woo .rv-dash__stats li { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; margin: 0; padding: 10px 16px 10px 12px; border-radius: 18px; background: var(--w-soft); border: 1px solid var(--w-line2); }
body.rv-woo .rv-dash__si { grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #F2C06A; background: linear-gradient(150deg, #164C61, #022C3C); }
body.rv-woo .rv-dash__stats b { font-size: 19px; font-weight: 900; line-height: 1.3; color: var(--w-n); }
body.rv-woo .rv-dash__stats small { font-size: 12px; line-height: 1.4; color: var(--w-mut); }
body.rv-woo .rv-dash__trip { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; padding: 16px; border-radius: 24px; color: #fff;
	background: radial-gradient(80% 140% at 100% 0%, rgb(232 163 61 / 28%), transparent 60%), linear-gradient(150deg, #0B4458, #022C3C 65%); box-shadow: 0 26px 46px -32px rgb(2 44 60 / 90%); }
body.rv-woo .rv-dash__trip::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgb(255 255 255 / 10%) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
body.rv-woo .rv-dash__trip-img { flex: none; width: 104px; height: 104px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 3px rgb(255 255 255 / 12%); }
body.rv-woo .rv-dash__trip-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.rv-woo .rv-dash__trip-tx { flex: 1 1 260px; min-width: 0; }
body.rv-woo .rv-dash__trip-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; font-weight: 700; color: #F7D08A; }
body.rv-woo .rv-dash__trip-k .rv-acc-i { width: 17px; height: 17px; }
body.rv-woo .rv-dash__trip-k em { font-style: normal; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #022C3C; background: linear-gradient(135deg, #F7C873, #E8A33D); }
body.rv-woo .rv-dash .rv-dash__trip h3 { display: block; margin: 6px 0 2px; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); font-weight: 800; line-height: 1.7; color: #fff; }
body.rv-woo .rv-dash .rv-dash__trip h3::before { content: none; }
body.rv-woo .rv-dash__trip-m { margin: 0; font-size: 13px; color: rgb(255 255 255 / 80%); }
body.rv-woo .rv-dash__trip-act { display: flex; flex-wrap: wrap; gap: 10px; }
body.rv-woo .rv-dash__trip a.rv-dash__btn { min-height: 46px; padding: 0 20px; border-radius: 14px; font-size: 14px; font-weight: 800; text-transform: none; color: #fff !important; background: rgb(255 255 255 / 9%) !important; border: 1px solid rgb(255 255 255 / 22%) !important; box-shadow: none !important; }
body.rv-woo .rv-dash__trip a.rv-dash__btn:hover { background: rgb(255 255 255 / 16%) !important; }
body.rv-woo .rv-dash__trip a.rv-dash__btn--gold { color: #022C3C !important; background: linear-gradient(135deg, #F7C873, #E8A33D) !important; border-color: transparent !important; box-shadow: 0 14px 26px -14px rgb(232 163 61 / 90%) !important; }
body.rv-woo .rv-dash .rv-acc-tiles { margin-top: 0; }
body.rv-woo .rv-acc-tile { background: #fff; border-color: var(--w-line); box-shadow: 0 12px 24px -22px rgb(2 44 60 / 55%); }
body.rv-woo .rv-acc-tile-ic { color: #F2C06A; background: linear-gradient(150deg, #164C61, #022C3C); border: 0; }
body.rv-woo .rv-dash__recent { padding: 16px; border-radius: 22px; background: var(--w-soft); border: 1px solid var(--w-line2); }
body.rv-woo .rv-dash__recent header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
body.rv-woo .rv-dash .rv-dash__recent h3 { margin: 0; font-size: 16px; }
body.rv-woo .rv-dash__recent header a { font-size: 13px; font-weight: 700; color: #8A5A12; text-decoration: none; }
body.rv-woo .rv-dash__recent ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.rv-woo .rv-dash__recent li { margin: 0; }
body.rv-woo .rv-dash__recent li a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; text-decoration: none; background: #fff; border: 1px solid var(--w-line); transition: border-color .2s, transform .2s; }
body.rv-woo .rv-dash__recent li a:hover { border-color: var(--w-s); transform: translateY(-1px); }
body.rv-woo .rv-dash__o-n { flex: none; min-width: 54px; padding: 4px 8px; border-radius: 10px; font-size: 13px; font-weight: 800; text-align: center; color: var(--w-n); background: var(--w-n50); }
body.rv-woo .rv-dash__o-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.7; }
body.rv-woo .rv-dash__o-t b { font-size: 14px; font-weight: 800; color: var(--w-n); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.rv-woo .rv-dash__o-t small { font-size: 12px; color: var(--w-mut); }
body.rv-woo .rv-dash__o-s { flex: none; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; color: #5B6E77; background: #EEF3F5; }
body.rv-woo .rv-dash__o-s.is-processing, body.rv-woo .rv-dash__o-s.is-completed { color: #14532D; background: #E3F5EA; }
body.rv-woo .rv-dash__o-s.is-on-hold, body.rv-woo .rv-dash__o-s.is-pending { color: #8A5A12; background: #FDF3E1; }
body.rv-woo .rv-dash__o-s.is-cancelled, body.rv-woo .rv-dash__o-s.is-failed, body.rv-woo .rv-dash__o-s.is-refunded { color: #B42318; background: #FEEFEC; }
@media (max-width: 600px) {
	body.rv-woo .rv-dash__stats { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
	body.rv-woo .rv-dash__stats li { grid-template-columns: minmax(0, 1fr); justify-items: start; row-gap: 2px; padding: 10px; }
	body.rv-woo .rv-dash__si { grid-row: auto; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 4px; }
	body.rv-woo .rv-dash__trip { border-radius: 20px; padding: 14px; }
	body.rv-woo .rv-dash__trip-img { width: 72px; height: 72px; border-radius: 14px; }
	body.rv-woo .rv-dash__trip-tx { flex-basis: 0; }
	body.rv-woo .rv-dash__trip-act { width: 100%; }
	body.rv-woo .rv-dash__trip a.rv-dash__btn { flex: 1 1 0; padding: 0 10px; font-size: 13.5px; }
	body.rv-woo .rv-dash__recent li a { flex-wrap: wrap; gap: 6px 10px; }
	body.rv-woo .rv-dash__o-t { flex-basis: 60%; }
}

/* ---------- cart, checkout, wishlist, compare: finishing touches ---------- */
body.rv-woo .cart_totals, body.rv-woo #order_review, body.rv-woo .woocommerce-checkout-review-order { border-radius: 22px; }
body.rv-woo .cart-collaterals .cart_totals { position: relative; overflow: hidden; }
body.rv-woo .cart-collaterals .cart_totals::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, #F7C873, #E8A33D); }
body.rv-woo .wd-empty-page, body.rv-woo .cart-empty.wd-empty-page, body.rv-woo .wd-empty-wishlist, body.rv-woo .wd-empty-compare { border-radius: 24px; }
body.rv-woo .return-to-shop .button, body.rv-woo .wd-empty-page-text + .return-to-shop .button { border-radius: 14px; }
@media (max-width: 768px) {
	body.rv-woo .woocommerce-checkout #order_review, body.rv-woo .cart-collaterals .cart_totals { padding: 16px; }
	body.rv-woo .woocommerce-checkout .form-row { margin-bottom: 12px; }
	.rv-whero__steps li { padding: 5px 12px 5px 6px; font-size: 12.5px; }
	.rv-whero__steps li i { width: 24px; height: 24px; }
	.rv-whero + .wd-content-layout::before, .rv-whero ~ .content-layout-wrapper::before { border-radius: 22px 22px 0 0; }
}
/* WooCommerce's own account floats (when its layout stylesheet is loaded) must not squeeze our columns */
body.rv-woo .wd-my-account-sidebar .woocommerce-MyAccount-navigation, body.rv-woo .wd-my-account-wrapper .woocommerce-MyAccount-content { float: none; width: auto; }

/* checkout on phones: «سفارش شما» was three boxes deep (card → review → Woodmart table wrapper) and the total was cut off */
body.rv-woo #order_review .wd-table-wrapper { padding: 0 !important; }
body.rv-woo .woocommerce-checkout-review-order-table tr.order-total th, body.rv-woo .woocommerce-checkout-review-order-table tr.cart-subtotal th { flex: 0 0 auto; }
body.rv-woo .woocommerce-checkout-review-order-table tr.order-total td, body.rv-woo .woocommerce-checkout-review-order-table tr.cart-subtotal td { flex: 1 1 0; min-width: 0; text-align: end; }
body.rv-woo .woocommerce-checkout-review-order-table tr.order-total td strong { display: inline; }
@media (max-width: 768px) {
	body.rv-woo .checkout-order-review { padding: 14px !important; }
	body.rv-woo .checkout-order-review #order_review, body.rv-woo .woocommerce-checkout .checkout-order-review #order_review { margin-top: 0; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
	body.rv-woo .woocommerce-checkout-review-order-table th, body.rv-woo .woocommerce-checkout-review-order-table td { padding: 12px !important; }
	body.rv-woo .woocommerce-checkout-review-order-table tr.order-total td, body.rv-woo .woocommerce-checkout-review-order-table tr.order-total td .amount { font-size: 17px; }
}

/* cart on phones (Woodmart's responsive table): each tour is one tidy card — photo, name, then price / count / total */
@media (max-width: 768px) {
	body.rv-woo .woocommerce-cart-form { overflow: visible; }
	body.rv-woo .woocommerce-cart-form table.cart, body.rv-woo .woocommerce-cart-form table.cart tbody { display: block; width: 100%; border: 0; background: none; box-shadow: none; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item { position: relative; display: grid !important; grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; margin: 0 0 12px; padding: 14px !important; border: 1px solid var(--w-line); border-radius: 20px; background: #fff; box-shadow: var(--w-sh); }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td:not(.product-remove) { position: static !important; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td { width: auto !important; min-width: 0; min-height: 0; margin: 0; padding: 0 !important; border: 0 !important; background: none; text-align: start; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-thumbnail { grid-column: 1; grid-row: 1 / span 2; display: block; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-thumbnail a { display: block; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-thumbnail img { display: block; width: 84px; height: 84px; max-width: none; object-fit: cover; border-radius: 16px; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-name { grid-column: 2; grid-row: 1; display: block; padding-inline-end: 40px !important; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-name::before { content: none !important; display: none !important; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-name a { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.8; white-space: normal; color: var(--w-n); }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-remove { position: absolute !important; top: 12px !important; left: 12px !important; right: auto !important; bottom: auto !important; display: block; width: auto !important; z-index: 2; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-price { grid-column: 2; grid-row: 2; align-self: end; display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-size: 13px; color: var(--w-mut); }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-price::before { font-weight: 600; color: var(--w-mut); }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-quantity, body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-subtotal { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px !important; border-top: 1px dashed var(--w-line) !important; }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-subtotal { margin-top: 10px; padding-top: 10px !important; font-weight: 900; color: var(--w-n); }
	body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-quantity::before, body.rv-woo .woocommerce-cart-form table.cart tr.cart_item > td.product-subtotal::before { font-weight: 700; color: var(--w-ink); }
	body.rv-woo .woocommerce-cart-form table.cart tr.wd-cart-action-row, body.rv-woo .woocommerce-cart-form table.cart tr:has(> td.actions) { display: block; padding: 0 !important; border: 0; }
	body.rv-woo .woocommerce-cart-form table.cart td.actions { display: block; width: auto; padding: 14px !important; border: 1px solid var(--w-line) !important; border-radius: 20px; background: #fff; }
	body.rv-woo .woocommerce-cart-form table.cart td.actions .cart-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; }
	body.rv-woo .woocommerce-cart-form table.cart td.actions .coupon { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch; gap: 8px; width: 100%; max-width: none; margin: 0; }
	body.rv-woo .woocommerce-cart-form table.cart td.actions .coupon .input-text { flex: 1 1 0; width: 0 !important; min-width: 0 !important; max-width: none; margin: 0; }
	body.rv-woo .woocommerce-cart-form table.cart td.actions .coupon .button { flex: none; margin: 0; padding-inline: 16px; white-space: nowrap; }
	body.rv-woo .woocommerce-cart-form table.cart td.actions .cart-actions > .button { width: 100%; margin: 0; }
	/* booking steps: one line, scrolls if a phone is very narrow */
	.rv-whero__steps { flex-wrap: nowrap; gap: 6px; margin-inline: -4px; padding: 0 4px 2px; overflow-x: auto; scrollbar-width: none; }
	.rv-whero__steps::-webkit-scrollbar { display: none; }
	.rv-whero__steps li { flex: none; gap: 6px; padding: 4px 10px 4px 5px; font-size: 12px; white-space: nowrap; }
}

/* v21 — dashboard: digital card links of the other upcoming bookings */
body.rv-woo .rv-dash__cards { display: grid; gap: 14px; }
body.rv-woo .rv-dash__cards-o { padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--w-line); box-shadow: 0 12px 24px -22px rgb(2 44 60 / 55%); }
body.rv-woo .rv-dash__cards-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--w-n); }
body.rv-woo .rv-dash__cards-k .rv-acc-i { width: 18px; height: 18px; color: var(--w-s); }
body.rv-woo .rv-dash__cards-k span { font-size: 12px; font-weight: 700; color: var(--w-mut); }
body.rv-woo .rv-dash__cards-o .rvac { margin: 0; }
@media (max-width: 520px) { body.rv-woo .rv-dash__cards-o { padding: 12px; border-radius: 18px; } }

/* v21: empty compare list — Woodmart prints it outside .woocommerce, so it had the orange Woodmart button and no card */
body.rv-woo .wd-empty-compare { max-width: 640px; margin: 0 auto; padding: 32px 22px 28px; border-radius: 24px; background: #fff; border: 1px dashed #CFDDE3; text-align: center; }
body.rv-woo a.wd-empty-block-btn { margin-top: 8px; }

/* v22 (N-d): cart quantity — one rounded stepper instead of three separate boxes */
body.rv-woo table.cart .quantity { display: inline-flex; align-items: stretch; height: 44px; border: 1px solid rgb(2 44 60 / 16%); border-radius: 12px; overflow: hidden; background: #fff; vertical-align: middle; }
body.rv-woo table.cart .quantity .qty { width: 52px; min-height: 0; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-weight: 700; color: #022C3C; -moz-appearance: textfield; }
body.rv-woo table.cart .quantity .qty::-webkit-inner-spin-button, body.rv-woo table.cart .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.rv-woo table.cart .quantity .qty:focus { outline: none; }
body.rv-woo table.cart .quantity:focus-within { border-color: #E8A33D; box-shadow: 0 0 0 3px rgb(232 163 61 / 20%); }
body.rv-woo table.cart .quantity .minus, body.rv-woo table.cart .quantity .plus { flex: 0 0 38px; width: 38px; min-height: 0; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgb(2 44 60 / 4%); color: #022C3C; font-size: 18px; line-height: 1; box-shadow: none; cursor: pointer; transition: background .15s; }
body.rv-woo table.cart .quantity .minus:hover, body.rv-woo table.cart .quantity .plus:hover { background: rgb(232 163 61 / 18%); }

/* ==========================================================================
   v30 — «سفرهای من»: one card per trip (myaccount/orders.php)
   ========================================================================== */
body.rv-woo .rv-trips__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
body.rv-woo .rv-trips__h { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--w-ink); }
body.rv-woo .rv-trips__h::before { content: none !important; }
body.rv-woo .rv-trips__sub { margin: 0; font-size: 13px; color: var(--w-mut); }
body.rv-woo .rv-trips__q { display: flex; align-items: center; gap: 4px; width: min(320px, 100%); padding: 4px 4px 4px 0; border: 1px solid var(--w-line); border-radius: 999px; background: #fff; }
body.rv-woo .rv-trips__q label { flex: 1; min-width: 0; margin: 0; }
body.rv-woo .rv-trips__q input { width: 100%; height: 38px; padding: 0 14px; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 13px; }
body.rv-woo .rv-trips__q button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--w-n); color: #fff; cursor: pointer; }
body.rv-woo .rv-trips__q button svg { width: 17px; height: 17px; }
body.rv-woo .rv-trips__q:focus-within { border-color: var(--w-n); }

body.rv-woo .rv-trips__tabs { display: flex; gap: 4px; margin: 0 0 16px; border-bottom: 1px solid var(--w-line); overflow-x: auto; scrollbar-width: none; }
body.rv-woo .rv-trips__tabs a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 700; color: var(--w-mut); text-decoration: none; white-space: nowrap; }
body.rv-woo .rv-trips__tabs a span { font-size: 12px; font-weight: 600; opacity: .85; }
body.rv-woo .rv-trips__tabs a:hover { color: var(--w-ink); }
body.rv-woo .rv-trips__tabs a.is-on { color: var(--w-ink); }
body.rv-woo .rv-trips__tabs a.is-on::after { content: ""; position: absolute; inset-inline: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--w-s); }

body.rv-woo .rv-trips__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.rv-woo .rv-trips__list > li { margin: 0; }
body.rv-woo .rv-trip { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--w-line); border-radius: 18px; background: #fff; box-shadow: var(--w-sh); }
body.rv-woo .rv-trip--past, body.rv-woo .rv-trip--closed { background: var(--w-soft); box-shadow: none; }
body.rv-woo .rv-trip__date { flex: none; align-self: flex-start; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; min-height: 72px; padding: 8px 4px; border-radius: 14px; background: var(--w-n); color: #fff; line-height: 1.25; text-align: center; }
body.rv-woo .rv-trip__date b { font-size: 22px; font-weight: 800; }
body.rv-woo .rv-trip__date span { font-size: 12px; font-weight: 700; }
body.rv-woo .rv-trip__date small { font-size: 11px; opacity: .7; }
body.rv-woo .rv-trip__date svg { width: 24px; height: 24px; }
body.rv-woo .rv-trip--past .rv-trip__date, body.rv-woo .rv-trip--closed .rv-trip__date { background: #C9D3D8; color: var(--w-ink); }
body.rv-woo .rv-trip--now .rv-trip__date { background: var(--w-s); color: var(--w-n); }
body.rv-woo .rv-trip__body { flex: 1 1 auto; min-width: 0; }
body.rv-woo .rv-trip__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; }
body.rv-woo .rv-trip__st { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
body.rv-woo .rv-trip__st.is-ok { background: #E3F4EA; color: var(--w-ok); }
body.rv-woo .rv-trip__st.is-now { background: var(--w-s50); color: var(--w-s7); }
body.rv-woo .rv-trip__st.is-pay { background: #FEF0C7; color: #93370D; }
body.rv-woo .rv-trip__st.is-wait { background: var(--w-n50); color: var(--w-n); }
body.rv-woo .rv-trip__st.is-done { background: #E6EBEE; color: var(--w-mut); }
body.rv-woo .rv-trip__st.is-closed { background: #FEE4E2; color: var(--w-err); }
body.rv-woo .rv-trip__cd { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--w-s7); }
body.rv-woo .rv-trip__cd svg { width: 14px; height: 14px; }
body.rv-woo .rv-trip__t { margin: 0 0 4px; font-size: 16px; font-weight: 800; line-height: 1.6; color: var(--w-ink); }
body.rv-woo .rv-trip__t::before { content: none !important; }
body.rv-woo .rv-trip__t a { color: inherit; text-decoration: none; }
body.rv-woo .rv-trip__t a:hover { color: var(--w-s7); }
body.rv-woo .rv-trip__m { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0 0 10px; font-size: 12.5px; color: var(--w-mut); }
body.rv-woo .rv-trip__m > span + span::before { content: "،"; margin-inline: 0 6px; }
body.rv-woo .rv-trip__m .woocommerce-Price-amount { font-weight: 700; color: var(--w-ink); }

body.rv-woo .rv-trip__pax { margin: 0 0 10px; border: 1px solid var(--w-line); border-radius: 14px; background: #fff; }
body.rv-woo .rv-trip__pax > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-size: 13.5px; font-weight: 700; color: var(--w-ink); list-style: none; cursor: pointer; }
body.rv-woo .rv-trip__pax > summary::-webkit-details-marker { display: none; }
body.rv-woo .rv-trip__pax > summary svg { width: 18px; height: 18px; flex: none; }
body.rv-woo .rv-trip__pax > summary svg:last-child { margin-inline-start: auto; color: var(--w-mut); transition: transform .2s; }
body.rv-woo .rv-trip__pax[open] > summary svg:last-child { transform: rotate(180deg); }
body.rv-woo .rv-trip__pax > summary b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--w-soft); font-size: 12px; }
body.rv-woo .rv-trip__pax .rvac { margin: 0; padding: 0 10px 10px; border: 0; box-shadow: none; background: none; }
body.rv-woo .rv-trip__acts { display: flex; flex-wrap: wrap; gap: 8px; }
body.rv-woo .rv-trip__acts .button { min-height: 40px; margin: 0; }

body.rv-woo .rv-trips__empty { padding: 36px 16px; border: 1px dashed var(--w-line); border-radius: 18px; text-align: center; }
body.rv-woo .rv-trips__empty > span { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 16px; background: var(--w-s50); color: var(--w-s7); }
body.rv-woo .rv-trips__empty h3 { margin: 0 0 6px; font-size: 16px; }
body.rv-woo .rv-trips__empty h3::before { content: none !important; }
body.rv-woo .rv-trips__empty p { margin: 0 0 14px; font-size: 13px; color: var(--w-mut); }
body.rv-woo .rv-trips__empty--sm { padding: 22px 16px; }
body.rv-woo .rv-trips__pg { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
body.rv-woo .rv-trips__pg a { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--w-line); border-radius: 12px; background: #fff; color: var(--w-ink); font-weight: 700; text-decoration: none; }
body.rv-woo .rv-trips__pg a.is-on { background: var(--w-n); border-color: var(--w-n); color: #fff; }
@media (max-width: 520px) {
	body.rv-woo .rv-trip { flex-direction: column; gap: 10px; padding: 12px; }
	/* phones: the date is one line on top, the text gets the full width */
	body.rv-woo .rv-trip__date { flex-direction: row; align-self: flex-start; gap: 5px; width: auto; min-height: 0; padding: 5px 12px; border-radius: 10px; }
	body.rv-woo .rv-trip__date b, body.rv-woo .rv-trip__date span { font-size: 13.5px; }
	body.rv-woo .rv-trip__date small { font-size: 12px; }
	body.rv-woo .rv-trip__acts .button { flex: 1 1 0; }
	body.rv-woo .rv-trips__q { width: 100%; }
	body.rv-woo .rv-trip__pax > summary { gap: 6px; padding: 0 10px; font-size: 13px; }
	body.rv-woo .rv-trip__pax > summary span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	body.rv-woo .rv-trip__pax .rvac { padding: 0 6px 6px; }
}
body.rv-woo .rv-trips a.rv-dash__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 13.5px; font-weight: 800; text-transform: none; color: var(--w-n) !important; background: #fff !important; border: 1px solid var(--w-line) !important; box-shadow: none !important; text-decoration: none; }
body.rv-woo .rv-trips a.rv-dash__btn:hover { border-color: var(--w-n) !important; }
body.rv-woo .rv-trips a.rv-dash__btn--gold { color: #022C3C !important; background: linear-gradient(135deg, #F7C873, #E8A33D) !important; border-color: transparent !important; }

/* ==========================================================================
   v32 — account area on phones (checked on the live site at 320 and 360px)
   ========================================================================== */
/* the dashboard grid sized itself to the longest one-line tour name in «آخرین سفارش‌ها» (419px in a 256px box):
   every section ran off the left edge and was cut. One column = the box width. */
body.rv-woo .rv-dash, body.rv-woo .rv-dash__cards, body.rv-woo .rv-dash__recent ul { grid-template-columns: minmax(0, 1fr); }
body.rv-woo .rv-dash > * { min-width: 0; }

/* link that replaces the other bookings' card lists on the dashboard */
body.rv-woo .rv-dash__more { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--w-line); border-radius: 18px; background: #fff; text-decoration: none; }
body.rv-woo .rv-dash__more .rv-acc-i { flex: none; width: 22px; height: 22px; color: var(--w-s); }
body.rv-woo .rv-dash__more span { display: flex; flex-direction: column; min-width: 0; line-height: 1.7; }
body.rv-woo .rv-dash__more b { font-size: 14px; font-weight: 800; color: var(--w-n); }
body.rv-woo .rv-dash__more small { font-size: 12px; color: var(--w-mut); }
body.rv-woo .rv-dash__more:hover { border-color: var(--w-s); }

/* WooCommerce notice with a button («تایید آدرس ایمیل»): the floated button cut the sentence into pieces */
body.rv-woo .woocommerce-info:has(> .button), body.rv-woo .woocommerce-message:has(> .button) { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
body.rv-woo .woocommerce-info > .button, body.rv-woo .woocommerce-message > .button { float: none !important; margin: 0 !important; }

/* trips: the «،» separator now ends a line instead of starting the next one */
body.rv-woo .rv-trip__m > span + span::before { content: none; }
body.rv-woo .rv-trip__m > span:not(:last-child)::after { content: "،"; margin-inline: 0 6px; }

@media (max-width: 999px) {
	/* the profile card only on the dashboard: on the other pages it pushed the content a screen down */
	body.rv-woo .rv-acc-profile--inner { display: none !important; }
	body.rv-woo .woocommerce-MyAccount-navigation { margin-top: 0; }
}

@media (max-width: 640px) {
	/* passenger rows (digital card): the badge took the name's line — «قند…» and one word per line.
	   Name and hint get the full line; the badge or the buttons go under them. */
	body.rv-woo .rvac-row { flex-wrap: wrap; row-gap: 8px; }
	body.rv-woo .rvac-row .rvac-who { flex: 1 1 calc(100% - 54px); }
	body.rv-woo .rvac-row .rvac-chip { margin-inline-start: 54px; }
	body.rv-woo .rvac-row .rvac-acts { flex: 1 1 100%; flex-wrap: wrap; }

	/* three figures side by side (the third used to drop to its own row) */
	body.rv-woo .rv-dash__stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px; }
	body.rv-woo .rv-dash__stats li { padding: 8px; }
	body.rv-woo .rv-dash__stats small { font-size: 11.5px; line-height: 1.5; }

	/* quick tiles: one compact row each (icon + name) — 7 tall cards were longer than the screen and repeated the menu */
	body.rv-woo .rv-acc-tiles { grid-template-columns: minmax(0, 1fr) !important; gap: 6px; }
	body.rv-woo .rv-acc-tile { flex-direction: row; align-items: center; gap: 10px; padding: 8px 12px !important; border-radius: 14px; }
	body.rv-woo .rv-acc-tile-ic { width: 34px; height: 34px; margin: 0; border-radius: 10px; }
	body.rv-woo .rv-acc-tile-ic svg { width: 18px; height: 18px; }
	body.rv-woo .rv-acc-tile b { font-size: 14px; }
	body.rv-woo .rv-acc-tile small { display: none; }
}
/* v32: touch targets and the smallest text found by the audit */
body.rv-woo .rv-dash__recent header a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
body.rv-woo .rv-acc-lv { min-height: 36px; }
body.rv-woo .rahvan-tour-heading-label { font-size: 12px !important; }

/* v33 — empty cart: title, hint text and button read as ONE card (they used to be a card + loose text below it) */
body.rv-woo .woocommerce > .cart-empty:not(:last-child) { margin-bottom: 0 !important; padding-bottom: 10px !important; border-bottom: 0 !important; border-radius: 24px 24px 0 0; }
body.rv-woo .woocommerce > .cart-empty + .wd-empty-block-text,
body.rv-woo .woocommerce > .cart-empty ~ .return-to-shop {
	max-width: 560px; margin: 0 auto !important; padding: 0 22px 14px; background: #fff;
	border: 1px dashed #CFDDE3; border-top: 0; border-bottom: 0; text-align: center; color: var(--w-mut, #5b6b73); font-size: 14px; line-height: 2;
}
body.rv-woo .woocommerce > .cart-empty ~ .return-to-shop { padding-bottom: 26px; border-bottom: 1px dashed #CFDDE3; border-radius: 0 0 24px 24px; margin-bottom: 16px !important; }
body.rv-woo .woocommerce > .cart-empty ~ .return-to-shop .button { margin: 0; min-width: 180px; }

/* ==========================================================================
   v34 — CHECKOUT LAYOUT
   desktop:  [جزئیات صورتحساب] [سفارش شما + پرداخت + ثبت سفارش (sticky)]
             [اطلاعات مسافران ] [                                    ]
   phones:   صورتحساب → سفارش شما → مسافران → کد معرف + پرداخت + ثبت سفارش (the button stays last)
   ========================================================================== */
body.rv-woo form.woocommerce-checkout { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; margin: 0; }
body.rv-woo form.woocommerce-checkout > * { width: auto !important; max-width: none !important; min-width: 0; margin: 0 !important; float: none !important; }
body.rv-woo form.woocommerce-checkout #customer_details { grid-area: bill; }
body.rv-woo form.woocommerce-checkout .rahvan-passenger-section { grid-area: pax; }
body.rv-woo form.woocommerce-checkout .checkout-order-review { grid-area: sum; }
body.rv-woo form.woocommerce-checkout .rahvan-passenger-section .rahvan-passengers-list { grid-template-columns: minmax(0, 1fr) !important; }

@media (min-width: 1025px) {
	body.rv-woo form.woocommerce-checkout { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); grid-template-areas: "bill sum" "pax sum"; gap: 22px 26px; }
	body.rv-woo form.woocommerce-checkout .checkout-order-review { position: sticky; top: 96px; align-self: start; }
	body.rv-woo form.woocommerce-checkout .rahvan-passenger-section .rahvan-passengers-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; gap: 16px; }
}
@media (max-width: 1024.98px) {
	body.rv-woo form.woocommerce-checkout { grid-template-areas: "bill" "sumh" "sumt" "pax" "ref" "pay"; }
	/* the summary box opens up so its parts can sit in different places; WooCommerce still refreshes them in place */
	body.rv-woo form.woocommerce-checkout .checkout-order-review,
	body.rv-woo form.woocommerce-checkout .checkout-order-review #order_review { display: contents !important; }
	body.rv-woo form.woocommerce-checkout #order_review_heading { grid-area: sumh; margin: 6px 0 -8px !important; }
	body.rv-woo form.woocommerce-checkout #order_review > .wd-table-wrapper,
	body.rv-woo form.woocommerce-checkout #order_review > table.woocommerce-checkout-review-order-table { grid-area: sumt; }
	body.rv-woo form.woocommerce-checkout #order_review > .rvclub-ref { grid-area: ref; padding: 16px 18px; border: 1px solid var(--w-line); border-radius: 22px; background: #fff; box-shadow: var(--w-sh); }
	body.rv-woo form.woocommerce-checkout #order_review > #payment { grid-area: pay; padding: 18px; border: 1px solid var(--w-line); border-radius: 22px; background: #fff; box-shadow: var(--w-sh); }
	body.rv-woo form.woocommerce-checkout #order_review > .wd-table-wrapper { padding: 6px !important; border: 1px solid var(--w-line); border-radius: 22px; background: #fff; box-shadow: var(--w-sh); }
	body.rv-woo form.woocommerce-checkout #order_review > .wd-table-wrapper table { margin: 0; box-shadow: none; }
}

/* ---------- «قبلاً ثبت‌نام کرده‌اید؟» + «کد تخفیف دارید؟»: two tidy cards ---------- */
body.rv-woo .woocommerce-form-login-toggle, body.rv-woo .woocommerce-form-coupon-toggle { display: inline-block; width: calc(50% - 12px); margin: 0 0 14px; vertical-align: top; }
body.rv-woo .woocommerce-form-login-toggle { margin-inline-end: 10px; }
body.rv-woo .woocommerce-form-login-toggle .woocommerce-info, body.rv-woo .woocommerce-form-coupon-toggle .woocommerce-info {
	position: relative; display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: 100%; min-height: 64px; margin: 0 !important;
	padding: 14px 18px 14px 18px !important; padding-inline-start: 66px !important; border: 1px solid var(--w-line) !important; border-radius: 18px !important;
	background: #fff !important; box-shadow: var(--w-sh); color: var(--w-mut) !important; font-size: 13.5px; font-weight: 600; line-height: 1.6;
}
body.rv-woo .woocommerce-form-login-toggle .woocommerce-info::before, body.rv-woo .woocommerce-form-coupon-toggle .woocommerce-info::before {
	content: "" !important; position: absolute !important; inset-inline-start: 16px; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 !important; border-radius: 12px;
	background: var(--w-n50) no-repeat center / 20px; font-size: 0 !important;
}
body.rv-woo .woocommerce-form-login-toggle .woocommerce-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022C3C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
body.rv-woo .woocommerce-form-coupon-toggle .woocommerce-info::before { background-color: #FFF4E2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9761B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
body.rv-woo .woocommerce-form-login-toggle .woocommerce-info a, body.rv-woo .woocommerce-form-coupon-toggle .woocommerce-info a {
	display: inline-flex; align-items: center; margin: 0; padding: 0; border: 0 !important; color: var(--w-n) !important; font-weight: 900; text-decoration: none !important; box-shadow: none !important;
}
body.rv-woo .woocommerce-form-login-toggle .woocommerce-info a::after, body.rv-woo .woocommerce-form-coupon-toggle .woocommerce-info a::after { content: "←"; margin-inline-start: 6px; color: var(--w-a, #E8A33D); }
body.rv-woo form.checkout_coupon, body.rv-woo form.woocommerce-form-login.login { margin: 0 0 16px !important; }
@media (max-width: 767.98px) {
	body.rv-woo .woocommerce-form-login-toggle, body.rv-woo .woocommerce-form-coupon-toggle { display: block; width: 100%; margin: 0 0 10px; }
}

/* ==========================================================================
   v34 — «جزئیات و فاکتور» (view order)
   ========================================================================== */
body.rv-woo .rv-vo { margin: 0 0 18px; padding: 20px; border: 1px solid var(--w-line); border-radius: 22px; background: #fff; box-shadow: var(--w-sh); }
body.rv-woo .rv-vo__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--w-line); }
body.rv-woo .rv-vo__id { display: flex; flex-direction: column; gap: 2px; }
body.rv-woo .rv-vo__lbl { font-size: 12px; font-weight: 700; color: var(--w-mut); }
body.rv-woo .rv-vo .rv-vo__no { margin: 0 !important; padding: 0 !important; font-size: 24px !important; font-weight: 900; line-height: 1.3; color: var(--w-n); }
body.rv-woo .rv-vo .rv-vo__no::before { content: none !important; display: none !important; }
body.rv-woo .rv-vo__date { font-size: 13px; color: var(--w-mut); }
body.rv-woo .rv-vo__st { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; }
body.rv-woo .rv-vo__st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
body.rv-woo .rv-vo__st--ok { background: #E7F6EC; color: #1B7A3E; }
body.rv-woo .rv-vo__st--wait { background: #FFF4E2; color: #9A5B07; }
body.rv-woo .rv-vo__st--off { background: #F1F3F5; color: #6B7780; }
body.rv-woo .rv-vo__trip { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--w-line); }
body.rv-woo .rv-vo__img { flex: none; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
body.rv-woo .rv-vo__tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.rv-woo .rv-vo__tour { font-size: 15.5px; font-weight: 900; line-height: 1.6; color: var(--w-n); }
body.rv-woo .rv-vo__tour a { color: inherit; text-decoration: none; }
body.rv-woo .rv-vo__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; color: var(--w-mut); }
body.rv-woo .rv-vo__meta span { display: inline-flex; align-items: center; gap: 6px; }
body.rv-woo .rv-vo__meta .rv-icon { width: 16px; height: 16px; color: var(--w-n); }
body.rv-woo .rv-vo__sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 0; }
body.rv-woo .rv-vo__sum > div { padding: 12px 14px; border-radius: 14px; background: var(--w-soft); }
body.rv-woo .rv-vo__sum dt { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--w-mut); }
body.rv-woo .rv-vo__sum dd { margin: 0; font-size: 14px; font-weight: 800; color: var(--w-ink); }
body.rv-woo .rv-vo__sum .rv-vo__total { font-size: 18px; font-weight: 900; color: var(--w-n); }
body.rv-woo .rv-vo__pay { display: flex !important; width: 100%; margin-top: 14px; }
body.rv-woo .rv-vo-notes { margin: 0 0 18px; padding: 18px 20px; border: 1px solid var(--w-line); border-radius: 22px; background: #fff; }
body.rv-woo .rv-vo-notes h2 { margin: 0 0 10px !important; font-size: 16px !important; }
body.rv-woo .rv-vo-notes__list { margin: 0; padding: 0; list-style: none; }
body.rv-woo .rv-vo-notes__list li { padding: 10px 0; border-top: 1px solid var(--w-line2); }
body.rv-woo .rv-vo-notes__list time { font-size: 12px; font-weight: 700; color: var(--w-mut); }
body.rv-woo .rv-vo-notes__list p { margin: 4px 0 0; }
/* the items table: on phones every row becomes «name …… amount» */
@media (max-width: 600px) {
	body.rv-woo .woocommerce-order-details table.shop_table thead { display: none; }
	body.rv-woo .woocommerce-order-details table.shop_table,
	body.rv-woo .woocommerce-order-details table.shop_table tbody,
	body.rv-woo .woocommerce-order-details table.shop_table tfoot { display: block; width: 100%; }
	body.rv-woo .woocommerce-order-details table.shop_table tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--w-line2); }
	body.rv-woo .woocommerce-order-details table.shop_table tr:first-child { border-top: 0; }
	body.rv-woo .woocommerce-order-details table.shop_table td, body.rv-woo .woocommerce-order-details table.shop_table th { display: block; padding: 0 !important; border: 0 !important; background: none !important; font-size: 13.5px; text-align: start; }
	body.rv-woo .woocommerce-order-details table.shop_table td:last-child { flex: none; font-weight: 800; text-align: end; white-space: nowrap; }
	body.rv-woo .woocommerce-order-details table.shop_table tfoot tr:last-child { background: #FFF8EC; }
	body.rv-woo .rv-vo { padding: 16px; }
	body.rv-woo .rv-vo .rv-vo__no { font-size: 21px !important; }
}

/* v34 — account profile card: centred (avatar on top, name, mobile, club level) */
body.rv-woo .rv-acc-profile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 18px 18px; text-align: center; }
body.rv-woo .rv-acc-av { width: 60px; height: 60px; margin-bottom: 4px; border-radius: 18px; font-size: 24px; }
body.rv-woo .rv-acc-who { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; }
body.rv-woo .rv-acc-who b { max-width: 100%; font-size: 17px; }
body.rv-woo .rv-acc-who span { text-align: center; direction: ltr; letter-spacing: .5px; }
body.rv-woo .rv-acc-lv { align-self: center; justify-self: center; margin-top: 6px; }

/* ==========================================================================
   v34 — «گالری عکس‌های من» (plugin markup rvg-*)
   ========================================================================== */
body.rv-woo .rvg { display: flex; flex-direction: column; gap: 16px; }
body.rv-woo .rvg-lead { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--w-mut); }
body.rv-woo .rvg-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
body.rv-woo .rvg-filter::-webkit-scrollbar { display: none; }
body.rv-woo .rvg-chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--w-line); border-radius: 999px; background: #fff; color: var(--w-ink); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
body.rv-woo .rvg-chip:hover { border-color: var(--w-n); }
body.rv-woo .rvg-chip.is-on { border-color: var(--w-n); background: var(--w-n); color: #fff; }
body.rv-woo .rvg-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 20px; border: 1px dashed #CFDDE3; border-radius: 22px; background: #fff; text-align: center; }
body.rv-woo .rvg-empty__ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px; border-radius: 20px; background: var(--w-n50); color: var(--w-n); }
body.rv-woo .rvg-empty__ic svg { width: 30px; height: 30px; }
body.rv-woo .rvg-empty b { font-size: 16px; font-weight: 900; color: var(--w-n); }
body.rv-woo .rvg-empty p { max-width: 420px; margin: 0 0 6px; font-size: 13.5px; line-height: 1.9; color: var(--w-mut); }
body.rv-woo .rvg-tour { padding: 16px; border: 1px solid var(--w-line); border-radius: 22px; background: #fff; box-shadow: var(--w-sh); }
body.rv-woo .rvg-tour__h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
body.rv-woo .rvg-tour__h img { flex: none; width: 48px; height: 48px; border-radius: 14px; object-fit: cover; }
body.rv-woo .rvg-tour .rvg-tour__h h3 { margin: 0 !important; padding: 0 !important; font-size: 15.5px !important; font-weight: 900; line-height: 1.6; color: var(--w-n); }
body.rv-woo .rvg-tour .rvg-tour__h h3::before { content: none !important; display: none !important; }
body.rv-woo .rvg-run { padding: 14px; border-radius: 16px; background: var(--w-soft); }
body.rv-woo .rvg-run + .rvg-run { margin-top: 10px; }
body.rv-woo .rvg-run__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
body.rv-woo .rvg-run__h b { font-size: 13.5px; font-weight: 900; color: var(--w-n); }
body.rv-woo .rvg-run__h span { font-size: 12px; font-weight: 700; color: var(--w-mut); }
body.rv-woo .rvg-sec + .rvg-sec { margin-top: 12px; }
body.rv-woo .rvg-sec__t { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12.5px; font-weight: 800; color: var(--w-ink); }
body.rv-woo .rvg-sec__t em { padding: 0 8px; border-radius: 999px; background: #fff; font-size: 11.5px; font-style: normal; color: var(--w-mut); }
body.rv-woo .rvg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 768px) { body.rv-woo .rvg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } }
body.rv-woo .rvg-ph { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #DDE6EA; }
body.rv-woo .rvg-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
body.rv-woo .rvg-ph:hover img { transform: scale(1.05); }
body.rv-woo .rvg-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.rv-woo .rvg-pager span { font-size: 12.5px; font-weight: 700; color: var(--w-mut); }
body.rv-woo .rvg-pager a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--w-line); border-radius: 12px; background: #fff; color: var(--w-n); font-size: 13px; font-weight: 800; text-decoration: none; }
body.rv-woo .rvg-pager a[rel=next] { margin-inline-start: auto; border-color: var(--w-n); background: var(--w-n); color: #fff; }

/* ==========================================================================
   v34 — «مسافران من» (plugin markup, restyled)
   ========================================================================== */
body.rv-woo .rahvan-my-passengers { display: flex; flex-direction: column; gap: 14px; }
body.rv-woo .rahvan-my-passengers-header { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body.rv-woo .rahvan-my-passengers-header h2 { display: none !important; } /* the page title is already in the header */
body.rv-woo .rahvan-my-passengers-header p { position: relative; margin: 0 !important; padding: 12px 16px !important; padding-inline-start: 46px !important; border-radius: 16px; background: var(--w-n50) !important; color: var(--w-n) !important; font-size: 13px; line-height: 1.9; }
body.rv-woo .rahvan-my-passengers-header p::before { content: ""; position: absolute; inset-inline-start: 16px; top: 14px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022C3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") no-repeat center / contain; }
body.rv-woo .rahvan-saved-passengers-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.rv-woo .rahvan-saved-passengers-tools > p { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.rv-woo .rahvan-saved-passengers-tools input, body.rv-woo .rahvan-saved-passengers-tools select { width: 100%; height: 48px; margin: 0 !important; border-radius: 14px !important; }
body.rv-woo .rahvan-saved-passenger-filter-wrap { min-width: 150px; }
body.rv-woo #rahvan-saved-passenger-no-results { grid-column: 1 / -1; font-size: 13px; color: var(--w-mut); }
body.rv-woo .rahvan-saved-passengers-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 900px) { body.rv-woo .rahvan-saved-passengers-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.rv-woo .rahvan-saved-passengers-list .rahvan-saved-passenger { display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; margin: 0 !important; padding: 14px !important; border: 1px solid var(--w-line) !important; border-radius: 18px !important; background: #fff !important; box-shadow: var(--w-sh) !important; text-align: start !important; }
body.rv-woo .rahvan-saved-passenger-avatar { display: grid !important; place-items: center; width: 46px !important; height: 46px !important; margin: 0 !important; border-radius: 14px !important; background: var(--w-n50) !important; color: var(--w-n) !important; font-size: 18px !important; font-weight: 900; }
body.rv-woo .rahvan-saved-passenger > div:first-of-type { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; }
body.rv-woo .rahvan-saved-passenger strong { flex-basis: 100%; font-size: 15px; font-weight: 900; color: var(--w-n); }
body.rv-woo .rahvan-saved-passenger-nid, body.rv-woo .rahvan-saved-passenger-relation, body.rv-woo .rahvan-saved-passenger-birthdate { display: inline-flex !important; align-items: center; margin: 0 !important; padding: 2px 10px !important; border: 0 !important; border-radius: 999px !important; background: var(--w-soft) !important; color: var(--w-mut) !important; font-size: 11.5px !important; font-weight: 700; }
body.rv-woo .rahvan-saved-passenger > div:last-of-type { grid-column: 1 / -1; display: flex; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--w-line); }
body.rv-woo .rahvan-saved-passenger > div:last-of-type .button { flex: 1 1 0; min-height: 40px !important; margin: 0 !important; border-radius: 12px !important; box-shadow: none !important; font-size: 13px !important; }
body.rv-woo .rahvan-saved-passenger .rahvan-edit-saved { border: 1px solid var(--w-line) !important; background: #fff !important; color: var(--w-n) !important; }
body.rv-woo .rahvan-saved-passenger .rahvan-delete-saved { border: 1px solid #F2D2CF !important; background: #FFF6F5 !important; color: #B3261E !important; }
body.rv-woo .rahvan-empty-passengers { padding: 28px 18px; border: 1px dashed #CFDDE3; border-radius: 20px; background: #fff; text-align: center; color: var(--w-mut); }
body.rv-woo .rahvan-add-passenger-box { margin: 6px 0 0 !important; padding: 18px !important; border: 1px solid var(--w-line) !important; border-radius: 22px !important; background: #fff !important; box-shadow: var(--w-sh) !important; }
body.rv-woo .rahvan-add-passenger-box h3 { margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 16px !important; font-weight: 900; color: var(--w-n) !important; }
body.rv-woo .rahvan-add-passenger-box .button-primary { width: 100%; min-height: 50px; }

/* v34 — phones: the account menu shows that it scrolls (fade + arrow on the side with more items) */
@media (max-width: 999px) {
	body.rv-woo .rv-navx { position: relative; }
	body.rv-woo .rv-navx::before, body.rv-woo .rv-navx::after { content: ""; position: absolute; top: 4px; bottom: 10px; z-index: 2; width: 56px; pointer-events: none; opacity: 0; transition: opacity .2s; }
	body.rv-woo .rv-navx::after { left: 0; background: linear-gradient(to right, var(--w-soft, #F4F7F8) 30%, rgb(244 247 248 / 0)); }
	body.rv-woo .rv-navx::before { right: 0; background: linear-gradient(to left, var(--w-soft, #F4F7F8) 30%, rgb(244 247 248 / 0)); }
	body.rv-woo .rv-navx.has-more::after, body.rv-woo .rv-navx.has-back::before { opacity: 1; }
	body.rv-woo .rv-navx.has-more ul { -webkit-mask-image: none; }
	body.rv-woo .rv-navx > .rv-navx__cue { display: none; }
	body.rv-woo .rv-navx.has-more::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022C3C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E"), linear-gradient(to right, var(--w-soft, #F4F7F8) 35%, rgb(244 247 248 / 0)); background-repeat: no-repeat; background-position: 8px center, 0 0; background-size: 18px, 100% 100%; animation: rvNudge 1.6s ease-in-out 3; }
}
@keyframes rvNudge { 0%, 100% { background-position: 8px center, 0 0; } 50% { background-position: 2px center, 0 0; } }
@media (prefers-reduced-motion: reduce) { body.rv-woo .rv-navx.has-more::after { animation: none; } }

/* v34 — «جزئیات حساب» */
body.rv-woo .rv-acct { display: flex; flex-direction: column; gap: 14px; }
body.rv-woo .rv-acct__card { margin: 0; padding: 18px; border: 1px solid var(--w-line); border-radius: 22px; background: #fff; box-shadow: var(--w-sh); }
body.rv-woo .rv-acct .rv-acct__h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px !important; padding: 0 !important; font-size: 16px !important; font-weight: 900; color: var(--w-n); }
body.rv-woo .rv-acct .rv-acct__h::before { content: none !important; display: none !important; }
body.rv-woo .rv-acct__h small { font-size: 12px; font-weight: 600; color: var(--w-mut); }
body.rv-woo .rv-acct__row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
@media (min-width: 640px) { body.rv-woo .rv-acct__row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.rv-woo .rv-acct .form-row { width: 100% !important; float: none !important; margin: 0 0 12px !important; padding: 0 !important; }
body.rv-woo .rv-acct .form-row:last-child { margin-bottom: 0 !important; }
body.rv-woo .rv-acct label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--w-ink); }
body.rv-woo .rv-acct__opt { font-size: 12px; font-weight: 600; color: var(--w-mut); }
body.rv-woo .rv-acct small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.8; color: var(--w-mut); }
body.rv-woo .rv-acct__ro input { background: var(--w-soft) !important; color: var(--w-n) !important; font-weight: 800; letter-spacing: .5px; cursor: default; }
body.rv-woo .rv-acct__pw summary { cursor: pointer; list-style: none; margin: 0 !important; }
body.rv-woo .rv-acct__pw summary::-webkit-details-marker { display: none; }
body.rv-woo .rv-acct__pw summary::after { content: "▾"; margin-inline-start: auto; color: var(--w-mut); }
body.rv-woo .rv-acct__pw[open] summary { margin-bottom: 14px !important; }
body.rv-woo .rv-acct__pw[open] summary::after { content: "▴"; }
body.rv-woo .rv-acct__note p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--w-mut); }
body.rv-woo .rv-acct__save { margin: 0; }
body.rv-woo .rv-acct__save .button { width: 100%; min-height: 52px; }
@media (min-width: 640px) { body.rv-woo .rv-acct__save .button { width: auto; min-width: 220px; } }

/* ===== v37 — the last old-style pieces of «حساب کاربری» ===== */
/* «مسافران من»: add / edit form */
body.rv-woo .rahvan-add-passenger-box .rvp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.rv-woo .rvp-f { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; }
body.rv-woo .rvp-f--wide { grid-column: 1 / -1; }
body.rv-woo .rvp-f > span { font-size: 13px; font-weight: 800; color: var(--w-n); line-height: 1.6; }
body.rv-woo .rahvan-add-passenger-box input[type="text"], body.rv-woo .rahvan-add-passenger-box select {
	width: 100% !important; height: 48px !important; margin: 0 !important; padding: 0 14px !important;
	border: 1px solid var(--w-line) !important; border-radius: 14px !important; background-color: #fff !important; box-shadow: none !important;
	font: inherit !important; font-size: 14px !important; color: var(--w-ink) !important; transition: border-color .2s, box-shadow .2s;
}
body.rv-woo .rahvan-add-passenger-box select { appearance: none; -webkit-appearance: none; padding-inline-end: 12px !important; padding-inline-start: 32px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6E77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: left 10px center !important; background-size: 15px !important; }
body.rv-woo .rahvan-add-passenger-box input[type="text"]:focus, body.rv-woo .rahvan-add-passenger-box select:focus { outline: 0; border-color: var(--w-n) !important; box-shadow: 0 0 0 3px rgb(232 163 61 / 25%) !important; }
body.rv-woo .rahvan-add-passenger-box .rahvan-birthdate-group { display: grid !important; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; margin: 0 !important; }
body.rv-woo .rvp-file { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1.5px dashed #C9D8DE; border-radius: 16px; background: var(--w-soft); cursor: pointer; transition: border-color .2s, background .2s; }
body.rv-woo .rvp-file:hover, body.rv-woo .rvp-file:focus-within { border-color: var(--w-n); background: #fff; }
body.rv-woo .rvp-file.has-file { border-style: solid; border-color: #1E9E6A; background: #F0FAF5; }
body.rv-woo .rvp-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
body.rv-woo .rvp-file__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--w-n50); color: var(--w-n); }
body.rv-woo .rvp-file__ic svg { width: 24px; height: 24px; }
body.rv-woo .rvp-file__t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
body.rv-woo .rvp-file__t b { font-size: 13.5px; font-weight: 800; color: var(--w-n); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.rv-woo .rvp-file__t small { font-size: 11.5px; color: var(--w-mut); }
body.rv-woo .rvp-file__btn { flex: none; padding: 9px 16px; border-radius: 12px; background: var(--w-n); color: #fff; font-size: 13px; font-weight: 800; }
body.rv-woo .rahvan-add-passenger-box .button-primary, body.rv-woo .rahvan-add-passenger-box #rahvan-save-saved-passenger {
	width: 100%; margin-top: 18px !important; min-height: 50px !important; border: 0 !important; border-radius: 14px !important;
	background: var(--w-n) !important; color: #fff !important; font-size: 15px !important; font-weight: 900 !important; box-shadow: 0 12px 24px -14px rgb(2 44 60 / 70%) !important;
}
body.rv-woo .rahvan-add-passenger-box .button-primary:hover { background: var(--w-n2) !important; }
body.rv-woo #rahvan-saved-result:not(:empty) { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--w-soft); font-size: 13px; }
@media (max-width: 600px) {
	body.rv-woo .rahvan-add-passenger-box .rvp-form { grid-template-columns: minmax(0, 1fr); }
	body.rv-woo .rvp-file__btn { display: none; }
}
/* privacy note under the list */
body.rv-woo .rahvan-access-transparency {
	position: relative; margin: 18px 0 0 !important; padding: 14px 16px !important; padding-inline-start: 48px !important;
	border: 1px solid var(--w-line2) !important; border-radius: 16px !important; background: var(--w-soft) !important;
	font-size: 12.5px !important; line-height: 2 !important; color: var(--w-mut) !important;
}
body.rv-woo .rahvan-access-transparency::before {
	content: ""; position: absolute; inset-inline-start: 14px; top: 16px; width: 22px; height: 22px; background: var(--w-n);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.rv-woo .rahvan-access-transparency strong { color: var(--w-n); }
/* «بازخورد و گزارش‌های من»: list */
body.rv-woo .rahvan-feedback-order-group { margin: 0 0 16px !important; padding: 16px !important; border: 1px solid var(--w-line) !important; border-radius: 20px !important; background: #fff !important; box-shadow: var(--w-sh); }
body.rv-woo .rahvan-feedback-item { margin: 10px 0 0 !important; padding: 12px 14px !important; border: 1px solid var(--w-line2) !important; border-radius: 14px !important; background: var(--w-soft) !important; }
body.rv-woo .rahvan-feedback-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; color: var(--w-n); }
body.rv-woo .rahvan-feedback-status { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--w-line); font-size: 11.5px; font-weight: 800; color: var(--w-mut); }
body.rv-woo .rahvan-feedback-item-text { margin-top: 6px; font-size: 13.5px; line-height: 1.95; color: var(--w-ink); }
body.rv-woo .rahvan-feedback-item-time { margin-top: 4px; font-size: 11.5px; color: var(--w-mut); }
body.rv-woo .rahvan-add-passenger-box .rahvan-birthdate-group select { padding-inline-start: 26px !important; padding-inline-end: 10px !important; background-position: left 8px center !important; background-size: 13px !important; }

/* ==========================================================================
   v41.11 — CHECKOUT: «سفارش شما» follows the page on desktop; more room inside it
   Woodmart set the column to position:relative, so it never stuck and its «top: 96px» only pushed it down.
   --rv-sum-top (inc/woo.php) = 96px, or less when the card is taller than the screen (it then stops
   with «ثبت سفارش» in view).
   ========================================================================== */
@media (min-width: 1025px) {
	body.rv-woo form.woocommerce-checkout .checkout-order-review { position: sticky !important; top: var(--rv-sum-top, 96px) !important; align-self: start; }
}
@media (min-width: 1025px) {
	body.rv-woo #order_review > * + * { margin-top: 20px !important; }
	body.rv-woo #order_review .rvclub-ref { padding-top: 18px; border-top: 1px dashed var(--w-line, #E1E7EA); }
	body.rv-woo #order_review .rvclub-ref label { display: block; margin-bottom: 8px; }
	body.rv-woo #order_review .rvclub-ref input { margin-bottom: 8px; }
	body.rv-woo #order_review #payment ul.payment_methods { margin: 0 0 18px !important; }
	body.rv-woo #order_review #payment ul.payment_methods > li + li { margin-top: 10px; }
	body.rv-woo #order_review #payment .payment_box { margin-top: 12px !important; }
	body.rv-woo #order_review #payment .form-row.place-order { display: flex; flex-direction: column; gap: 16px; margin: 0 !important; padding: 0 !important; }
	body.rv-woo #order_review .woocommerce-terms-and-conditions-wrapper, body.rv-woo #order_review .woocommerce-privacy-policy-text { margin: 0 !important; line-height: 1.9; }
	body.rv-woo #order_review #place_order { margin: 0 !important; }
	body.rv-woo #order_review .rv-trust { margin: 0 !important; display: grid; gap: 10px; }
	body.rv-woo #order_review .woocommerce-checkout-review-order-table td, body.rv-woo #order_review .woocommerce-checkout-review-order-table th { padding-top: 14px !important; padding-bottom: 14px !important; }
}

/* ==========================================================================
   v41.12 — CHECKOUT · «اطلاعات مسافران» in the Rahvan look (the plugin's old jade / orange skin is overridden)
   ========================================================================== */
body.rv-woo .rahvan-passenger-section { --px-n: #022C3C; --px-n7: #0C3D50; --px-g: #E8A33D; --px-g5: #FDF3E1; --px-g7: #8A5A12; --px-ln: #E1E7EA; --px-soft: #F4F7F8; --px-mu: #4A5A62; --px-ok: #15803D; --px-ok5: #E9F7EE; --px-bad: #B42318; --px-bad5: #FEEFEC; }

/* section header */
body.rv-woo .rahvan-passenger-section .rahvan-passenger-header { margin: 0 0 16px !important; padding: 20px 22px !important; border: 1px solid var(--px-ln) !important; border-radius: 22px !important; background: #fff !important; box-shadow: 0 4px 14px rgb(2 44 60 / 7%) !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-header h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px !important; font-size: 18px !important; font-weight: 900 !important; color: var(--px-n) !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-header p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 !important; padding: 10px 14px !important; border: 0 !important; border-radius: 14px !important; background: var(--px-g5) !important; color: var(--px-g7) !important; font-size: 13.5px !important; font-weight: 600; line-height: 1.8; box-shadow: none !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-header p strong { color: var(--px-n) !important; font-weight: 900; }

/* «تور انتخابی»: a navy ticket strip */
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group-title { position: relative; overflow: hidden; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 14px !important; margin: 4px 0 14px !important; padding: 18px 22px !important; border: 0 !important; border-radius: 20px !important; background: linear-gradient(135deg, var(--px-n7) 0%, var(--px-n) 70%) !important; box-shadow: 0 12px 28px rgb(2 44 60 / 22%) !important; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group-title::after { content: ""; position: absolute; inset-inline-start: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgb(232 163 61 / 22%), transparent 65%); pointer-events: none; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-heading-main { position: relative; z-index: 1; gap: 4px !important; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-heading-label { display: inline-flex !important; align-items: center; gap: 6px; font-size: 12px !important; font-weight: 800 !important; color: #F2C27A !important; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-heading-label::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--px-g); }
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group-title strong { font-size: 17px !important; font-weight: 900 !important; line-height: 1.6 !important; color: #fff !important; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-heading-actions { position: relative; z-index: 1; flex: none; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-heading-count { display: inline-flex !important; align-items: center; padding: 6px 14px !important; border-radius: 999px !important; background: rgb(255 255 255 / 10%) !important; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%); color: #fff !important; font-size: 13px !important; font-weight: 800 !important; white-space: nowrap; }

/* passenger cards */
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card { padding: 0 !important; border: 1px solid var(--px-ln) !important; border-radius: 22px !important; background: #fff !important; box-shadow: 0 4px 14px rgb(2 44 60 / 7%) !important; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card[open] { box-shadow: 0 10px 28px rgb(2 44 60 / 10%) !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card.complete { border-color: #BFE3CB !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card > summary { display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 10px !important; margin: 0 !important; padding: 16px 18px !important; border: 0 !important; border-bottom: 1px solid transparent !important; background: var(--px-soft) !important; cursor: pointer; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card[open] > summary { border-bottom-color: var(--px-ln) !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card > summary::after { width: 30px !important; height: 30px !important; border-radius: 50% !important; background-color: #fff !important; box-shadow: 0 1px 3px rgb(2 44 60 / 12%); margin-inline-start: auto; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-number { display: inline-grid !important; place-items: center; width: 36px !important; height: 36px !important; border-radius: 12px !important; background: var(--px-n) !important; color: var(--px-g) !important; font-weight: 900 !important; font-size: 15px !important; box-shadow: 0 4px 10px rgb(2 44 60 / 20%) !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card.complete .rahvan-passenger-number { background: var(--px-ok) !important; color: #fff !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-title, body.rv-woo .rahvan-passenger-section .rahvan-passenger-card > summary strong { color: var(--px-n) !important; font-size: 16px !important; font-weight: 900 !important; }
body.rv-woo .rahvan-passenger-section .rahvan-buyer-badge { display: inline-flex !important; align-items: center; gap: 4px; padding: 3px 10px !important; border: 0 !important; border-radius: 999px !important; background: var(--px-g5) !important; color: var(--px-g7) !important; font-size: 12px !important; font-weight: 800 !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-state { padding: 3px 11px !important; border: 0 !important; border-radius: 999px !important; background: var(--px-bad5) !important; color: var(--px-bad) !important; font-size: 12px !important; font-weight: 800 !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card.complete .rahvan-passenger-state { background: var(--px-ok5) !important; color: var(--px-ok) !important; }

/* fields */
body.rv-woo .rahvan-passenger-section .rahvan-fields-grid { gap: 14px 14px !important; padding: 18px !important; }
body.rv-woo .rahvan-passenger-section .rahvan-field label, body.rv-woo .rahvan-passenger-section .rahvan-field > span:first-child { color: var(--px-n) !important; font-size: 13.5px !important; font-weight: 800 !important; margin-bottom: 6px !important; }
body.rv-woo .rahvan-passenger-section input[type="text"], body.rv-woo .rahvan-passenger-section input[type="tel"], body.rv-woo .rahvan-passenger-section input[type="number"], body.rv-woo .rahvan-passenger-section select, body.rv-woo .rahvan-passenger-section textarea { min-height: 48px; border: 1px solid #CBD5DA !important; border-radius: 12px !important; background: #fff !important; color: var(--px-n) !important; font-size: 14.5px !important; box-shadow: none !important; transition: border-color .2s, box-shadow .2s; }
body.rv-woo .rahvan-passenger-section textarea { min-height: 96px; padding-top: 12px !important; }
body.rv-woo .rahvan-passenger-section input:focus, body.rv-woo .rahvan-passenger-section select:focus, body.rv-woo .rahvan-passenger-section textarea:focus { border-color: var(--px-n) !important; box-shadow: 0 0 0 3px rgb(2 44 60 / 12%) !important; outline: none; }
body.rv-woo .rahvan-passenger-section .rahvan-field-complete { border-color: #9AD3AE !important; background: #FBFEFC !important; }
body.rv-woo .rahvan-passenger-section .rahvan-nid-remaining, body.rv-woo .rahvan-passenger-section .description { color: var(--px-mu) !important; font-size: 12px !important; }
body.rv-woo .rahvan-passenger-section .required, body.rv-woo .rahvan-passenger-section abbr[title] { color: var(--px-bad) !important; text-decoration: none; }
body.rv-woo .rahvan-passenger-section .rahvan-passengers-list { gap: 16px !important; }
@media (max-width: 600px) {
	body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group-title { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; padding: 16px 18px !important; }
	body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group-title strong { font-size: 15.5px !important; }
	body.rv-woo .rahvan-passenger-section .rahvan-passenger-header { padding: 16px !important; }
	body.rv-woo .rahvan-passenger-section .rahvan-fields-grid { padding: 16px !important; }
}

/* v41.17 — cart: the totals card matches the cart items card (Woodmart puts .cart_totals in .cart-content-wrapper,
   outside .cart-collaterals, so its own grey 3px frame showed instead of ours) */
body.rv-woo.woocommerce-cart .cart_totals { padding: 0; background: #fff; border: 1px solid var(--w-line); border-radius: 18px; box-shadow: var(--w-sh); overflow: hidden; }
body.rv-woo.woocommerce-cart .cart_totals::before { content: none; }
body.rv-woo.woocommerce-cart .cart_totals .cart-totals-inner { padding: 22px; border: 0; border-radius: 0; background: none; }
body.rv-woo.woocommerce-cart .cart_totals table.shop_table { box-shadow: none; margin-bottom: 18px; }
@media (max-width: 768px) { body.rv-woo.woocommerce-cart .cart_totals .cart-totals-inner { padding: 16px; } }

/* ==========================================================================
   v41.18 — CHECKOUT · passengers: the «اطلاعات مسافران» header card is gone; each tour is one full-width card
   (navy strip on top, passengers stacked inside as numbered steps, fields in two columns)
   ========================================================================== */
body.rv-woo .rahvan-passenger-section .rahvan-passenger-header { display: none !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passengers-list { display: flex !important; flex-direction: column; gap: 18px !important; grid-template-columns: none !important; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group { display: flex !important; flex-direction: column; gap: 12px; grid-template-columns: none !important; margin: 0 !important; padding: 0 0 14px !important; border: 1px solid var(--px-ln) !important; border-radius: 22px !important; background: #fff !important; box-shadow: 0 14px 34px -26px rgb(2 44 60 / 45%) !important; overflow: hidden; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group-title { margin: 0 0 2px !important; border-radius: 0 !important; padding: 18px 22px !important; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group > .rahvan-passenger-card { margin: 0 14px !important; border-radius: 18px !important; box-shadow: none !important; background: #fff !important; transition: border-color .2s, box-shadow .2s; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group > .rahvan-passenger-card[open] { border-color: #CFDAE0 !important; box-shadow: 0 6px 18px -10px rgb(2 44 60 / 25%) !important; }
body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group > .rahvan-passenger-card.complete { border-color: #BFE3CB !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card > summary { padding: 14px 16px !important; background: var(--px-soft) !important; cursor: pointer; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card.complete > summary { background: #F3FBF6 !important; }
body.rv-woo .rahvan-passenger-section .rahvan-saved-select-wrap { margin: 0 !important; padding: 14px 18px 0 !important; }
body.rv-woo .rahvan-passenger-section .rahvan-fields-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 16px !important; padding: 18px !important; }
body.rv-woo .rahvan-passenger-section .rahvan-fields-grid > .rahvan-field { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; min-width: 0; }
body.rv-woo .rahvan-passenger-section .rahvan-fields-grid > .rahvan-field-request,
body.rv-woo .rahvan-passenger-section .rahvan-fields-grid:not(:has(.rahvan-field-relationship)) > .rahvan-field-birthdate { grid-column: 1 / -1; }
body.rv-woo .rahvan-passenger-section .rahvan-field label { display: block; }
body.rv-woo .rahvan-passenger-section .rahvan-birthdate-group { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px !important; }
body.rv-woo .rahvan-passenger-section .rahvan-birthdate-group > * { width: 100% !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; flex: none !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card > summary { flex-wrap: nowrap !important; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card > summary strong { white-space: nowrap; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-state { margin-inline-start: auto !important; flex: none; }
body.rv-woo .rahvan-passenger-section .rahvan-passenger-card > summary::after { margin-inline-start: 4px !important; flex: none; }
body.rv-woo .rahvan-passenger-section input[type="text"], body.rv-woo .rahvan-passenger-section input[type="tel"], body.rv-woo .rahvan-passenger-section select { min-height: 48px !important; }
body.rv-woo .rahvan-passenger-section textarea { min-height: 84px !important; }
body.rv-woo .rahvan-passenger-section .rahvan-image-field { margin: 0 !important; padding: 0 18px 18px !important; }
@media (max-width: 600px) {
	body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group { border-radius: 20px !important; padding-bottom: 10px !important; }
	body.rv-woo .rahvan-passenger-section .rahvan-tour-passenger-group > .rahvan-passenger-card { margin: 0 10px !important; }
	body.rv-woo .rahvan-passenger-section .rahvan-fields-grid { grid-template-columns: minmax(0, 1fr) !important; padding: 14px !important; gap: 14px !important; }
	body.rv-woo .rahvan-passenger-section .rahvan-saved-select-wrap { padding: 14px 14px 0 !important; }
}

/* v41.19 — cart: «کد معرفی دوست» above «ادامه جهت تسویه حساب» (same look as on the checkout) */
body.rv-woo.woocommerce-cart .rvclub-ref--cart { margin: 0 0 16px; padding: 16px 0 0; border-top: 1px dashed var(--w-line); text-align: start; direction: rtl; }
body.rv-woo.woocommerce-cart .rvclub-ref--cart label { display: block; margin: 0 0 8px; font-size: 13.5px; font-weight: 800; color: var(--w-n); }
body.rv-woo.woocommerce-cart .rvclub-ref--cart label small { font-weight: 500; color: var(--w-mut); }
body.rv-woo.woocommerce-cart .rvclub-ref--cart input { width: 100%; min-height: 46px; margin: 0 0 8px; padding: 0 14px; border: 1px solid var(--w-line); border-radius: 14px; background: #fff; font-size: 14px; letter-spacing: 1px; text-align: left; }
body.rv-woo.woocommerce-cart .rvclub-ref--cart input:focus { border-color: var(--w-n); box-shadow: 0 0 0 3px rgb(2 44 60 / 12%); outline: none; }
body.rv-woo.woocommerce-cart .rvclub-ref--cart > small { display: block; font-size: 12px; line-height: 1.9; color: var(--w-mut); }
