/* Realtie theme 2.0 — component styles used by the patterns. */

:root {
	--rt-ink: #15212B;
	--rt-muted: #4F5B66;
	--rt-pine: #0E4A43;
	--rt-pine-dark: #0A3530;
	--rt-pine-light: #E3EEEA;
	--rt-maple: #B8432A;
	--rt-maple-light: #F0A48F;
	--rt-ivory: #F6F3EC;
	--rt-line: #E3DDD1;
	--rt-radius: 20px;
	--rt-section: clamp(64px, 8vw, 112px);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
[id] { scroll-margin-top: 24px; }

/* ---------- Sections ---------- */
.rt-section { padding-top: var(--rt-section) !important; padding-bottom: var(--rt-section) !important; }
.rt-section--white { background: #fff; border-top: 1px solid var(--rt-line); border-bottom: 1px solid var(--rt-line); }
.rt-section--tight-top { padding-top: 0 !important; }
.rt-section-head > * { max-width: 760px; }
.rt-section-head.rt-center > * { margin-left: auto !important; margin-right: auto !important; }
.rt-section-head > * + * { margin-top: 14px !important; }
.rt-center { text-align: center; margin-left: auto !important; margin-right: auto !important; }
.rt-mt-lg { margin-top: 48px !important; }

.rt-eyebrow { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--rt-maple); margin: 0; }
.rt-lead { font-size: clamp(17px, 1.4vw, 20px) !important; line-height: 1.55; color: var(--rt-muted); max-width: 560px; }
.rt-muted { color: var(--rt-muted); }
.rt-small { font-size: 14px !important; }

.rt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px !important; font-weight: 600; background: var(--rt-pine-light); color: var(--rt-pine); margin: 0; }
.rt-chip svg { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--rt-ink); border: 1.5px solid var(--rt-ink); padding: calc(0.95rem - 1.5px) calc(1.6rem - 1.5px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--rt-ink); color: #fff; }
.wp-block-button.rt-btn-light > .wp-block-button__link { background: #fff; color: var(--rt-ink); }
.wp-block-button.rt-btn-light > .wp-block-button__link:hover { background: var(--rt-ivory); color: var(--rt-ink); }
.wp-block-button.rt-btn-on-dark > .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid #fff; }
.wp-block-button.rt-btn-on-dark > .wp-block-button__link:hover { background: #fff; color: var(--rt-pine); }
.wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }

/* ---------- Header ---------- */
.rt-header { border-bottom: 1px solid var(--rt-line); background: var(--rt-ivory); }
.rt-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rt-ink); }
.rt-logo:hover { color: var(--rt-ink); }
.rt-logo__word { font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 600; line-height: 1; }
.rt-logo__word span { color: var(--rt-maple); }
.rt-header .wp-block-navigation { gap: 36px; font-size: 15px; font-weight: 500; }
.rt-header .wp-block-navigation a { color: var(--rt-ink); text-decoration: none; }
.rt-header .wp-block-navigation a:hover { color: var(--rt-pine); }
.rt-header__actions { display: flex; align-items: center; gap: 16px; }
.rt-header__actions .wp-block-button__link { min-height: 44px; padding: 0.6rem 1.25rem; font-size: 15px; }
.rt-header__login { margin: 0; font-size: 15px; font-weight: 500; }
.rt-header__login a { color: var(--rt-ink); text-decoration: none; }

/* ---------- Hero ---------- */
.rt-hero { padding-top: clamp(48px, 7vw, 88px) !important; padding-bottom: clamp(64px, 7vw, 96px) !important; }
.rt-hero .wp-block-columns { gap: 64px; align-items: center; }
.rt-hero__copy > * + * { margin-top: 26px !important; }
.rt-ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--rt-muted); }
.rt-ticks span { display: inline-flex; gap: 8px; align-items: center; }

