/*
Theme Name: Rabi's Collection
Description: WhatsApp catalog theme for Rabi's Collection — authentic Pakistani ready-to-wear, shipped from Bangkok. Needs WooCommerce and the Rabi's Catalog plugin.
Version: 1.0.0
Author: Rabi's Collection
Requires PHP: 7.4
Text Domain: rabis
*/

:root {
	--green: #0B4D2C;
	--green-dark: #08381F;
	--gold: #B8892E;
	--cream: #FBF6EE;
	--sand: #F4EBDD;
	--sand-2: #F1E7D6;
	--sand-3: #EFE3CF;
	--ink: #1F2A22;
	--ink-2: #3D473F;
	--muted: #5E554A;
	--muted-2: #7B7266;
	--line: rgba(31, 42, 34, .1);
	--line-2: rgba(31, 42, 34, .08);
	--sale: #A0302A;
	--on-green: #E6D9BF;
	--r-ctl: 10px;
	--r-card: 16px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 15px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease); }
a:hover { color: var(--green-dark); }
button { font-family: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.rt-skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; padding: 8px 16px; border-radius: var(--r-ctl); }

.rt-wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.rt-stitch { display: block; width: 64px; border-top: 2px dashed var(--gold); margin-top: 8px; }
.rt-stitch-wide { width: 96px; margin-top: 0; }
.rt-eyebrow { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.rt-link { background: none; border: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11, 77, 44, .35); }
.rt-link:hover { text-decoration-color: var(--green); }

