/*
Theme Name: Khashab
Theme URI: https://seifweb.com
Author: SeifWeb
Author URI: https://seifweb.com
Description: متجر أثاث وديكور على WooCommerce: غرف المعيشة والنوم والطعام والمكتب المنزلي والجلسات الخارجية والإضاءة، بمقاسات وخامات واضحة لكل قطعة، وقطع تُصنع حسب الطلب، وتوصيل وتركيب في كل الإمارات والدفع عند الاستلام. عربي أولًا ومصمَّم للهاتف. A furniture and home décor store for WooCommerce — dimensions and materials on every piece, made-to-order lead times, delivery and assembly across the UAE and cash on delivery — Arabic first and built for phones.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: khashab
Tags: e-commerce, rtl-language-support, custom-logo, custom-menu
*/

/* ---------- Tokens: warm white, oak, deep olive, linen; terracotta only for offers ---------- */
:root {
	--paper: #faf7f2;
	--card: #fffdf9;
	--linen: #ece4d8;
	--linen-2: #f4eee5;
	--line: #e3d9ca;
	--oak: #b08a5b;
	--oak-dark: #7b5a33;
	--oak-light: #d2b48a;
	--olive: #3f4a3c;
	--olive-deep: #2f382d;
	--action: #24302a;
	--action-hover: #3f4a3c;
	--ink: #26231f;
	--ink-2: #4f483f;
	--muted: #6c6358;
	--terracotta: #c46a4a;
	--sale: #a64b31;
	--ok: #3f6b45;
	--on-dark: #ece4d8;
	--on-dark-2: #d9cdb9;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(38, 35, 31, .05), 0 14px 34px rgba(38, 35, 31, .08);
	--font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
	--display: "Amiri", "Times New Roman", serif;
	--gutter: 16px;
	--header-h: 62px;
	--tabbar-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--ink); background: var(--paper);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
html[lang^="en"] body { line-height: 1.65; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--oak-dark); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.45; margin: 0 0 .45em; font-weight: 700; letter-spacing: 0; }
html[lang^="en"] :is(h1, h2, h3, h4) { line-height: 1.18; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 6px; }
:is(.site-footer, .band, .cta-demo, .demo-bar, .announce, .contact-card, .toast) :focus-visible { outline-color: var(--oak-light); }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset-inline-start: 12px; top: 12px; z-index: 100; background: var(--action); color: #fff; padding: 10px 16px; border-radius: 10px; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }
.muted { color: var(--muted); }
.only-desktop { display: none !important; }
/* One grading for every photo, so pictures from different rooms read as one shoot. */
.grade img, .woocommerce ul.products li.product a img { filter: saturate(.9) contrast(1.03) sepia(.06); }

/* ---------- Buttons ---------- */
.btn, .button, button.button, a.button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px;
	font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: 0; text-align: center;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s;
	background: var(--action); color: #fff; text-decoration: none;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--action-hover); color: #fff; }
