/* TEDY QUALITY V10.1 — small-screen legibility and honest room previews. */
:root { --quality-gold:#f5d58c; --quality-deep:#041f19; }
html { overflow-x:clip; }
body { overflow-x:clip; }
.brand-mini { max-width:100%; }
.ethiopian-clock { min-width:0; }
.ethiopian-clock span { overflow-wrap:normal; }
.home-hero { background:radial-gradient(circle at 50% 50%,#194f3b,#03241b 78%); }
.home-hero img { object-fit:contain!important; }
.drawer.open { overscroll-behavior:contain; }
.drawer .category-links { flex-shrink:0; }
.drawer-link,.category-links button { font-family:'Noto Sans Ethiopic','Abyssinica SIL',system-ui,sans-serif; }
.room-page .page-heading { min-width:0; }
.room-picked { display:flex;align-items:center;gap:12px;min-width:0; }
.room-picked > div { min-width:0;overflow-wrap:anywhere; }
.room-picked strong { display:block; }
.room-picked img { flex:0 0 100px;object-fit:contain;background:#f0efea;border-radius:12px; }
.room-page .sliders { grid-template-columns:repeat(2,minmax(0,1fr)); }
.room-page .sliders label { min-width:0;font-size:14px;line-height:1.7; }
.room-page .sliders input { display:block;width:100%; }
.room-page .room-toolbar { max-width:100%;box-sizing:border-box; }
.room-page .room-toolbar>* { box-sizing:border-box; }
.room-page .file-btn { display:flex;align-items:center;justify-content:center;text-align:center; }
.room-preview-exact { max-width:800px;margin:17px auto;padding:17px;border:1px solid #e7bf73a1;border-radius:19px;background:linear-gradient(132deg,#114e3b,#03261e);box-shadow:0 10px 32px #0007; }
.room-preview-exact h2 { margin:0 0 6px;color:#ffe0a0;font-size:19px;line-height:1.5; }
.room-preview-exact p { margin:5px 0 13px;color:#e5e8d6;line-height:1.85;font-size:14px; }
#exactProductPreview { width:100%;font-size:16px;min-height:54px; }
#exactProductPreview:disabled { opacity:.5;cursor:not-allowed; }
#exactPreviewStatus { margin:10px 0 0;font-size:13px;line-height:1.8;color:#f0dcad; }
.product-overlay.photo-reference { border:2px solid #f3d48a;border-radius:9px;background:#fffdf8;box-shadow:0 0 0 5px #0b2b22b8,0 14px 34px #0008;filter:none; }
.room-image-compare { max-width:800px;margin:13px auto;padding:13px;border-radius:15px;border:1px solid #ba9a5e;background:#052b22; }
.room-image-compare .compare-title { margin:0 0 11px;color:#ffe2a1;font-size:15px;font-weight:800; }
.room-image-compare .compare-buttons { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px; }
.room-image-compare button { padding:11px 7px;min-height:50px;border:1px solid #bda069;background:#0c4231;color:#fff2d5;border-radius:11px;font:750 13px/1.55 'Noto Sans Ethiopic',system-ui,sans-serif;overflow-wrap:anywhere; }
.room-image-compare button[aria-pressed='true'] { color:#13291e;background:linear-gradient(135deg,#ffe5a5,#d5a65d);box-shadow:0 2px 16px #d9ad4b40; }
.room-image-compare .compare-note { margin:10px 1px 0;color:#dce5d7;font-size:12px;line-height:1.8; }
.room-preview-exact:focus-within,.room-image-compare:focus-within { outline:1px solid #f8d487;outline-offset:2px; }
#cloudflareAiImage[hidden] { display:none!important; }
#roomPickedImage { object-fit:contain; }
@media(max-width:720px) {
  .topbar { display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:minmax(57px,auto) 25px;align-items:center;column-gap:10px;row-gap:2px;height:auto;min-height:103px;padding:8px 11px 9px; }
  .topbar .menu-btn { grid-column:1;grid-row:1/3;align-self:center;width:46px;height:47px; }
  .topbar .brand-mini { grid-column:2;grid-row:1;display:flex;align-items:center;gap:8px;font-size:clamp(15px,4.3vw,20px);line-height:1.32;letter-spacing:0; }
  .topbar .brand-mini .brand-logo { width:clamp(57px,15vw,70px);height:58px; }
  .topbar .ethiopian-clock { grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:flex-start;gap:10px;max-width:none!important;width:100%;text-align:left;font-size:12px;line-height:1.3;white-space:nowrap; }
  .topbar .ethiopian-clock strong { font-size:12px;display:inline;white-space:nowrap; }
  .page { min-height:calc(100dvh - 103px); }
  .home-hero { height:calc(100dvh - 118px);min-height:360px; }
  .room-preview-exact { padding:15px 12px;margin-block:15px; }
  .room-preview-exact h2 { font-size:17px; }
  .room-image-compare .compare-buttons { grid-template-columns:1fr 1fr; }
  .room-image-compare .compare-buttons button:last-child { grid-column:1/-1; }
  .room-page .sliders { gap:12px;padding:11px; }
  .room-page .sliders label { font-size:13px; }
}
@media(max-width:360px) {
  .topbar { padding-inline:7px;column-gap:7px;grid-template-columns:42px minmax(0,1fr); }
  .topbar .menu-btn { width:41px; }
  .topbar .brand-mini { font-size:14px;gap:5px; }
  .topbar .brand-mini .brand-logo { width:53px;height:54px; }
  .topbar .ethiopian-clock { font-size:10px;gap:6px; }
  .topbar .ethiopian-clock strong { font-size:11px; }
  .room-picked img { flex-basis:72px; }
}