/* Buttons */
.rt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid transparent; font: 600 14px/1 var(--sans); white-space: nowrap; }
.rt-btn-primary { background: var(--green); color: #fff; }
.rt-btn-primary:hover { background: var(--green-dark); color: #fff; }
.rt-btn-ghost { border-color: rgba(11, 77, 44, .4); color: var(--green); background: transparent; }
.rt-btn-ghost:hover { background: var(--sand-2); color: var(--green); }
.rt-btn-cream { background: var(--cream); color: var(--green); height: 48px; padding: 0 20px; font-size: 15px; font-variant-numeric: tabular-nums; }
.rt-btn-cream:hover { background: #fff; color: var(--green); }
.rt-footer .rt-btn-cream, .rt-footer .rt-btn-cream:hover { color: var(--green); }
.rt-btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }
.rt-btn-xl { height: 56px; font-size: 16px; width: 100%; }
.rt-btn-block { width: 100%; }
.rt-icon-btn { width: 44px; height: 44px; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.rt-icon-btn:hover { background: var(--sand-2); }

/* Top bar */
.rt-topbar { background: var(--green); color: #F6EBD3; font-size: 13px; font-weight: 500; }
.rt-topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 8px; padding-bottom: 8px; }
.rt-topbar-msgs { display: flex; flex-wrap: wrap; gap: 4px 40px; }
.rt-topbar-soc { display: flex; gap: 4px; }
.rt-soc-top { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--on-green); }
.rt-soc-top:hover { color: #fff; }
.rt-soc-top svg { width: 16px; height: 16px; }

/* Header */
.rt-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.rt-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 12px; padding-bottom: 12px; }
.rt-menu-open { display: none; }
.rt-logo { display: flex; align-items: center; gap: 12px; color: var(--green); }
.rt-logo-mark img { width: 72px; height: 60px; object-fit: contain; }
.rt-logo-text { display: flex; flex-direction: column; line-height: 1; }
.rt-logo-name { font: 600 28px/1 Cinzel, Georgia, serif; letter-spacing: .04em; }
.rt-logo-sub { font-size: 10px; font-weight: 600; letter-spacing: .42em; margin-top: 4px; }
.rt-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 15px; font-weight: 500; }
.rt-menu a { color: var(--ink-2); padding: 8px 0; display: block; border-bottom: 2px solid transparent; }
.rt-menu a:hover { color: var(--green); }
.rt-menu .current-menu-item > a, .rt-menu a[aria-current="page"] { color: var(--green); border-bottom-color: var(--gold); }
.rt-menu .rt-menu-sale a, .rt-menu .menu-sale a { color: var(--sale); }
.rt-menu .sub-menu { display: none; }
.rt-header-tools { display: flex; align-items: center; gap: 12px; }
.rt-country-compact { display: none; }
.rc-country-toggle { height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(11, 77, 44, .4); background: #fff; color: var(--green); font: 600 12px/1 var(--sans); }
.rt-search { border-top: 1px solid var(--line); background: var(--cream); }
.rt-search-form { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.rt-search-form input[type=search] { flex: 1; height: 44px; border: 1px solid rgba(31, 42, 34, .25); border-radius: var(--r-ctl); padding: 0 16px; font: 400 15px var(--sans); background: #fff; }

/* Drawer (phone menu) */
.rt-drawer { position: fixed; inset: 0; z-index: 200; }
.rt-drawer[hidden] { display: none; }
.rt-drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 30, 20, .5); }
.rt-drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: var(--cream); padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.rt-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.rt-drawer-head .rt-logo-mark img { width: 48px; height: 40px; }
.rt-drawer-head .rt-logo-name { font-size: 20px; }
.rt-drawer .rt-menu { flex-direction: column; gap: 0; font-size: 17px; }
.rt-drawer .rt-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rt-drawer-country { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.rt-drawer-soc { display: flex; gap: 8px; }
.rt-drawer-soc .rt-soc { border-color: rgba(11, 77, 44, .3); color: var(--green); }

/* Hero */
.rt-hero { background: var(--sand); }
.rt-hero-inner { display: flex; flex-wrap: wrap; align-items: stretch; padding: 0; }
.rt-hero-text { flex: 1 1 480px; padding: 96px 32px 80px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.rt-hero h1 { font: 600 72px/1.02 var(--serif); letter-spacing: -.02em; color: var(--green); max-width: 9.5em; }
.rt-hero p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 30rem; }
.rt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.rt-hero-media { flex: 1 1 560px; min-height: 480px; position: relative; overflow: hidden; }
.rt-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Why strip */
.rt-why { border-bottom: 1px solid var(--line); }
.rt-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; }
.rt-why-grid > div { display: flex; gap: 12px; align-items: center; color: var(--green); }
.rt-why-grid svg { flex: 0 0 auto; }
.rt-why-grid strong { display: block; font-size: 15px; color: var(--ink); }
.rt-why-grid span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* Sections */
.rt-section { padding-top: 64px; }
.rt-section-last { padding-bottom: 80px; }
.rt-main > .rt-section:last-child, .rt-main > section:last-of-type { padding-bottom: 80px; }
.rt-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.rt-section-head h2, .rt-shop-head h1 { font: 600 44px/1.1 var(--serif); color: var(--green); }
.rt-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; }
.rt-head-actions { display: flex; gap: 12px; }

/* Categories */
.rt-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding-top: 48px; }
.rt-cat { display: flex; align-items: center; gap: 16px; background: var(--sand); border-radius: var(--r-card); overflow: hidden; height: 96px; color: var(--green); padding-right: 16px; }
.rt-cat:hover { background: var(--sand-3); color: var(--green); }
.rt-cat img, .rt-cat-ph { width: 88px; height: 96px; object-fit: cover; flex: 0 0 auto; }
.rt-cat-ph { background: var(--sand-3); }
.rt-cat-name { flex: 1; font: 600 22px/1.1 var(--serif); }