.btn-dark { background: var(--action); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(38, 35, 31, .45); }
.btn-line:hover { background: var(--action); border-color: var(--action); color: #fff; }
.btn-light { background: var(--paper); color: var(--action); }
.btn-light:hover { background: var(--linen); color: var(--action); }
.btn-accent, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce button.single_add_to_cart_button { background: var(--action); color: #fff; }
.btn-accent:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce button.single_add_to_cart_button:hover { background: var(--action-hover); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
/* WooCommerce paints disabled buttons in its own purple: keep the brand colour. */
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt.disabled:hover, .woocommerce div.product form.cart .button.disabled {
	background: var(--action) !important; color: #fff !important; opacity: .5; cursor: not-allowed;
}
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--linen); color: var(--ink); }
.icon-btn .icon { width: 23px; height: 23px; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 10px; margin-inline-end: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1; }
.lang-btn:hover { border-color: var(--oak); color: var(--ink); }
.lang-btn[lang="en"] { letter-spacing: .06em; }
.lang-link .icon, .lang-foot .icon { width: 18px; height: 18px; }
.lang-foot { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Demo notice and announcement line ---------- */
.demo-bar { background: var(--action); color: #fff; font-size: 13px; }
.demo-bar-inner { display: flex; align-items: center; gap: 6px 14px; min-height: 40px; padding-block: 4px; }
.demo-bar p { margin: 0; flex: 1; min-width: 0; line-height: 1.55; }
.demo-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-bar a:hover { color: var(--oak-light); }
.demo-bar-close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.demo-bar-close:hover { background: rgba(255, 255, 255, .14); }
.demo-bar-close .icon { width: 18px; height: 18px; }
.announce { background: var(--olive); color: var(--on-dark); font-size: 13px; }
.announce-list { list-style: none; margin: 0 auto; display: flex; justify-content: center; gap: 4px 34px; padding-block: 7px; }
.announce-list li { position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 0; text-align: center; line-height: 1.5; }
.announce-list li + li { display: none; }
.announce-list .icon { width: 17px; height: 17px; color: var(--oak-light); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 247, 242, .95); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(38, 35, 31, .07); }
.admin-bar .site-header { top: 46px; }
.header-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; min-height: var(--header-h); }
.header-row > .icon-btn:first-child { justify-self: start; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { max-height: 44px; width: auto; }
.brand-mark { width: 36px; height: 36px; flex: none; color: var(--oak-dark); }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.05; white-space: nowrap; }
.brand-sub { display: none; margin-top: 4px; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
html[lang^="en"] .brand-name { text-transform: uppercase; letter-spacing: .16em; font-size: 21px; }
html[lang^="en"] .brand-sub { letter-spacing: .08em; text-transform: uppercase; font-size: 9.5px; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 2px; }
.khashab-cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--action); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; font-family: var(--font); }
.khashab-cart-count.is-empty { display: none; }
.header-search { border-top: 1px solid var(--line); padding-block: 12px; }
.nav-list, .drawer-list { list-style: none; margin: 0; padding: 0; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav .nav-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 4px; }
.main-nav .nav-list > li { position: relative; }
.main-nav .nav-list a { display: block; padding: 11px 14px; font-weight: 500; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.main-nav .nav-list a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--ink); }
.main-nav .nav-list > li > a { position: relative; }
.main-nav .nav-list > li > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 6px; height: 1px; background: var(--oak); transform: scaleX(0); transition: transform .25s; }
.main-nav .nav-list > li:hover > a::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a { padding-inline-end: 28px; }
.main-nav .menu-item-has-children > a::before { content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; inset-inline-start: 0; min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 5; }
.main-nav .sub-menu a { border-radius: 10px; padding: 9px 12px; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover { background: var(--linen-2); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* ---------- Search form ---------- */
.search-form { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 5px; padding-inline-start: 14px; max-width: 640px; margin-inline: auto; }
.search-form:focus-within { border-color: var(--oak); box-shadow: 0 0 0 3px rgba(176, 138, 91, .22); }
.search-form .icon { color: var(--muted); width: 20px; height: 20px; }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 4px; outline: none; font-size: 16px; text-overflow: ellipsis; }
.search-form input[type="search"]::placeholder { color: #786e62; opacity: 1; }
.search-form .btn { min-height: 42px; padding: 0 18px; border-radius: 10px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(38, 35, 31, .45); opacity: 0; transition: opacity .28s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; padding-bottom: env(safe-area-inset-bottom); }
[dir="ltr"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-head .brand-sub { display: block; }
.drawer-list { flex: 1; overflow: auto; padding: 8px var(--gutter); }
.drawer-list a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.5; }
.drawer-list .sub-menu { list-style: none; padding-inline-start: 14px; margin: 0; }
.drawer-list .sub-menu a { font-family: var(--font); font-weight: 500; font-size: 15px; color: var(--ink-2); padding-block: 11px; }
.drawer-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 16px var(--gutter); border-top: 1px solid var(--line); }
.drawer-foot > :first-child { grid-column: 1 / -1; }
.drawer-foot .btn { padding-inline: 12px; }

/* ---------- Sections and headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--oak-dark); margin-bottom: 6px; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--oak); }
html[lang^="en"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.eyebrow.light { color: var(--oak-light); }
.eyebrow.light::before { background: var(--oak-light); }
.section { padding-block: 48px; }
.section-follow { padding-top: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head > div { min-width: 0; }
.section-head h2 { font-size: 30px; margin: 0; }
.section-lead { color: var(--ink-2); max-width: 620px; margin: 6px 0 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--ink); border-bottom: 1px solid var(--oak); }
.link-more .icon { width: 18px; height: 18px; }
[dir="ltr"] .link-more .icon, [dir="ltr"] .room-item .icon-arrow { transform: scaleX(-1); }

/* ---------- Home: hero (the room photo, and an arched linen card like the doorways in it) ---------- */
.hero { position: relative; background: var(--paper); }
.hero-photo { display: block; }
.hero-img { width: 100%; aspect-ratio: 1 / 1; max-height: 58svh; object-fit: cover; object-position: center 46%; filter: saturate(.92) contrast(1.02) sepia(.05); }
.hero-inner { position: relative; z-index: 1; }
.hero-card { position: relative; margin-top: -74px; padding: 80px 22px 26px; background: var(--paper); border-radius: 180px 180px 0 0 / 74px 74px 0 0; text-align: center; min-width: 0; }
.hero-rings { position: absolute; top: 10px; left: 50%; width: 96px; margin-left: -48px; color: var(--oak); opacity: .7; pointer-events: none; stroke-width: 2.2; }
.hero-card .eyebrow { justify-content: center; }
.hero-title { font-size: clamp(38px, 10.5vw, 76px); line-height: 1.35; margin: 4px 0 14px; color: var(--ink); }
.hero-title span { display: block; color: var(--oak-dark); }
.hero-lead { font-size: 16px; color: var(--ink-2); max-width: 520px; margin: 0 auto 20px; }
.hero-search { margin-bottom: 14px; }
.hero-search .search-form { max-width: 520px; text-align: start; box-shadow: 0 6px 18px rgba(38, 35, 31, .06); }
.hero-search .search-form input[type="search"] { text-align: start; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn { flex: 1 1 150px; }

/* Promises strip */
.perks { border-block: 1px solid var(--line); background: var(--linen-2); }
.perks-row { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-block: 6px; }
.perk { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 12px 6px; min-width: 0; }
.perk .icon { width: 26px; height: 26px; color: var(--oak-dark); margin-top: 2px; }
.perk span { display: grid; line-height: 1.45; font-size: 12.5px; color: var(--muted); min-width: 0; }
.perk strong { font-weight: 700; font-size: 14px; color: var(--ink); }

/* Rooms */
.room-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.room-tile { position: relative; min-width: 0; }
.room-tile a { display: grid; gap: 4px; color: var(--ink); text-align: center; }
.room-tile-img { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: var(--linen); border-radius: 50% 50% 12px 12px / 37.5% 37.5% 12px 12px; margin-bottom: 8px; }
.room-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.room-tile-img::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255, 255, 255, .75); border-radius: inherit; pointer-events: none; }
.room-tile-img .brand-mark { width: 54px; height: 54px; }
.room-tile a:hover .room-tile-img img { transform: scale(1.05); }
.room-tile-name { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.4; }
.room-tile-count { font-size: 13px; color: var(--muted); }