.rt-browser { position: relative; }
.rt-browser__frame { background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(21,33,43,.35); }
.rt-browser__bar { height: 40px; background: #EFEBE2; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--rt-line); }
.rt-browser__dot { width: 10px; height: 10px; border-radius: 50%; background: #D9D2C4; }
.rt-browser__url { margin-left: 16px; flex: 1; height: 24px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--rt-muted); display: flex; align-items: center; padding: 0 10px; }
.rt-browser__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.rt-browser__search { display: flex; gap: 10px; }
.rt-browser__field { flex: 1; height: 40px; border: 1px solid var(--rt-line); border-radius: 10px; font-size: 13px; color: var(--rt-muted); display: flex; align-items: center; padding: 0 12px; }
.rt-browser__btn { height: 40px; padding: 0 16px; border-radius: 10px; background: var(--rt-pine); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.rt-browser__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rt-listing { border: 1px solid var(--rt-line); border-radius: 14px; overflow: hidden; }
.rt-listing__img { height: 110px; display: flex; align-items: flex-end; padding: 10px; }
.rt-listing__info { padding: 12px; font-size: 12px; color: var(--rt-muted); }
.rt-listing__info strong { display: block; font-size: 16px; color: var(--rt-ink); }
.rt-sync { position: absolute; left: -40px; bottom: -32px; background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 16px 20px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 40px -20px rgba(21,33,43,.35); font-size: 13px; color: var(--rt-muted); }
.rt-sync strong { display: block; font-size: 15px; color: var(--rt-ink); }
.rt-sync__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--rt-pine-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Trust strip ---------- */
.rt-trust { border-top: 1px solid var(--rt-line); border-bottom: 1px solid var(--rt-line); padding-top: 28px !important; padding-bottom: 28px !important; }
.rt-trust__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; color: var(--rt-muted); }
.rt-trust__row strong { color: var(--rt-ink); }

/* ---------- Grids and cards ---------- */
.rt-grid-2, .rt-grid-3 { display: grid !important; gap: 24px; }
.rt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rt-grid-2 > *, .rt-grid-3 > * { margin: 0 !important; }
.rt-card { background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 36px; }
.rt-card > * { margin: 0 !important; }
.rt-card > * + * { margin-top: 14px !important; }
.rt-card--pine { background: var(--rt-pine-light); border-color: #C3D9D1; }
.rt-card p { color: var(--rt-muted); }
.rt-step-num { font-family: Fraunces, Georgia, serif; font-size: 44px !important; line-height: 1 !important; color: var(--rt-maple); font-weight: 600; }

.rt-features { display: grid !important; grid-template-columns: 4fr 8fr; gap: 48px; }
.rt-features > * { margin: 0 !important; }
.rt-features__intro > * + * { margin-top: 18px !important; }
.rt-feature { background: var(--rt-ivory); border-radius: 18px; padding: 28px; }
.rt-feature > * { margin: 0 !important; }
.rt-feature > * + * { margin-top: 12px !important; }
.rt-feature h3 { font-size: 20px; }
.rt-feature p { font-size: 15px; color: var(--rt-muted); }
.rt-icon { line-height: 0; }

.rt-card-link { text-decoration: none; font-weight: 600; }

/* ---------- SEO ---------- */
.rt-seo .wp-block-columns { gap: 56px; align-items: center; }
.rt-seo__copy > * + * { margin-top: 22px !important; }
.rt-seo-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rt-seo-points li { position: relative; padding-left: 46px; min-height: 32px; line-height: 1.55; }
.rt-seo-points li::before { content: ""; position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 10px; background: var(--rt-pine-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E4A43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.rt-serp { background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 28px 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 30px 60px -30px rgba(21,33,43,.3); }
.rt-serp__query { height: 44px; border: 1px solid var(--rt-line); border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 18px; font-size: 15px; }
.rt-serp__hit { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: #F2F8F6; border: 1.5px solid var(--rt-pine); }
.rt-serp__url { font-size: 13px; color: var(--rt-muted); overflow-wrap: anywhere; }
.rt-serp__title { font-size: 19px; color: var(--rt-pine); font-weight: 600; line-height: 1.3; }
.rt-serp__desc { font-size: 14px; color: var(--rt-muted); line-height: 1.5; }
.rt-serp__tag { align-self: flex-start; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--rt-pine); color: #fff; font-size: 13px; font-weight: 600; }
.rt-serp__ghost { display: flex; flex-direction: column; gap: 6px; padding: 0 18px; }
.rt-serp__ghost span { display: block; height: 10px; border-radius: 4px; background: var(--rt-line); }
.rt-serp__ghost span:nth-child(2) { height: 14px; background: #D9D2C4; width: 85%; }
.rt-serp__ghost span:nth-child(1) { width: 45%; }
.rt-serp__ghost span:nth-child(3) { width: 70%; background: #EFEBE2; }

/* ---------- Showcase ---------- */
.rt-shot { height: 240px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.rt-shot span { background: #fff; padding: 8px 14px; border-radius: 999px; }
.rt-shot--img { height: 320px; overflow: hidden; background: #EFEBE2; border: 1px solid var(--rt-line); display: block; }
.rt-shot--img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Pricing ---------- */
.rt-billing { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--rt-line); border-radius: 999px; }
.rt-billing-wrap { display: flex; justify-content: center; }
.rt-billing button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--rt-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.rt-billing button:hover { background: #EFEBE2; }
.rt-billing button[aria-pressed="true"] { background: var(--rt-pine); color: #fff; }
.rt-billing button:focus-visible { outline: 2px solid var(--rt-maple); outline-offset: 2px; }
.rt-section--white .rt-billing { background: var(--rt-ivory); }

.rt-plans { max-width: 1040px; margin-left: auto !important; margin-right: auto !important; align-items: stretch; }
.rt-plan { background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 44px; display: flex !important; flex-direction: column; position: relative; }
.rt-section--white .rt-plan { background: var(--rt-ivory); }
.rt-section--white .rt-plan--featured, .rt-plan--featured { background: #fff; border: 2px solid var(--rt-pine); padding: 43px; }
.rt-plan > * { margin: 0 !important; }
.rt-plan > * + * { margin-top: 18px !important; }
.rt-plan h3 { font-size: 24px; }
.rt-plan__blurb { color: var(--rt-muted); font-size: 15px !important; min-height: 3em; }
.rt-plan__badge + * { margin-top: 0 !important; }
.rt-plan__badge { position: absolute; top: -16px; left: 44px; margin: 0 !important; background: var(--rt-maple); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px !important; font-weight: 600; }
.rt-price { margin: 0 !important; color: var(--rt-muted); font-size: 16px !important; }
.rt-price strong { font-family: Fraunces, Georgia, serif; font-size: clamp(44px, 4.5vw, 58px); font-weight: 600; color: var(--rt-ink); line-height: 1; margin-right: 4px; }
.rt-plan .rt-price + .rt-price, .rt-plan .rt-note + .rt-note { margin-top: 0 !important; }
.rt-note { color: var(--rt-pine); font-weight: 600; font-size: 14px !important; margin-top: 8px !important; }
.rt-checks { list-style: none; padding: 20px 0 0 !important; border-top: 1px solid var(--rt-line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.rt-checks li { position: relative; padding-left: 28px; line-height: 1.45; }
.rt-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230E4A43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.rt-plan .wp-block-buttons { margin-top: auto !important; padding-top: 24px; }
.rt-plan .wp-block-button, .rt-plan .wp-block-button__link { width: 100%; }

/* Monthly / annual visibility */
.rt-pricing .rt-y { display: none !important; }
.rt-pricing.is-yearly .rt-m { display: none !important; }
.rt-pricing.is-yearly .rt-y { display: block !important; }

.rt-compare { max-width: 1040px; margin-left: auto !important; margin-right: auto !important; background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); overflow: hidden; }
.rt-compare table { border-collapse: collapse; width: 100%; }
.rt-compare th, .rt-compare td { border: 0; border-bottom: 1px solid var(--rt-line); padding: 18px 24px; text-align: left; font-size: 16px; }
.rt-compare thead { border: 0; }
.rt-compare thead th { background: #EFEBE2; font-weight: 700; }
.rt-compare tbody tr:last-child td { border-bottom: 0; }
.rt-compare td:first-child { width: 50%; }

.rt-band { max-width: 1040px; margin-left: auto !important; margin-right: auto !important; background: var(--rt-ink); color: #fff; border-radius: 24px; padding: 48px 56px; display: flex !important; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.rt-band > * { margin: 0 !important; }
.rt-band h2 { font-size: clamp(28px, 3vw, 34px); color: #fff; }
.rt-band p { color: #C9D2D9; margin-top: 10px !important; }

/* ---------- FAQ ---------- */
.rt-faq { display: grid !important; grid-template-columns: 4fr 8fr; gap: 48px; }
.rt-faq > * { margin: 0 !important; }
.rt-faq__intro > * + * { margin-top: 14px !important; }
.rt-faq .wp-block-details { border-bottom: 1px solid var(--rt-line); padding: 24px 0; margin: 0 !important; }
.rt-faq .wp-block-details summary { font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rt-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.rt-faq .wp-block-details summary::after { content: "+"; color: var(--rt-maple); font-weight: 600; }
.rt-faq .wp-block-details[open] summary::after { content: "–"; }
.rt-faq .wp-block-details p { margin: 14px 0 0; color: var(--rt-muted); }

/* ---------- CTA ---------- */
.rt-cta { background: var(--rt-pine); color: #fff; padding-top: clamp(64px, 7vw, 96px) !important; padding-bottom: clamp(64px, 7vw, 96px) !important; }
.rt-cta__inner { display: flex !important; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; }
.rt-cta__inner > * { margin: 0 !important; }
.rt-cta h2 { color: #fff; }
.rt-cta p { color: #CFE3DC; margin-top: 14px !important; }

/* ---------- Footer ---------- */
.rt-footer { background: var(--rt-ink); color: #C9D2D9; padding-top: 64px !important; padding-bottom: 48px !important; }
.rt-footer a { color: #C9D2D9; text-decoration: none; }
.rt-footer a:hover { color: #fff; }
.rt-footer__cols { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rt-footer__cols > * { margin: 0 !important; }
.rt-footer__cols h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.rt-footer__cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.rt-footer .rt-logo { color: #fff; }
.rt-footer .rt-logo:hover { color: #fff; }
.rt-footer .rt-logo__word span { color: var(--rt-maple-light); }
.rt-footer__about { font-size: 15px; margin-top: 12px !important; }
.rt-footer__legal { font-size: 13px !important; line-height: 1.6; color: #8D9AA5; border-top: 1px solid #2E3B46; padding-top: 24px; margin-top: 40px !important; }

/* ---------- Docs pages ---------- */
.rt-page-head { padding-top: clamp(48px, 6vw, 80px) !important; padding-bottom: 32px !important; }
.rt-page-head > * + * { margin-top: 14px !important; }
.rt-doc { padding-bottom: var(--rt-section) !important; }
.rt-doc h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 48px; }
.rt-doc h3 { margin-top: 32px; }
.rt-doc ol, .rt-doc ul { padding-left: 1.4em; }
.rt-doc li + li { margin-top: 8px; }
.rt-callout { background: var(--rt-pine-light); border-radius: 16px; padding: 20px 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.rt-sync { left: 12px; bottom: -28px; }
}
@media (max-width: 960px) {
	.rt-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rt-features, .rt-faq { grid-template-columns: 1fr; gap: 32px; }
	.rt-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.rt-header .wp-block-navigation { gap: 24px; }
}
@media (max-width: 781px) {
	.rt-grid-2, .rt-grid-3 { grid-template-columns: 1fr; }
	.rt-hero .wp-block-columns, .rt-seo .wp-block-columns { gap: 56px; }
	.rt-plan { padding: 32px 24px; }
	.rt-plan--featured, .rt-section--white .rt-plan--featured { padding: 31px 23px; }
	.rt-plan__badge { left: 24px; }
	.rt-band { padding: 36px 28px; }
	.rt-compare { overflow-x: auto; }
	.rt-compare th, .rt-compare td { padding: 14px 12px; font-size: 14px; }
	.rt-compare td:first-child { width: auto; }
	.rt-header__login { display: none; }
	.rt-header__inner { flex-wrap: nowrap !important; gap: 12px; }
	.rt-header .wp-block-navigation { order: 3; }
	.rt-header__actions { margin-left: auto; }
	.rt-sync { position: static; margin-top: 16px; }
	.rt-browser__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.rt-serp { padding: 20px; }
	.rt-card { padding: 28px; }
}
@media (max-width: 480px) {
	.rt-footer__cols { grid-template-columns: 1fr; }
	.rt-billing button { padding: 0 14px; font-size: 14px; }
	.rt-logo__word { font-size: 24px; }
	.rt-logo svg { width: 38px; height: 32px; }
	.rt-header__actions .wp-block-button__link { padding: 0.5rem 0.9rem; font-size: 14px; }
}
.rt-doc .rt-lead { max-width: none; }

/* ---------- WooCommerce pages ---------- */
.rt-shop { padding-top: clamp(40px, 5vw, 64px) !important; padding-bottom: var(--rt-section) !important; }
.rt-shop .wp-block-post-title { font-size: clamp(34px, 4vw, 48px); margin-bottom: 32px; }
.woocommerce-account .rt-doc { padding-bottom: var(--rt-section) !important; }

/* ---------- Search ---------- */
.wp-block-search__inside-wrapper { gap: 10px; }
.wp-block-search__input { min-height: 52px; padding: 0 20px; border: 1.5px solid #B9B09F; border-radius: 999px; background: #fff; color: var(--rt-ink); font: inherit; }
.wp-block-search__input:focus { outline: 2px solid var(--rt-pine); outline-offset: 1px; border-color: var(--rt-pine); }
.wp-block-search__button { margin-left: 0; }

/* ---------- WooCommerce header icons (account + mini-cart, added by WooCommerce) ---------- */
.rt-header__inner { justify-content: flex-start !important; }
.rt-header__inner > .wp-block-navigation { margin-left: auto; margin-right: auto; }
.rt-header__inner > .wp-block-woocommerce-customer-account,
.rt-header__inner > .wp-block-woocommerce-mini-cart { margin: 0 !important; color: var(--rt-ink); }
.rt-header__inner > .wp-block-woocommerce-customer-account { display: none; }
.rt-header .wc-block-mini-cart__button { min-width: 44px; min-height: 44px; padding: 0; color: var(--rt-ink); }
.rt-header .wc-block-customer-account__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--rt-ink); }
.rt-header .wc-block-mini-cart__badge { background: var(--rt-maple); color: #fff; }
@media (max-width: 781px) {
	.rt-header__inner > .wp-block-woocommerce-customer-account { display: block; margin-left: auto !important; }
	.rt-header__inner > .wp-block-woocommerce-mini-cart { order: 2; }
	.rt-header__inner > .rt-header__actions { order: 2; margin-left: 0; }
	.rt-header__inner > .wp-block-woocommerce-customer-account { order: 1; }
	.rt-header .rt-header__actions .wp-block-buttons { display: none; }
}

/* ---------- My Account ---------- */
.rt-account .wp-block-post-title { margin-bottom: 32px; }
.rt-account .woocommerce { width: 100%; max-width: none !important; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.rt-account .woocommerce-Addresses::before, .rt-account .woocommerce-Addresses::after, .rt-account .col2-set::before, .rt-account .col2-set::after, .rt-account #customer_login::before, .rt-account #customer_login::after,
.rt-account .woocommerce::before, .rt-account .woocommerce::after { content: none !important; display: none !important; }
.rt-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.rt-account .woocommerce-notices-wrapper:empty { display: none; }
.rt-account .woocommerce-MyAccount-navigation, .rt-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; margin: 0 !important; }
.rt-account .woocommerce-MyAccount-navigation { background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 12px; position: sticky; top: 24px; }
.rt-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rt-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
.rt-account .woocommerce-MyAccount-navigation li a br { display: none; }
.rt-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--rt-ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.rt-account .woocommerce-MyAccount-navigation li a, .rt-account .woocommerce-MyAccount-navigation li a:hover { text-decoration: none; }
.rt-account .woocommerce-MyAccount-navigation li a::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor; -webkit-mask: var(--rt-ico, none) center / contain no-repeat; mask: var(--rt-ico, none) center / contain no-repeat; opacity: .8; }
.rt-account .woocommerce-MyAccount-navigation li a:hover { background: var(--rt-ivory); color: var(--rt-pine); }
.rt-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--rt-pine-light); color: var(--rt-pine); font-weight: 700; }
.rt-account .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--rt-line) !important; margin-top: 6px !important; padding-top: 6px !important; }
.rt-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--rt-muted); background: transparent; }
.rt-account .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: clamp(24px, 3vw, 40px); min-width: 0; }
.rt-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.rt-account .woocommerce-MyAccount-content p { color: var(--rt-muted); }
.rt-account .woocommerce-MyAccount-content h2, .rt-account .woocommerce-MyAccount-content h3 { font-family: Fraunces, Georgia, serif; font-size: 26px; margin: 0 0 16px; }
.rt-account .woocommerce-MyAccount-content a:not(.button):not(.rt-account-card) { color: var(--rt-pine); }
.rt-account-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rt-account-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 16px; background: var(--rt-ivory); border: 1px solid var(--rt-line); text-decoration: none; color: var(--rt-ink); }
.rt-account-card strong { font-size: 17px; }
.rt-account-card span { font-size: 14px; color: var(--rt-muted); line-height: 1.5; }
.rt-account-card:hover { border-color: var(--rt-pine); background: #F2F8F6; }

/* Tables (orders, subscriptions, licence keys, downloads) */
.rt-account .woocommerce-MyAccount-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--rt-line); border-radius: 14px; overflow: hidden; font-size: 15px; margin: 0 0 24px; }
.rt-account .woocommerce-MyAccount-content table th { background: #EFEBE2; font-weight: 700; text-align: left; }
.rt-account .woocommerce-MyAccount-content table th, .rt-account .woocommerce-MyAccount-content table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--rt-line); vertical-align: middle; }
.rt-account .woocommerce-MyAccount-content table tr:last-child td { border-bottom: 0; }
.rt-account .woocommerce-MyAccount-content table code, .rt-account .woocommerce-MyAccount-content .lmfwc-myaccount-license-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--rt-ivory); padding: 4px 8px; border-radius: 6px; }
.rt-account mark { background: var(--rt-pine-light); color: var(--rt-pine); padding: 2px 8px; border-radius: 999px; font-weight: 600; }

/* Buttons and forms inside account, login and register */
.rt-account .button, .rt-account button[type=submit], .rt-account .woocommerce-Button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--rt-pine); color: #fff !important; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; margin: 2px 4px 2px 0; }
.rt-account .button:hover, .rt-account button[type=submit]:hover { background: var(--rt-pine-dark); color: #fff; }
.rt-account table .button { min-height: 36px; padding: 0 14px; font-size: 14px; }
.rt-account form .form-row { margin: 0 0 18px; padding: 0; }
.rt-account form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--rt-ink); }
.rt-account form label.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.rt-account input.input-text, .rt-account input[type=text], .rt-account input[type=email], .rt-account input[type=password], .rt-account input[type=tel], .rt-account select, .rt-account textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1.5px solid #D9D2C4; border-radius: 12px; background: #fff; font: inherit; color: var(--rt-ink); }
.rt-account input:focus, .rt-account select:focus, .rt-account textarea:focus { outline: 2px solid var(--rt-pine); outline-offset: 1px; border-color: var(--rt-pine); }
.rt-account fieldset { border: 1px solid var(--rt-line); border-radius: 14px; padding: 20px; margin: 24px 0; }
.rt-account fieldset legend { font-weight: 700; padding: 0 6px; }
.rt-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rt-account .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; padding: 20px; border: 1px solid var(--rt-line); border-radius: 14px; }
.rt-account .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rt-account .woocommerce-MyAccount-content .woocommerce-Address-title h2, .rt-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 { font-family: 'DM Sans', system-ui, sans-serif; font-size: 17px; font-weight: 700; margin: 0; }
.rt-account .woocommerce-Address-title a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.rt-account .woocommerce-Address-title::before, .rt-account .woocommerce-Address-title::after { content: none !important; display: none !important; }
.rt-account .woocommerce-Address address { margin-top: 10px; }
.rt-account address { font-style: normal; line-height: 1.6; color: var(--rt-muted); }

/* Logged out: login + register side by side */
.rt-account .woocommerce:has(> #customer_login), .rt-account .woocommerce:has(> .woocommerce-form-login) { display: block; }
.rt-account #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rt-account #customer_login > div { float: none; width: auto; }
.rt-account #customer_login h2 { font-family: Fraunces, Georgia, serif; font-size: 28px; margin: 0 0 16px; }
.rt-account form.login, .rt-account form.register, .rt-account > .woocommerce > form.woocommerce-form-login { background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 32px; margin: 0; max-width: 520px; }
.rt-account #customer_login form { max-width: none; }
.rt-account .lost_password a { color: var(--rt-pine); }

@media (max-width: 860px) {
	.rt-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.rt-account .woocommerce-MyAccount-navigation, .rt-account .woocommerce-MyAccount-content { min-width: 0; max-width: 100%; }
	.rt-account .woocommerce-MyAccount-navigation { position: static; padding: 8px; }
	.rt-account .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; scrollbar-width: none; }
	.rt-account .woocommerce-MyAccount-navigation li a { white-space: nowrap; padding: 0 12px; }
	.rt-account .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
	.rt-account-cards, .rt-account .woocommerce-Addresses, .rt-account #customer_login { grid-template-columns: 1fr; }
	.rt-account .woocommerce-MyAccount-content { overflow-x: auto; }
	.rt-account .woocommerce-MyAccount-content table.shop_table_responsive tr td::before { font-weight: 700; }
}

.rt-account .woocommerce-MyAccount-navigation-link--dashboard a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--orders a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12l2 4v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6z'/%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M9 11h6'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--view-license-keys a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9'/%3E%3Cpath d='M17 6l3 3'/%3E%3Cpath d='M15 8l2 2'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--view-applications a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 18v3'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--subscriptions a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 4v5h-5'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--downloads a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--edit-address a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--payment-methods a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h4'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--edit-account a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation-link--customer-logout a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E"); }
.rt-account .woocommerce-MyAccount-navigation li:not([class*='--dashboard']):not([class*='--orders']):not([class*='license']):not([class*='applications']):not([class*='subscriptions']):not([class*='downloads']):not([class*='address']):not([class*='payment']):not([class*='edit-account']):not([class*='logout']):not([class*='handbook']) a::before { -webkit-mask: none; mask: none; width: 8px; height: 8px; border-radius: 50%; margin: 0 5px; }

.rt-account .wp-block-post-content > .woocommerce, .rt-account .wp-block-post-content > p:empty { margin-top: 0; }
.rt-account .wp-block-post-content > p:has(> br:only-child) { display: none; }
.woocommerce-account .rt-account .wp-block-post-title, .woocommerce-account .rt-account > * { max-width: 1180px !important; }
.rt-account .woocommerce-MyAccount-content table tbody th { background: transparent; font-weight: 600; }
.rt-account .button, .rt-account button[type=submit] { line-height: 1.2; }
.rt-account .woocommerce-MyAccount-navigation li, .rt-account .woocommerce-MyAccount-navigation-link--customer-logout { background: transparent !important; }
.rt-account .woocommerce-MyAccount-content .button { padding-top: 0 !important; padding-bottom: 0 !important; }
.rt-account .woocommerce-MyAccount-content table .button { display: inline-flex !important; align-items: center !important; justify-content: center; height: 36px; min-height: 36px; line-height: 1 !important; }
.rt-account .woocommerce > h2 { font-size: 26px; margin: 0 0 16px; }
.rt-account .woocommerce-MyAccount-content .woocommerce-info .button, .rt-account .woocommerce-message .button { background: transparent; color: var(--rt-pine) !important; min-height: 0; padding: 0 !important; text-decoration: underline; }

/* ---------- Showcase: website previews ---------- */
.rt-site-card { display: flex; flex-direction: column; }
.rt-site-frame { border: 1px solid var(--rt-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(21,33,43,.06), 0 14px 32px -18px rgba(21,33,43,.35); transition: transform .3s ease, box-shadow .3s ease; }
.rt-site-card:hover .rt-site-frame { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(21,33,43,.06), 0 22px 40px -20px rgba(21,33,43,.45); }
.rt-site-frame__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #F1EDE4; border-bottom: 1px solid var(--rt-line); }
.rt-site-frame__dots { display: inline-flex; gap: 5px; flex: none; }
.rt-site-frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: #D8D2C6; }
.rt-site-frame__dots i:nth-child(1) { background: #E2786A; }
.rt-site-frame__dots i:nth-child(2) { background: #E9B95C; }
.rt-site-frame__dots i:nth-child(3) { background: #79BE86; }
.rt-site-frame__address { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #E4DED1; border-radius: 999px; padding: 4px 10px; font-size: 12px; line-height: 16px; color: #5B6670; }
.rt-site-frame__address svg { flex: none; color: #0E4A43; }
.rt-site-frame__address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-site-frame__view { height: 340px; overflow: hidden; background: #EFEBE2; }
.rt-site-frame__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: object-position 7s ease-in-out; }
.rt-site-card:hover .rt-site-frame__view img, .rt-site-card:focus-within .rt-site-frame__view img { object-position: 50% 100%; }
.rt-site-card h3 { margin-top: 18px; }
.rt-site-card__cta { margin-top: auto; padding-top: 6px; }
.rt-site-card__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border: 1.5px solid #0E4A43; border-radius: 999px; color: #0E4A43; font-weight: 600; font-size: 14px; text-decoration: none; transition: background .2s ease, color .2s ease; }
.rt-site-card__btn:hover, .rt-site-card__btn:focus-visible { background: #0E4A43; color: #fff; }
.rt-site-card__btn:focus-visible { outline: 2px solid #B8432A; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rt-site-frame, .rt-site-frame__view img { transition: none; } .rt-site-card:hover .rt-site-frame__view img { object-position: 50% 0%; } }
.rt-site-card .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Header: My account menu ---------- */
.rt-acct { position: relative; }
.rt-acct summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--rt-ink); }
.rt-acct summary::-webkit-details-marker { display: none; }
.rt-acct[open] summary svg { transform: rotate(180deg); }
.rt-acct__menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 50; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--rt-line); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(21,33,43,.45); }
.rt-acct__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--rt-ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.rt-acct__menu a:hover, .rt-acct__menu a:focus-visible { background: #F1EDE4; color: #0E4A43; }
.rt-acct__out { border-top: 1px solid var(--rt-line); margin-top: 4px; padding-top: 4px; }
.rt-acct__out a { color: var(--rt-muted); }
.rt-account .woocommerce-MyAccount-navigation-link--realtie-handbook a { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h11a3 3 0 0 1 3 3v13H7a3 3 0 0 1-3-3V4z'/%3E%3Cpath d='M4 17a3 3 0 0 1 3-3h11'/%3E%3C/svg%3E"); }

/* ---------- Hero listing photos + features screenshot ---------- */
.rt-listing__img { position: relative; overflow: hidden; }
.rt-listing__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rt-listing__img .rt-chip { position: relative; z-index: 1; }
.rt-feature-shot { margin: 36px 0 0; }
.rt-feature-shot .rt-site-frame__view { height: 300px; }
.rt-feature-shot:hover .rt-site-frame__view img { object-position: 50% 100%; }
.rt-feature-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--rt-muted); }
@media (max-width: 781px) { .rt-feature-shot .rt-site-frame__view { height: 320px; } }

.rt-listing__addr { display: block; margin-top: 3px; font-size: 11.5px; color: var(--rt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 1081px) { .rt-sync { bottom: -62px; } }


/* News page: horizontal post cards (image left, text right) */
.rt-news-list{display:flex;flex-direction:column;gap:28px;margin:0;padding:0;list-style:none}
.rt-news-list > li{margin:0}
.rt-card.rt-news-item{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:36px;align-items:center;padding:22px}
.rt-news-thumb{margin:0}
.rt-news-thumb a,.rt-news-thumb img{display:block}
.rt-news-thumb img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:12px}
.rt-news-body .wp-block-post-title{font-size:clamp(1.3rem,1.1rem + .9vw,1.75rem);line-height:1.25;margin:.35rem 0 .7rem}
.rt-news-body .wp-block-post-excerpt{margin:0}
.rt-news-body .wp-block-post-excerpt__excerpt{margin:0}
@media (max-width:782px){.rt-card.rt-news-item{grid-template-columns:1fr;gap:16px;padding:16px}}


/* Checklist lists (e.g. SEO checklist in News posts) */
ul.rt-checklist{list-style:none;padding-left:0;margin-left:0}
ul.rt-checklist li{position:relative;padding-left:2.1em;margin:.7em 0}
ul.rt-checklist li::before{content:"";position:absolute;left:0;top:.15em;width:1.35em;height:1.35em;border-radius:50%;background:#0E4A43 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23F6F3EC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat}