/* Product grid + card */
.rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 24px; }
.rt-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.rt-card-media { position: relative; aspect-ratio: 5 / 6; background: var(--sand); }
.rt-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rt-card.is-out .rt-card-media img { opacity: .6; }
.rt-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; }
.rt-badge-out { background: var(--ink); color: #fff; }
.rt-badge-gold { background: var(--gold); color: var(--ink); }
.rt-card-body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rt-card-title { font: 600 15px/1.4 var(--sans); }
.rt-card-title a { color: var(--ink); }
.rt-card-title a:hover { color: var(--green); }
.rt-card-code { display: block; font-size: 12px; color: var(--muted-2); }
.rt-card-price { font-size: 20px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.rt-card-price ins, .rt-product-price ins { color: var(--sale); }
.rt-card-sizes { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.rt-card-actions { margin-top: auto; padding-top: 8px; }
.rt-card-ask { font-size: 13px; font-weight: 600; text-align: center; padding-top: 4px; }

/* Banners */
.rt-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.rt-banner { position: relative; display: block; height: 360px; border-radius: var(--r-card); overflow: hidden; background: var(--green); }
.rt-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rt-banner-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px; background: rgba(8, 46, 27, .88); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
.rt-banner-tag { display: block; font-size: 13px; color: var(--on-green); }
.rt-banner-title { display: block; font: 600 30px/1.1 var(--serif); margin-top: 4px; }
.rt-banner-go { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }

/* Bestsellers */
.rt-best { display: flex; flex-wrap: wrap; gap: 24px; }
.rt-best-top { flex: 1 1 440px; position: relative; min-height: 520px; border-radius: var(--r-card); overflow: hidden; background: var(--green); color: #fff; }
.rt-best-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rt-best-top .rc-badge { position: absolute; top: 16px; left: 16px; }
.rt-best-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: rgba(8, 46, 27, .88); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rt-best-name { display: block; font: 600 30px/1.1 var(--serif); }
.rt-best-code { display: block; font-size: 13px; color: var(--on-green); margin-top: 4px; }
.rt-best-price { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rt-best-price ins { color: #fff; }
.rt-best-list { flex: 1 1 440px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.rt-best-row { display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 12px 20px 12px 12px; }
.rt-best-row img { width: 112px; height: 132px; border-radius: var(--r-ctl); object-fit: cover; object-position: center top; flex: 0 0 auto; }
.rt-best-rank { font: 500 40px/1 var(--serif); color: var(--gold); width: 32px; flex: 0 0 auto; }
.rt-best-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rt-best-info a { color: var(--ink); font-weight: 600; }
.rt-best-row-price { font-size: 18px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }

/* How to order */
.rt-how { background: var(--sand); border-radius: var(--r-card); padding: 40px; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.rt-how-intro { flex: 0 1 280px; }
.rt-how-intro h2 { font: 600 40px/1.1 var(--serif); color: var(--green); }
.rt-how-intro p { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.rt-how-steps { flex: 1 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.rt-how-steps > div { display: flex; flex-direction: column; gap: 8px; }
.rt-how-num { font: 600 32px/1 var(--serif); color: var(--green); }
.rt-how-steps h3 { font-size: 16px; font-weight: 600; }
.rt-how-steps p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* Reviews + social */
.rt-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.rt-review { margin: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; }
.rt-review img { width: 100%; height: 240px; object-fit: cover; }
.rt-review figcaption { padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.rt-review strong { font-size: 13px; color: var(--green); }
.rt-social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.rt-social-grid a { display: block; aspect-ratio: 1 / 1; border-radius: var(--r-ctl); overflow: hidden; }
.rt-social-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.rt-footer { background: var(--green); color: var(--on-green); margin-top: 80px; }
.rt-footer a { color: var(--on-green); }
.rt-footer a:hover { color: #fff; }
.rt-footer-main { display: flex; flex-wrap: wrap; gap: 40px 48px; padding-top: 64px; padding-bottom: 32px; }
.rt-footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.rt-footer-brand p { margin: 0; font-size: 14px; max-width: 22rem; }
.rt-logo-footer { color: #fff; }
.rt-logo-footer .rt-logo-mark { width: 72px; height: 72px; border-radius: 999px; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.rt-logo-footer .rt-logo-mark img { width: 56px; height: 48px; }
.rt-logo-footer .rt-logo-sub { color: var(--on-green); }
.rt-footer-soc { display: flex; gap: 8px; }
.rt-soc { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(230, 217, 191, .4); display: flex; align-items: center; justify-content: center; }
.rt-footer .rt-soc:hover { background: var(--cream); color: var(--green); }
.rt-footer-col { flex: 0 1 172px; font-size: 14px; }
.rt-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rt-footer-title { display: block; font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 16px; }
.rt-footer-contact { flex: 1 1 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rt-footer-contact .rt-footer-title { margin-bottom: 4px; }
.rt-footer-small { font-size: 13px; line-height: 1.5; }
.rt-footer-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-bottom: 32px; }
.rt-footer-pay .rt-footer-title { margin: 0 4px 0 0; font-size: 13px; }
.rt-pay { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid rgba(230, 217, 191, .4); font-size: 12px; font-weight: 600; }
.rt-pay span { opacity: .7; }
.rt-footer-copy { border-top: 1px solid rgba(230, 217, 191, .2); text-align: center; font-size: 12px; padding: 16px; }

.rt-float-wa { position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 999px; background: #1FA855; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); z-index: 40; }
.rt-float-wa:hover { color: #fff; background: #1a944b; }
.rt-bottom-bar { display: none; }

/* Shop */
.rt-shop { padding-top: 40px; }
.rt-shop-head { align-items: flex-end; }
.rt-shop-desc { margin-top: 12px; color: var(--muted); max-width: 40rem; }
.rt-count { font-size: 14px; color: var(--muted); }
.rt-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 24px; scrollbar-width: none; }
.rt-chips::-webkit-scrollbar { display: none; }
.rt-chips a { flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(31, 42, 34, .18); color: var(--ink-2); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; background: #fff; }
.rt-chips a:hover { border-color: var(--green); color: var(--green); }
.rt-chips a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.rt-chips .rt-chip-sale { color: var(--sale); }
.rt-pagination { display: flex; gap: 8px; justify-content: center; padding-top: 40px; flex-wrap: wrap; }
.rt-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: #fff; }
.rt-pagination .current { background: var(--green); border-color: var(--green); color: #fff; }
.rt-empty { text-align: center; padding: 64px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Product page */
.rt-product { padding-top: 24px; }
.rt-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.rt-crumbs a { color: var(--muted); }
.rt-product-main { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.rt-gallery { flex: 1 1 520px; display: flex; gap: 12px; min-width: 0; }
.rt-thumbs { display: flex; flex-direction: column; gap: 8px; }
.rt-thumb { width: 84px; height: 100px; padding: 0; border-radius: var(--r-ctl); overflow: hidden; border: 2px solid transparent; background: var(--sand); }
.rt-thumb[aria-pressed="true"] { border-color: var(--green); }
.rt-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rt-gallery-main { flex: 1; position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; min-width: 0; }
.rt-gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rt-product-info { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rt-product-title { font: 600 44px/1.08 var(--serif); color: var(--green); margin: 4px 0 8px; }
.rt-product-info .rt-stitch { margin-top: 12px; }
.rt-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; font-size: 32px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.rt-ship { font-size: 14px; font-weight: 500; }
.rt-sizes { display: flex; flex-direction: column; gap: 12px; }
.rt-sizes-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.rt-size-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-size-btns button { min-width: 56px; height: 48px; padding: 0 12px; border-radius: var(--r-ctl); border: 1.5px solid rgba(31, 42, 34, .25); background: #fff; color: var(--ink); font: 600 15px var(--sans); }
.rt-size-btns button:hover { border-color: var(--green); }
.rt-size-btns button[aria-checked="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.rt-out-note { margin: 0; color: var(--sale); font-weight: 600; }
.rt-wa-box { background: #fff; border: 2px dashed var(--gold); border-radius: var(--r-card); padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.rt-wa-box span { font-size: 13px; font-weight: 600; color: var(--muted); }
.rt-wa-box p { margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.rt-details { border-top: 1px solid var(--line); padding-top: 16px; }
.rt-details h2 { font: 600 16px var(--sans); margin-bottom: 8px; }
.rt-details table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rt-details th, .rt-details td { padding: 10px 0; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.rt-details th { width: 120px; color: var(--muted); font-weight: 500; }
.rt-details tr:last-child th, .rt-details tr:last-child td { border-bottom: 0; }
.rt-desc { font-size: 14px; color: var(--ink-2); }
.rt-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* Plain pages */
.rt-page { padding-top: 48px; max-width: 820px; }
.rt-page h1 { font: 600 48px/1.1 var(--serif); color: var(--green); }
.rt-prose { padding-top: 16px; font-size: 16px; }
.rt-prose h2 { font: 600 28px var(--serif); color: var(--green); margin: 32px 0 8px; }

/* Tablet */
@media (max-width: 1100px) {
	.rt-nav { display: none; }
	.rt-menu-open { display: inline-flex; }
	.rt-header-inner { gap: 8px; }
	.rt-logo { margin-right: auto; }
}

/* Phone */
@media (max-width: 720px) {
	body { font-size: 15px; padding-bottom: 68px; }
	.rt-wrap { padding: 0 16px; }
	.rt-topbar-msgs { justify-content: center; width: 100%; gap: 4px 16px; font-size: 12px; }
	.rt-topbar-msgs span:nth-child(n+2) { display: none; }
	.rt-topbar-soc { display: none; }
	.rt-header-inner { padding-top: 8px; padding-bottom: 8px; }
	.rt-logo-mark img { width: 44px; height: 38px; }
	.rt-logo-name { font-size: 20px; }
	.rt-logo-sub { font-size: 7px; letter-spacing: .4em; margin-top: 3px; }
	.rt-header .rt-search-open, .rt-header-wa, .rt-country-full { display: none; }
	.rt-country-compact { display: inline-flex; }
	.rt-hero-text { padding: 32px 16px 32px; gap: 12px; order: 2; }
	.rt-hero h1 { font-size: 40px; }
	.rt-hero p { font-size: 15px; }
	.rt-hero-media { min-height: 360px; flex-basis: 100%; order: 1; }
	.rt-hero-actions .rt-btn { flex: 1; }
	.rt-why-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
	.rt-why-grid span { display: none; }
	.rt-why-grid strong { font-size: 13px; }
	.rt-section { padding-top: 40px; }
	.rt-section-head h2, .rt-shop-head h1 { font-size: 32px; }
	.rt-cats { display: flex; overflow-x: auto; gap: 12px; padding-top: 24px; scrollbar-width: none; }
	.rt-cats::-webkit-scrollbar { display: none; }
	.rt-cat { flex: 0 0 auto; flex-direction: column; height: auto; width: 84px; background: transparent; padding: 0; gap: 8px; text-align: center; }
	.rt-cat img, .rt-cat-ph { width: 72px; height: 72px; border-radius: 999px; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px rgba(11, 77, 44, .35); }
	.rt-cat-name { font: 600 12px/1.3 var(--sans); }
	.rt-cat svg { display: none; }
	.rt-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.rt-card-body { padding: 12px; gap: 6px; }
	.rt-card-title { font-size: 13px; }
	.rt-card-price { font-size: 17px; }
	.rt-card-sizes, .rt-card-ask { display: none; }
	.rt-card .rt-btn { height: 40px; font-size: 13px; padding: 0 8px; }
	.rt-banners { grid-template-columns: 1fr; gap: 16px; }
	.rt-banner { height: 220px; }
	.rt-best-top { min-height: 420px; flex-basis: 100%; }
	.rt-best-list { flex-basis: 100%; }
	.rt-best-row { gap: 12px; padding: 8px 12px 8px 8px; }
	.rt-best-row img { width: 72px; height: 88px; }
	.rt-best-rank { font-size: 28px; width: 20px; }
	.rt-best-row .rt-btn { padding: 0 12px; }
	.rt-how { padding: 24px 16px; }
	.rt-how-intro h2 { font-size: 30px; }
	.rt-footer { margin-top: 56px; }
	.rt-footer-main { padding-top: 40px; gap: 32px; }
	.rt-footer-col { flex-basis: 40%; }
	.rt-float-wa { display: none; }
	.rt-bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 68px; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; z-index: 60; padding-bottom: env(safe-area-inset-bottom); }
	.rt-bottom-bar a, .rt-bottom-bar button { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 11px var(--sans); color: #4F5A51; background: none; border: 0; }
	.rt-bottom-bar [aria-current="page"] { color: var(--green); }
	.rt-bottom-bar .rt-bottom-wa { color: #1A8A47; }
	.rt-bottom-wa span { width: 40px; height: 40px; margin-top: -18px; border-radius: 999px; background: #1FA855; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(31, 168, 85, .4); }
	.rt-gallery { flex-direction: column-reverse; flex-basis: 100%; }
	.rt-thumbs { flex-direction: row; overflow-x: auto; }
	.rt-thumb { width: 64px; height: 76px; flex: 0 0 auto; }
	.rt-product-title { font-size: 32px; }
	.rt-product-price { font-size: 26px; }
	.rt-shop { padding-top: 24px; }
	.rt-page h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}