/* ---------- Product cards (WooCommerce) ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin: 0 !important; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; clear: none !important; position: relative; display: flex; flex-direction: column; min-width: 0; text-align: start; color: var(--ink); container-type: inline-size; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; margin: 0 0 12px; background: var(--linen); transition: opacity .3s; }
.woocommerce ul.products li.product:hover a img { opacity: .9; }
.card-cat { display: block; font-size: 12px; font-weight: 700; color: var(--oak-dark); margin-bottom: 2px; }
html[lang^="en"] .card-cat { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.55; padding: 0; margin: 0 0 4px; color: var(--ink); }
.card-dims { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; min-width: 0; }
.card-dims .icon { width: 15px; height: 15px; color: var(--oak); }
.card-dims span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--ink); font-weight: 700; font-size: 15.5px; margin: 0; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--sale); }
.price del, .room-item-price del, .buybar-price del { text-decoration-color: var(--terracotta); }
.card-badges { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; max-width: calc(100% - 20px); }
.woocommerce .card-badges .onsale, .woocommerce ul.products li.product .card-badges .onsale {
	position: static; margin: 0; min-width: 0; min-height: 0; padding: 2px 10px; line-height: 1.7; border-radius: 8px;
	background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; font-family: var(--font); direction: ltr;
}
.lead-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 8px; background: rgba(250, 247, 242, .94); color: var(--ink); font-size: 11.5px; font-weight: 700; line-height: 1.7; box-shadow: 0 1px 6px rgba(38, 35, 31, .12); }
.quick-add {
	position: absolute; top: 10px; top: calc(100cqw - 54px); inset-inline-end: 10px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: rgba(250, 247, 242, .96); color: var(--ink); box-shadow: 0 3px 12px rgba(38, 35, 31, .16); transition: background .2s, color .2s, transform .15s, opacity .2s;
}
.quick-add .icon { width: 20px; height: 20px; }
.quick-add:hover { background: var(--action); color: #fff; }
.quick-add:active { transform: scale(.94); }
.quick-add.loading { opacity: .6; pointer-events: none; }
.quick-add.added { background: var(--ok); color: #fff; }
.quick-add.loading::after, .quick-add.added::after { display: none !important; }
.woocommerce ul.products li.product a.added_to_cart { display: none; }
.woocommerce .star-rating { display: none; }

/* ---------- Home: shop the room ---------- */
.room-shop { background: var(--linen); padding-block: 48px; }
.room-shop-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; }
.room-shop-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 0; min-width: 0; box-shadow: var(--shadow); }
.room-shop-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hotspot { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; color: var(--action); }
.hotspot span { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); font-weight: 700; font-size: 15px; line-height: 1; box-shadow: 0 2px 10px rgba(38, 35, 31, .3); transition: transform .2s, background .2s, color .2s; }
.hotspot::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px solid rgba(250, 247, 242, .9); animation: khb-pulse 2.6s ease-out infinite; }
.hotspot:hover span, .hotspot:focus-visible span { background: var(--action); color: #fff; transform: scale(1.08); }
@keyframes khb-pulse { 0% { transform: scale(.8); opacity: .9; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.room-shop-text { min-width: 0; }
.room-shop-text h2 { font-size: 30px; }
.room-shop-text > p { color: var(--ink-2); }
.room-shop-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.room-item { display: flex; align-items: center; gap: 12px; padding: 10px; padding-inline-end: 14px; border-radius: var(--radius); background: var(--paper); border: 1px solid transparent; transition: border-color .2s; min-width: 0; }
.room-item:hover { border-color: var(--oak); color: var(--ink); }
.room-item-num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--oak); color: var(--oak-dark); font-weight: 700; font-size: 14px; }
.room-item-img { flex: none; width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--linen); }
.room-item-img img { width: 100%; height: 100%; object-fit: cover; }
.room-item-text { display: grid; min-width: 0; flex: 1; line-height: 1.45; }
.room-item-name { font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-item-price { font-weight: 700; font-size: 14.5px; }
.room-item-price del { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.room-item-price ins { color: var(--sale); text-decoration: none; }
.room-item > .icon { width: 18px; height: 18px; color: var(--oak-dark); }

/* ---------- Home: delivery and assembly band ---------- */
.band { background: var(--olive); color: var(--on-dark); padding-block: 52px; position: relative; overflow: hidden; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.band-head { min-width: 0; }
.band-head h2 { font-size: 30px; color: #fff; max-width: 460px; }
.band-art { width: 190px; color: var(--oak-light); margin-top: 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; padding: 16px; border: 1px solid rgba(210, 180, 138, .3); border-radius: var(--radius); min-width: 0; }
.steps strong { font-family: var(--display); font-size: 19px; color: #fff; line-height: 1.45; }
.steps li > span:last-child { grid-column: 2; font-size: 14px; color: var(--on-dark-2); line-height: 1.65; }
.step-num { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--oak-light); color: var(--oak-light); font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1; }
.fees { min-width: 0; }
.fees dl { margin: 0 0 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.fees dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 12px 0; border-bottom: 1px dashed rgba(210, 180, 138, .45); }
.fees dt { font-weight: 700; color: #fff; }
.fees dd { margin: 0; color: var(--on-dark-2); font-size: 14.5px; }
.band .btn-light { color: var(--action); }

/* ---------- Home: materials ---------- */
.materials { padding-block: 56px; overflow: hidden; }
.materials-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; }
.materials-art { position: relative; min-width: 0; max-width: 520px; width: 100%; margin-inline: auto; padding-bottom: 40px; }
.materials-rings { position: absolute; bottom: 0; inset-inline-end: -10px; width: 62%; color: var(--oak); opacity: .5; }
.mat-oak, .mat-linen { position: relative; margin: 0; overflow: hidden; background: var(--linen); }
.mat-oak { width: 72%; aspect-ratio: 4 / 5; border-radius: 999px 999px 16px 16px; }
.mat-oak img, .mat-linen img { width: 100%; height: 100%; object-fit: cover; }
.mat-linen { position: absolute; bottom: 0; inset-inline-end: 0; width: 46%; aspect-ratio: 1 / 1; border-radius: 50%; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.materials-art figcaption { position: absolute; inset-inline-start: 50%; bottom: 14px; transform: translateX(50%); padding: 3px 12px; border-radius: 8px; background: rgba(250, 247, 242, .94); color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
[dir="ltr"] .materials-art figcaption { transform: translateX(-50%); }
.mat-linen figcaption { bottom: 22%; }
.materials-text { min-width: 0; }
.materials-text h2 { font-size: 30px; }
.materials-text > p { color: var(--ink-2); max-width: 560px; }
.mat-list { margin: 0 0 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.mat-list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mat-list dt { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.45; }
.mat-list dt .icon { width: 22px; height: 22px; color: var(--oak-dark); }
.mat-list dd { margin: 4px 0 0; padding-inline-start: 32px; color: var(--ink-2); font-size: 15px; }

/* ---------- Home: showroom visit ---------- */
.visit { padding-block: 8px 56px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: center; }
.visit-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-width: 0; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visit-card { position: relative; margin: -40px 12px 0; padding: 24px 20px; background: var(--card); border-radius: var(--radius-lg); border-top: 3px solid var(--oak); box-shadow: var(--shadow); min-width: 0; }
.visit-card h2 { font-size: 28px; }
.visit-card > p { color: var(--ink-2); }
.visit-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.visit-facts li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.visit-facts li span { min-width: 0; overflow-wrap: anywhere; }
.visit-facts .icon { width: 21px; height: 21px; color: var(--oak-dark); margin-top: 3px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-actions .btn { flex: 1 1 160px; }

/* Demo CTA */
.cta-demo { background: var(--action); color: #fff; padding-block: 44px; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
.cta-inner h2 { font-size: 27px; color: #fff; }
.cta-inner p { color: var(--on-dark-2); margin: 0; max-width: 640px; }
.cta-demo .btn-light { color: var(--action); }

/* ---------- Shop page and rooms ---------- */
.shop-wrap { padding-block: 14px 60px; }
.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce-products-header__title.page-title { font-size: clamp(30px, 8vw, 46px); margin: 4px 0; }
.term-description { color: var(--ink-2); font-size: 15px; max-width: 760px; }
.room-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; margin: 4px 0 24px; padding: 20px; background: var(--linen); border-radius: var(--radius-lg); }
.room-head-text { min-width: 0; }
.room-head-title { font-size: clamp(32px, 9vw, 52px); margin: 0 0 6px; }
.room-head-desc { color: var(--ink-2); max-width: 620px; }
.room-head-desc p:last-child { margin: 0; }
.room-head-img { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 999px 999px 14px 14px; background: var(--linen-2); }
.room-head-img img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--ink-2); }
.breadcrumb .sep { margin-inline: 6px; opacity: .6; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin-bottom: 6px; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--oak); color: var(--ink); }
.chip.is-active { background: var(--action); color: #fff; border-color: var(--action); }
.woocommerce .woocommerce-result-count { margin: 0 0 14px; font-size: 13px; color: var(--muted); float: none; }
.woocommerce .woocommerce-ordering { float: none; margin: 0 0 18px; }
.woocommerce .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 16px; padding-inline-end: 40px; border: 1px solid var(--line); border-radius: 10px;
	background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f483f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 18px; font-size: 14px; cursor: pointer; width: 100%;
}
[dir="ltr"] .woocommerce .woocommerce-ordering select { background-position: right 14px center; }
.woocommerce nav.woocommerce-pagination { margin-top: 36px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--action); color: #fff; border-color: var(--action); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments { border: 1px solid var(--line) !important; border-radius: var(--radius); background: var(--card) !important; color: var(--ink) !important; padding: 14px 18px !important; margin: 0 0 18px !important; list-style: none; }
.woocommerce-message { border-color: #c9d8c5 !important; background: #f3f7f1 !important; }
.woocommerce-error { border-color: #ecc5b8 !important; background: #fdf4f1 !important; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: none !important; min-height: 40px; margin-inline-start: 12px; }

/* ---------- Single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 4px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
.woocommerce div.product div.images { position: relative; margin-inline: calc(var(--gutter) * -1) !important; }
.woocommerce div.product div.images img { background: var(--linen); filter: saturate(.92) contrast(1.03) sepia(.05); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px; padding-inline: var(--gutter); }
.woocommerce div.product div.images .flex-control-thumbs li { width: 64px !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 10px; opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 12px; background: rgba(250, 247, 242, .95); border-radius: 12px; }
[dir="rtl"] .woocommerce div.product div.images .woocommerce-product-gallery__trigger { left: 12px; right: auto; }
.woocommerce div.product span.onsale { position: absolute; top: 12px; z-index: 3; margin: 0; min-width: 0; min-height: 0; padding: 2px 10px; line-height: 1.7; border-radius: 8px; background: var(--sale); color: #fff; font-size: 13px; font-weight: 700; direction: ltr; }
[dir="rtl"] .woocommerce div.product span.onsale { right: 12px; left: auto; }
[dir="ltr"] .woocommerce div.product span.onsale { left: 12px; right: auto; }
.summary-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--oak-dark); }
.summary-kicker::before { content: ""; width: 22px; height: 1px; background: var(--oak); }
.woocommerce div.product .product_title { font-size: clamp(28px, 7.5vw, 42px); margin-bottom: 6px; }
.summary-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.summary-facts > span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.summary-facts .icon { width: 18px; height: 18px; color: var(--oak-dark); }
.summary-facts .is-made { color: var(--oak-dark); font-weight: 700; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-family: var(--font); font-size: 24px; font-weight: 700; display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; margin-bottom: 10px; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--muted); font-size: 16px; font-weight: 400; opacity: 1; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { color: var(--sale); text-decoration: none; }
.woocommerce-product-details__short-description { color: var(--ink-2); font-size: 15.5px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 18px 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart.variations_form { display: block; position: relative; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 12px; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 8px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: start; line-height: 1.5; }
.woocommerce div.product form.cart .variations label { font-weight: 700; font-size: 14px; }
.woocommerce div.product form.cart .variations td.value { position: relative; margin: 8px 0 4px; }
.woocommerce div.product form.cart .variations select { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; width: 100%; background: var(--card); }
.woocommerce div.product form.cart .variations select.is-replaced { position: absolute !important; top: 0; inset-inline-start: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn { display: inline-flex; align-items: center; gap: 8px; min-width: 52px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 14px; cursor: pointer; transition: .15s; }
.option-btn:hover { border-color: var(--oak); }
.option-btn[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: #fff; }
.option-btn:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.swatch-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--dot, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.option-btn[aria-pressed="true"] .swatch-dot { box-shadow: 0 0 0 2px #fff; }
form.cart.needs-option .option-buttons { animation: khb-shake .4s; }
form.cart.needs-option .variations label { color: var(--sale); }
@keyframes khb-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; color: var(--muted); display: inline-block; margin-top: 8px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 10px; }
.woocommerce .quantity .qty { width: 88px; min-height: 52px; border: 1px solid var(--line); border-radius: 12px; text-align: center; background: var(--card); font-weight: 700; }
.woocommerce div.product form.cart .button { flex: 1 1 180px; min-height: 52px; font-size: 16px; }
.promise { list-style: none; padding: 16px 18px; margin: 0 0 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; border-radius: var(--radius); background: var(--linen-2); border-top: 2px solid var(--oak); }
.promise li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.65; }
.promise li span { min-width: 0; }
.promise .icon { color: var(--oak-dark); width: 21px; height: 21px; margin-top: 2px; }
.swatch-note { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); font-size: 14.5px; }
.swatch-note > div { min-width: 0; }
.swatch-note p { margin: 0 0 10px; color: var(--ink-2); }
.swatch-note .swatch-note-title { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 2px; line-height: 1.45; }
.swatch-chips { position: relative; flex: none; width: 46px; height: 46px; margin-top: 4px; }
.swatch-chips span { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--card); }
.swatch-chips span:nth-child(1) { top: 0; inset-inline-start: 0; background: #d9c7a7; }
.swatch-chips span:nth-child(2) { top: 0; inset-inline-end: 0; background: #6b7350; }
.swatch-chips span:nth-child(3) { bottom: 0; inset-inline-start: 10px; background: #3b3d3a; }
.product_meta { font-size: 13px; color: var(--muted); }
.product_meta a { color: var(--ink-2); font-weight: 500; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 10px; min-width: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 24px; padding: 0; margin: 0 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { position: relative; border: 0; background: none; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0; font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; display: block; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--oak); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 0; margin: 0; background: none; border: 0; max-width: 820px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 21px; margin-top: 1.1em; }
.woocommerce div.product .woocommerce-tabs .panel ul, .woocommerce div.product .woocommerce-tabs .panel ol { padding-inline-start: 1.3em; }
.woocommerce table.shop_attributes { border: 0; margin: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--line); background: transparent !important; padding: 12px 0; font-style: normal; text-align: start; vertical-align: top; }
.woocommerce table.shop_attributes th { width: 40%; padding-inline-end: 16px; font-weight: 700; color: var(--ink); }
.woocommerce table.shop_attributes td p { margin: 0; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 26px; min-width: 0; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 28px; margin-bottom: 16px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 12px 14px; min-height: 48px; font-size: 16px; }
.woocommerce form .form-row label { font-weight: 500; }

/* Phone buy bar */
.buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 46; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 247, 242, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(38, 35, 31, .08); }
.buybar-info { flex: 1; min-width: 0; display: grid; line-height: 1.4; }
.buybar-name { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-price { font-weight: 700; font-size: 15px; }
.buybar-price del { color: var(--muted); font-weight: 400; font-size: 12px; }
.buybar-price ins { text-decoration: none; color: var(--sale); }
.buybar .btn { flex: 0 0 auto; min-height: 46px; padding: 0 22px; }
body.single-product .tabbar { display: none; }
body.single-product { padding-bottom: 80px; }

/* Toast */
.toast { position: fixed; z-index: 70; inset-inline: 16px; bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); margin-inline: auto; max-width: 420px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-radius: 14px; background: var(--action); color: #fff; font-weight: 500; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: none; }
.toast a { color: var(--oak-light); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body.single-product .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* ---------- Pages, cart, checkout, account ---------- */
.page-wrap { padding-block: 20px 60px; }
.page-wrap.narrow { max-width: 820px; }
.page-head h1 { font-size: clamp(32px, 8.5vw, 50px); margin-top: 4px; }
.page-lead { color: var(--ink-2); max-width: 680px; }
.is-text-page .entry > :not(.woocommerce):not(figure) { max-width: 860px; }
.entry { font-size: 16px; min-width: 0; }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-size: 27px; margin-top: 1.3em; }
.entry h3 { font-size: 21px; margin-top: 1.2em; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry li { margin-bottom: .35em; }
:where(.page-wrap:not(.is-store-page)) .entry a:where(:not(.button):not(.btn):not(.wc-block-components-button)) { color: var(--oak-dark); text-decoration: underline; text-underline-offset: 3px; }
.is-store-page .entry a:where(:not(.button):not(.btn):not([class*="wc-block"])) { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-MyAccount-content a:where(:not(.button)) { color: var(--oak-dark); }
.entry ul.products { padding: 0; margin-top: 16px !important; margin-bottom: 26px !important; }
.entry ul.products li { margin-bottom: 0; }
.entry ul.products a { color: var(--ink); text-decoration: none; }
.entry ul.products .quick-add:hover, .entry ul.products .quick-add.added { color: #fff; }
.entry figure { margin: 0 0 1.4em; max-width: 100%; overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.entry th, .entry td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.entry th { background: var(--linen); font-weight: 700; }
.credits-table { font-size: 14px; }
.credits-table small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.store-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin: 0 0 20px; border-radius: var(--radius); background: var(--linen-2); border-top: 2px solid var(--oak); font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.store-note span { min-width: 0; }
.store-note .icon { color: var(--oak-dark); width: 22px; height: 22px; margin-top: 2px; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--action) !important; color: #fff !important; border-radius: 12px !important; min-height: 52px; font-family: var(--font); font-weight: 700; }
.wc-block-components-button:not(.is-link):hover { background: var(--action-hover) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: 10px !important; border-color: var(--line) !important; }
.wc-block-components-product-name { font-weight: 700; color: var(--ink) !important; }
.wc-block-components-product-metadata { font-size: 13px; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-top-color: var(--line); padding: 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 6px; overflow-x: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation li { position: relative; flex: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); white-space: nowrap; font-size: 14px; text-decoration: none; color: inherit; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--action); color: #fff; border-color: var(--action); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; background: var(--card); padding: 22px !important; margin: 0 0 18px !important; }
.order-next { margin: 0 0 26px; padding: 20px; border-radius: var(--radius-lg); background: var(--linen-2); border-top: 2px solid var(--oak); }
.order-next h2 { font-size: 24px; margin-bottom: 10px; }
.order-next ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.order-next li { display: flex; gap: 12px; align-items: flex-start; }
.order-next li span { min-width: 0; }
.order-next .icon { color: var(--oak-dark); width: 22px; height: 22px; margin-top: 3px; }
.empty-state { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
.empty-art { width: 200px; color: var(--oak); }
.empty-state .big { font-family: var(--display); font-size: 64px; font-weight: 700; color: var(--oak-dark); line-height: 1.2; }
.empty-state .search-form { width: 100%; }
.post-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.post-card img, .post-cover img { border-radius: var(--radius); margin-bottom: 10px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-card { padding: 24px; border-radius: var(--radius-lg); background: var(--olive); color: var(--on-dark); min-width: 0; }
.contact-card .brand { color: #fff; margin-bottom: 16px; }
.contact-card .brand-mark { color: var(--oak-light); }
.contact-card .brand-sub { display: block; color: var(--on-dark-2); }
.contact-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-card li > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.contact-card strong { font-weight: 700; font-size: 13px; color: var(--oak-light); }
.contact-card .icon { color: var(--oak-light); width: 22px; height: 22px; margin-top: 2px; }
.contact-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-card .btn-light { color: var(--action); text-decoration: none; }
.contact-hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(210, 180, 138, .3); font-size: 14px; color: var(--on-dark-2); }
.contact-hint p { margin: 0; min-width: 0; }
.contact-hint a { color: #fff; font-weight: 700; }
.contact-form { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.swst-contact { display: block !important; margin: 0 !important; color: var(--ink); }
.swst-contact .swst-contact-form { padding: 0 !important; border: 0 !important; background: none !important; }
.swst-contact .swst-contact-details { display: none !important; }
.swst-contact h2 { margin-top: 0 !important; font-size: 26px !important; font-family: var(--display) !important; }
.swst-contact .swst-intro { color: var(--muted) !important; }
.swst-contact input:not([type=hidden]), .swst-contact textarea { background: #fff !important; border-color: var(--line) !important; border-radius: 10px !important; }
.swst-contact .swst-submit { font-family: var(--font) !important; background: var(--action) !important; color: #fff !important; border-radius: 12px !important; }
.swst-contact .swst-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--olive-deep); color: #c8bba8; padding-top: 48px; font-size: 14px; }
.footer-rings { position: absolute; top: -26px; inset-inline-end: -40px; width: 300px; color: var(--oak-light); opacity: .16; pointer-events: none; }
.site-footer a { color: #e7dccb; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; justify-self: start; }
.site-footer .brand-mark { color: var(--oak-light); }
.site-footer .brand-sub { display: block; color: #c8bba8; }
.footer-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 18px; padding-bottom: 28px; }
.footer-brand { grid-column: 1 / -1; min-width: 0; }
.footer-brand p { margin: 14px 0 16px; max-width: 400px; }
.footer-col { min-width: 0; }
.footer-title { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; margin: 0 0 8px; line-height: 1.45; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.footer-col li { min-width: 0; }
.footer-contact { grid-column: 1 / -1; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li > span, .footer-contact li > a { min-width: 0; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--oak-light); }
.socials { display: flex; gap: 8px; }
.socials a { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--olive); }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(210, 180, 138, .2); padding-block: 16px; font-size: 13px; color: #bfb3a1; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.site-footer .footer-legal a { color: #d9cdb9; }
.pay-badge { display: inline-flex; align-items: center; gap: 6px; }
.pay-badge .icon { width: 18px; height: 18px; color: var(--oak-light); }

/* ---------- Phone tab bar ---------- */
.tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: rgba(250, 247, 242, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a, .tabbar button { display: grid; justify-items: center; gap: 1px; padding: 9px 0 7px; font-size: 11px; font-weight: 500; color: var(--muted); background: none; border: 0; cursor: pointer; min-width: 0; line-height: 1.5; }
.tabbar .icon { width: 23px; height: 23px; }
.tabbar [aria-current="page"] { color: var(--ink); font-weight: 700; }
.tabbar [aria-current="page"] .icon { color: var(--oak-dark); }
.tab-icon { position: relative; display: inline-grid; }
.tabbar .khashab-cart-count { top: -6px; inset-inline-end: -10px; }

/* ---------- Motion: rings drawn once, sections revealed while scrolling ---------- */
.rings path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-rings path { animation: khb-draw 1.6s cubic-bezier(.3, .6, .2, 1) both; animation-delay: calc(var(--i) * 120ms + 200ms); }
@keyframes khb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.reveal-ready [data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal-ready [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }

/* ---------- Larger screens ---------- */
@media (max-width: 599px) {
	.demo-bar { font-size: 12px; }
	.demo-bar-inner { flex-wrap: wrap; }
	.card-badges { top: 8px; inset-inline-start: 8px; max-width: calc(100% - 16px); }
	.woocommerce .card-badges .onsale, .lead-badge { font-size: 11px; padding: 1px 8px; }
	.quick-add { inset-inline-end: 8px; top: 8px; top: calc(100cqw - 52px); }
	.section-head { flex-wrap: wrap; align-items: flex-start; }
}

@media (min-width: 600px) {
	:root { --gutter: 24px; }
	.room-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 18px; }
	.hero-actions .btn { flex: 0 0 auto; }
	.woocommerce .woocommerce-ordering select { width: auto; }
	.shop-wrap .woocommerce-result-count { float: right !important; }
	[dir="rtl"] .shop-wrap .woocommerce-ordering { float: left !important; }
	[dir="ltr"] .shop-wrap .woocommerce-result-count { float: left !important; }
	[dir="ltr"] .shop-wrap .woocommerce-ordering { float: right !important; }
	.shop-wrap ul.products { clear: both; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce div.product div.images { margin-inline: 0 !important; }
	.woocommerce div.product div.images img { border-radius: 20px; }
	.woocommerce div.product div.images .flex-control-thumbs { padding-inline: 0; }
	.announce-list li + li { display: inline-flex; }
	.announce-list li:nth-child(3) { display: none; }
	.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); }
	.footer-contact { grid-column: auto; }
	.brand-sub { display: block; }
}

@media (min-width: 760px) {
	.contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 28px; }
	.contact-card, .contact-form { padding: 30px; }
	.room-head { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding: 28px 32px; gap: 32px; }
	.room-head-img { aspect-ratio: 4 / 3; }
	.visit-card { margin: -70px 40px 0; padding: 30px; }
}

/* The hero turns into the full-bleed room with the arched card on its start side. */
@media (min-width: 900px) {
	.hero { min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
	.hero-photo, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
	.hero-img { aspect-ratio: auto; max-height: none; object-position: center; }
	.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(250, 247, 242, .55) 0%, rgba(250, 247, 242, 0) 55%); pointer-events: none; }
	[dir="ltr"] .hero::after { background: linear-gradient(to right, rgba(250, 247, 242, .55) 0%, rgba(250, 247, 242, 0) 55%); }
	.hero-inner { padding-block: 56px; }
	.hero-card { width: min(540px, 100%); margin: 0; padding: 138px 44px 38px; background: rgba(250, 247, 242, .95); border-radius: 270px 270px 22px 22px / 200px 200px 22px 22px; box-shadow: 0 30px 60px rgba(38, 35, 31, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
	.hero-rings { top: 22px; width: 150px; margin-left: -75px; stroke-width: 1.6; }
}

@media (min-width: 960px) {
	.section { padding-block: 72px; }
	.section-follow { padding-top: 16px; }
	.section-head { margin-bottom: 28px; }
	.section-head h2, .room-shop-text h2, .materials-text h2, .band-head h2 { font-size: 42px; }
	.perks-row { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 10px; }
	.perk { padding: 14px 18px; justify-content: center; }
	.perk + .perk::before { content: ""; position: absolute; inset-inline-start: 0; top: 18%; bottom: 18%; width: 1px; background: var(--oak); opacity: .45; }
	.room-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
	.room-tile:nth-child(even) { margin-top: 34px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
	.room-shop { padding-block: 80px; }
	.room-shop-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; }
	.band { padding-block: 80px; }
	.band-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px 64px; align-items: start; }
	.band-head { grid-row: span 2; }
	.band-art { width: 240px; margin-top: 18px; }
	.fees { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
	.fees dl { margin: 0; }
	.materials { padding-block: 88px; }
	.materials-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
	.visit { padding-block: 16px 88px; }
	.visit-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
	.visit-card { margin: 0; margin-inline-start: -80px; padding: 40px; }
	.visit-photo img { aspect-ratio: 16 / 11; }
	.cta-inner { grid-template-columns: minmax(0, 1fr) auto; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 12px; }
	.woocommerce div.product div.summary { position: sticky; top: calc(var(--header-h) + 24px); }
	.footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 44px; }
	.footer-brand { grid-column: auto; }
	.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; }
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.announce-list li:nth-child(3) { display: inline-flex; }
}

@media (min-width: 960px) and (hover: hover) {
	.quick-add { opacity: 0; transform: translateY(4px); }
	.woocommerce ul.products li.product:hover .quick-add, .quick-add:focus-visible, .quick-add.added, .quick-add.loading { opacity: 1; transform: none; }
}

/* The header becomes the desktop one (search in the top row, rooms below) when it fits. */
@media (min-width: 1024px) {
	:root { --header-h: 120px; }
	body, body.single-product { padding-bottom: 0; }
	.only-mobile { display: none !important; }
	.main-nav.only-desktop { display: block !important; }
	.icon-btn.only-desktop { display: inline-grid !important; }
	.header-search-inline.only-desktop { display: block !important; min-width: 0; }
	.admin-bar .site-header { top: 32px; }
	.header-row { gap: 32px; min-height: 72px; }
	.header-search-inline .search-form { max-width: 560px; }
	.toast, body.single-product .toast { bottom: 24px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.main-nav .nav-list a { padding-inline: 10px; font-size: 14.5px; }
	.main-nav .menu-item-has-children > a { padding-inline-end: 24px; }
	.main-nav .menu-item-has-children > a::before { inset-inline-end: 9px; }
	.main-nav .nav-list > li > a::after { inset-inline: 10px; }
}

@media (max-width: 1023px) {
	.header-actions .icon-btn { width: 42px; }
	.header-actions .lang-btn { min-width: 38px; padding: 0 8px; margin-inline-end: 0; }
	.header-row .brand-sub { display: none; }
}

@media (max-width: 380px) {
	.brand-name { font-size: 26px; }
	.brand-mark { width: 30px; height: 30px; }
	html[lang^="en"] .brand-name { font-size: 17px; letter-spacing: .1em; }
	.perk { gap: 8px; }
	.perk .icon { width: 22px; height: 22px; }
	.hero-card { padding-inline: 16px; }
}

/* Touch screens: every control is at least 44px. */
@media (pointer: coarse) {
	.lang-btn { height: 44px; min-width: 44px; }
	.chip, .link-more, .woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 44px; }
	.demo-bar-close { width: 44px; height: 44px; }
	.footer-col li a, .footer-legal a, .demo-bar a, .breadcrumb a, .contact-hint a { display: inline-flex; align-items: center; min-height: 44px; }
	.footer-col ul { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.reveal-ready [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
	.room-tile a:hover .room-tile-img img { transform: none; }
	.hotspot::before { opacity: .8; }
}

/* English pages: the display face's Latin runs larger, so the headlines step down a little. */
html[lang^="en"] .hero-title { font-size: clamp(36px, 9.5vw, 68px); }
