/* Approved V4 discovery layout. Product-card rules and photography are unchanged. */
#main{padding-top:105px}.home-discovery{background:#faf9f6}.home-search{background:white;padding:9px max(24px,calc((100vw - 1240px)/2));}.home-search form{display:flex;max-width:680px;border:1px solid #d9d5c9;border-radius:5px;overflow:hidden;height:46px}.home-search #home-search-input{flex:1;min-width:0}.home-search #furniture-search{display:block;width:100%;height:100%;padding:10px 12px;border:0;background:#f8f7f3;color:#171716;font-size:14px;outline-offset:-3px}.home-search button{flex:0 0 48px;border:0;background:#20211f;color:white;cursor:pointer}.home-search svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;vertical-align:middle}.home-category-rail{display:flex;overflow-x:auto;gap:20px;padding:12px 24px;max-width:1290px;margin:auto;background:#fff;scroll-snap-type:x proximity;scrollbar-width:none}.home-category-rail::-webkit-scrollbar{display:none}.home-category{flex:0 1 94px;min-width:88px;max-width:94px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0;border:0;background:transparent;cursor:pointer;font:400 12px/1.25 Inter,"Segoe UI",Arial,sans-serif;color:#292923;text-align:center;scroll-snap-align:start}.home-category-icon{width:62px;height:62px;flex:none;border:1px solid #e4dfd2;border-radius:50%;display:grid;place-items:center;background:#f5f2ec;color:#7f6a3f}.home-category svg{width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.home-category-label{display:block;width:100%;min-height:2.5em;text-align:center;white-space:normal;word-break:normal;overflow-wrap:normal;text-wrap:balance}.home-category.label-at-edge .home-category-label{visibility:hidden}.home-feature{display:block;max-width:1240px;margin:14px auto 0;border:1px solid #dfdbd2;border-radius:3px;background:#ede9e2;color:#171716;overflow:hidden;scroll-margin-top:160px}.home-banner-main{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:228px}.home-banner-copy{padding:24px 28px}.home-kicker{font-size:9px;letter-spacing:.14em;color:#8a713c;text-transform:uppercase;margin-bottom:8px}.home-banner-type{font-size:11px;color:#706853;margin:0 0 5px}.home-banner-copy h1{font:400 30px/1.1 Georgia;margin:0 0 10px;max-width:420px;letter-spacing:normal}.home-banner-copy h1 button{all:unset;cursor:pointer}.home-banner-price{font-size:12px;margin:0 0 8px;color:#514b3f}.home-banner-link{border:0;border-bottom:1px solid #81704f;background:none;padding:7px 0;min-height:36px;font-size:11px;color:#3c3528;cursor:pointer}.home-banner-photo{display:block;border:0;padding:0;background:transparent;width:100%;height:228px;cursor:pointer}.home-banner-photo img{width:100%;height:228px;object-fit:contain;animation:home-reveal .45s ease}.home-banner-controls{display:flex;align-items:center;gap:10px;padding:0 16px;border-top:1px solid #dad4c7;height:37px}.home-banner-controls>span{font-size:10px;color:#716955;margin-inline-end:auto}.home-banner-controls button{border:0;background:transparent;min-width:44px;height:36px;font-size:12px;color:#282824;cursor:pointer}.home-progress{display:flex;align-items:center;gap:3px;max-width:40%;overflow:hidden}.home-progress i{flex:1 1 12px;width:12px;min-width:2px;height:2px;background:#c9c0ae;border-radius:2px}.home-progress i.active{background:#846b36}.home-feature-empty{padding:24px;font-size:14px}.home-products-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 6px}.home-products-heading h2{font:400 27px/1.15 Georgia;margin:0;letter-spacing:normal}.home-products-heading button{border:0;background:transparent;font-size:12px;min-height:28px;padding:0;text-decoration:underline;text-underline-offset:5px;cursor:pointer}.home-products-intro{margin:0 0 14px;font-size:12px;color:#736d62}#kuwait-products{padding:22px 0;background:#faf9f6}#kuwait-products .product-discovery[hidden]{display:none!important}.home-bottom{background:#fff!important;border-top:1px solid #ddd9cd!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;padding-bottom:env(safe-area-inset-bottom)!important}.home-bottom>a,.home-bottom>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:62px;padding:0;border:0;border-inline-end:0!important;background:white!important;color:#777469!important;font:400 10px/1.5 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}.home-bottom small{font-size:10px!important}.home-bottom svg{width:23px!important;height:23px!important;stroke:currentColor;fill:none!important;stroke-width:1.5}.home-bottom>a[href^="https://wa.me/"] svg{fill:currentColor!important;stroke:none}.home-bottom [aria-current="page"]{color:#8a6b29!important}.home-bottom [aria-current="page"]:before{content:"";position:absolute;top:0;width:26px;height:2px;background:#9b803f}.home-cart-count{position:absolute;top:6px;margin-inline-start:24px;background:#282923;color:white;border-radius:12px;padding:0 5px;font-size:9px}.home-catalog-close{position:absolute;top:6px;inset-inline-end:8px;width:44px;height:44px;border:0;background:white;font-size:26px;cursor:pointer}#home-catalog-dialog{width:min(850px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:38px 24px 24px;border:1px solid #e0d8c9;color:#171716}#home-catalog-dialog::backdrop{background:#18181299}#home-catalog-title{font:400 28px Georgia;margin:0 0 20px}.home-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.home-category-grid button{display:flex;align-items:center;gap:12px;text-align:start;min-height:78px;padding:12px;background:#faf9f6;border:1px solid #e0dccf;font-size:12px;cursor:pointer}.home-category-grid svg{width:28px;height:28px;flex:none;stroke:#8b7444;fill:none;stroke-width:1.3}.home-catalog-products{display:grid;gap:10px;margin-top:15px}.home-catalog-products button{display:flex;align-items:center;gap:15px;padding:10px;border:1px solid #ddd;background:#fff;text-align:start;cursor:pointer}.home-catalog-products img{width:80px;height:80px;object-fit:contain}.home-catalog-products small{display:block;margin-top:8px;color:#777;font-size:11px}.home-catalog-back,.home-category-quote{padding:10px 14px;min-height:44px;background:#fff;border:1px solid #d6d0c2;cursor:pointer}.home-existing-filters{margin-top:24px}.home-existing-filters h3{font-size:14px}.home-existing-filters .furniture-categories{width:100%;flex-wrap:wrap;overflow:visible}.home-feature :focus-visible,.home-discovery :focus-visible,.home-bottom :focus-visible,#home-catalog-dialog :focus-visible{outline:2px solid #947840;outline-offset:2px}@keyframes home-reveal{from{opacity:.65;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1120px){#main{padding-top:74px}.home-feature{margin-inline:24px}}
@media(max-width:860px){.site-header .topbar{display:none}.site-header .nav-shell{height:52px;width:calc(100% - 28px);gap:0}.site-header .ornemi-header-logo{width:120px;max-height:39px}.site-header .nav-actions{margin-inline-start:auto;gap:0}.site-header .language-toggle{display:block;min-height:36px;padding:6px 10px;border:1px solid #d9d7cc;background:white;font-size:11px}.site-header .language-toggle span{display:none}.site-header .language-toggle:after{content:"العربية"}html[dir="rtl"] .site-header .language-toggle:after{content:"English"}.site-header .nav-actions>.icon-action,.site-header .nav-actions>.button,.site-header .menu-toggle{display:none}#main{padding-top:52px}.home-bottom{display:grid!important}.main-nav{display:none!important}body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}}
@media(max-width:700px){.home-search{padding:0 14px}.home-search form{height:40px}.home-search #furniture-search{font-size:13px}.home-category-rail{gap:13px;padding:2px 14px}.home-category{min-width:78px;max-width:80px;flex-basis:80px;gap:4px;font-size:11.5px}.home-category-icon{width:58px;height:58px}.home-category svg{width:30px;height:30px}.home-category-label{height:29px;min-height:29px;line-height:14.5px}.home-feature{margin:0 14px;scroll-margin-top:55px}.home-banner-main{min-height:174px;grid-template-columns:1fr 45%}.home-banner-copy{padding:15px 6px 10px 15px}html[dir="rtl"] .home-banner-copy{padding:15px 15px 10px 6px}.home-kicker{font-size:8px;letter-spacing:.11em;margin-bottom:5px}.home-banner-type{font-size:10px;margin-bottom:4px}.home-banner-copy h1{font-size:23px;line-height:1.08;margin:0 0 7px}.home-banner-price{font-size:10px;margin:0}.home-banner-link{font-size:10px;min-height:32px;padding:7px 0 4px}.home-banner-photo,.home-banner-photo img{height:165px}.home-banner-controls{height:34px;padding:0 8px 0 14px;gap:7px}.home-banner-controls button{height:34px;min-width:36px}.home-banner-controls>span{font-size:8px}.home-progress i{width:8px;flex-basis:8px}#kuwait-products{padding-top:6px}#kuwait-products>.container{width:calc(100% - 28px)}.home-products-heading{margin-bottom:0}.home-products-heading h2{font-size:25px}.home-products-heading button{font-size:10px}.home-products-intro{font-size:11px;margin:0}.home-category-grid{grid-template-columns:1fr 1fr}.home-category-grid button{padding:10px;font-size:11px}.home-catalog-products button{font-size:12px}}
@media(max-width:350px){.home-banner-copy h1{font-size:20px}.home-banner-controls>span{font-size:7px}.home-progress i{width:6px;flex-basis:6px}.home-category{min-width:75px}.home-banner-copy{padding-inline-start:12px}.home-kicker{font-size:7px}}
@media(prefers-reduced-motion:reduce){.home-banner-photo img{animation:none}}
.home-feature{min-height:267px}
@media(max-width:700px){.home-feature{min-height:210px}}

/* Catalogue-only layout. Homepage/card styles remain unchanged. */
#home-catalog-dialog{width:min(1180px,calc(100% - 48px));height:min(88dvh,980px);max-height:88dvh;padding:0;overflow:hidden}
.catalogue-header{height:66px;display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid var(--line);background:#fff}
#home-catalog-title{flex:1;min-width:0;margin:0;font:400 25px/1.2 Georgia}
.catalogue-header button{flex:none;min-height:44px;padding:8px 12px;border:1px solid var(--line);background:white;color:var(--ink);cursor:pointer;font-size:12px}
.catalogue-header .home-catalog-close{position:static;width:44px;padding:0;font-size:25px}
.catalogue-layout{display:grid;grid-template-columns:230px minmax(0,1fr);height:calc(100% - 66px);min-height:0}
.catalogue-filters{overflow-y:auto;padding:20px;border-inline-end:1px solid var(--line);background:var(--cream)}
.catalogue-filters>label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:16px}
.catalogue-filters input,.catalogue-filters select{min-height:44px;min-width:0;width:100%;padding:9px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit}
.catalogue-type-nav{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.catalogue-type-nav button{min-height:44px;text-align:start;border:1px solid var(--line);background:white;padding:10px 12px;font-size:12px;color:var(--ink);cursor:pointer}
.catalogue-type-nav button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.catalogue-filters .catalogue-mobile-type{display:none}
.catalogue-clear{min-height:44px;width:100%;border:1px solid var(--line);background:white;padding:9px;font-size:12px;color:var(--ink);cursor:pointer}
.catalogue-results{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px;background:#fff}
.catalogue-result-summary{font-size:12px;color:var(--muted);margin-bottom:14px}
#home-catalog-dialog .home-catalog-content .manufactured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.catalogue-empty{border:1px solid var(--line);background:var(--cream);padding:24px;font-size:14px}
body:has(#home-catalog-dialog[open]){overflow:hidden}
@media(max-width:860px){
#home-catalog-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;margin:0;border:0}
.catalogue-header{height:66px;padding:8px 10px;gap:6px}
#home-catalog-title{font-size:20px}
.catalogue-header button{font-size:11px;padding:7px 9px}
.catalogue-layout{display:flex;flex-direction:column;height:calc(100% - 66px - 63px - env(safe-area-inset-bottom))}
.catalogue-filters{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;padding:12px 14px;border-inline-end:0;border-bottom:1px solid var(--line);overflow:visible}
.catalogue-filters>label{margin:0;font-size:11px;min-width:0}
.catalogue-filters>label:first-child{grid-column:1;grid-row:1}
.catalogue-filters .catalogue-mobile-type{display:flex;grid-column:2;grid-row:1}
.catalogue-filters>label:nth-child(2){grid-column:1/-1;grid-row:2}
.catalogue-filters input,.catalogue-filters select{font-size:16px}
.catalogue-type-nav{display:none}
.catalogue-clear{grid-column:1/-1;min-height:36px;font-size:11px;padding:6px}
.catalogue-results{flex:1;padding:12px 14px}
#home-catalog-dialog .home-catalog-content .manufactured-grid{gap:10px}
#home-catalog-dialog .home-bottom{position:fixed;bottom:0;inset-inline:0}
}

@media(max-width:860px){#home-catalog-dialog{max-width:100vw}}
