/* TEDY LUXURY V9 — mobile-first design layer. Keeps product images and logo untouched. */
:root {
  --deep:#021711;
  --green:#063c2c;
  --green2:#12513e;
  --gold:#f0cd84;
  --gold2:#ca9e4d;
  --cream:#fff5dc;
  --soft:#e2e9dd;
  --line:rgba(227,184,94,.38);
  --r:20px;
  font-family:'Noto Sans Ethiopic','Abyssinica SIL','Nyala',system-ui,sans-serif;
}
html {scroll-padding-top:100px}
body {color:var(--cream);background:#011b15;letter-spacing:.01em}
.ambient {background:radial-gradient(ellipse 65vw 55vh at 100% -5%,rgba(34,115,76,.33),transparent 73%),radial-gradient(ellipse 85vw 65vh at 0% 100%,rgba(17,70,49,.46),transparent 74%)}
.topbar {
  height:100px;
  padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));
  gap:10px;
  background:linear-gradient(113deg,#083b2d 0%,#011e18 69%,#093427 100%);
  border-bottom:1px solid rgba(244,205,122,.54);
  box-shadow:0 5px 28px #0008,inset 0 -1px 0 #ffedaf16;
}
.menu-btn {width:52px;height:52px;border-radius:15px;border-color:#dbbc7e;box-shadow:0 5px 16px #0007,inset 0 0 0 1px #fff2}
.menu-btn span {width:24px;height:2.5px}
.brand-mini {gap:10px;min-width:0;line-height:1.35;font-size:clamp(15px,2.5vw,21px);font-weight:850;letter-spacing:.2px;color:#ffe5a4;text-shadow:0 1px 0 #fff2,0 3px 10px #000b}
.brand-mini b {font-weight:900;letter-spacing:.55px;color:#fff2bc}
.brand-logo {display:block;object-fit:contain;object-position:center;width:82px;height:73px;flex:none;filter:drop-shadow(0 2px 6px #020f0aa6)}
.ethiopian-clock {color:#faebc3;font-size:12px;line-height:1.55}
.ethiopian-clock strong {font-size:15px;color:#ffe099}
.page {min-height:calc(100dvh - 100px)}
.home-page {padding:6px 8px 28px}
.home-hero {height:calc(100dvh - 114px);max-height:1000px;border-radius:22px;border:1px solid #ba964d;box-shadow:0 12px 38px #0009,0 0 0 2px #ead18b12}
.home-hero img {object-fit:contain;object-position:center}
.home-quick-links {padding:clamp(20px,4vw,34px);margin:22px auto 35px;background:linear-gradient(145deg,#0e4334 0%,#052a21 55%,#021c18 100%);border:1px solid #d8b36d88;box-shadow:0 18px 42px #0008,inset 0 1px 0 #fff2}
.home-quick-links .eyebrow {font-size:11px;letter-spacing:2px;color:#d5ae67}
.home-quick-links h2 {font-size:clamp(22px,5vw,33px);line-height:1.55;color:#ffe3a0;font-weight:900}
.home-quick-links p {font-size:14px;line-height:1.95;color:#e9ecdf}
.quick-actions {display:block;margin:20px 0 4px}
.quick-actions #exploreProducts {width:100%;min-height:62px;font-size:clamp(18px,4.2vw,23px);letter-spacing:.5px;border:1px solid #fff0b8;border-radius:15px;box-shadow:0 5px 24px #d39d4470}
.home-category-chooser {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 18px;padding:14px;border:1px solid #ebc8875e;background:#011b1559;border-radius:16px;max-height:480px;overflow-y:auto;overscroll-behavior:contain}
.home-category-chooser[hidden] {display:none!important}
.home-category-chooser button {display:flex;flex-direction:column;gap:4px;text-align:left;justify-content:center;min-width:0;min-height:74px;padding:12px 13px;border:1px solid rgba(228,189,116,.55);border-radius:13px;background:linear-gradient(130deg,#11513c,#06271f);color:#fff1d1;font-weight:850;font-size:15px;line-height:1.5;box-shadow:0 4px 12px #0003;overflow-wrap:anywhere}
.home-category-chooser button:first-child {border-color:#ffdf94;background:linear-gradient(120deg,#255c43,#124330)}
.home-category-chooser button:hover,.home-category-chooser button:focus-visible {border-color:#ffda85;box-shadow:0 0 0 2px #dfb2634d}
.home-category-chooser button small {color:#f5cd84;font:650 11px/1.5 system-ui,sans-serif}
.content-page {padding-top:27px;max-width:1180px}
.page-heading h1 {font-weight:900;letter-spacing:.25px;line-height:1.5;color:#ffe0a0}
.eyebrow {color:#e1b769}
.product-grid {gap:15px}
.product-card {border-radius:20px;background:linear-gradient(155deg,#114d3a,#031f18);box-shadow:0 12px 25px #0006;border-color:#e1ba7366}
.product-card img {width:100%;object-fit:contain;aspect-ratio:1.1;background:linear-gradient(145deg,#f0eee5,#dfded5)}
.product-card .card-info {padding:14px}
.product-card h3 {font-size:16px;font-weight:800;color:#fff3d7;overflow-wrap:anywhere}
.product-card .card-code {font-size:11px;color:#f4d18e}
.detail-photo {box-shadow:0 12px 24px #0005}
.action-grid {gap:11px}
.gold-btn,.dark-btn,.file-btn {font-size:15px;font-weight:850;line-height:1.4;border-radius:13px;min-height:50px;padding:12px 15px;white-space:normal;overflow-wrap:anywhere}
.gold-btn {background:linear-gradient(128deg,#ffe9ab,#d6ab62 53%,#b68a40);box-shadow:0 5px 18px #d5ab5047;color:#132a20}
.dark-btn,.file-btn {background:linear-gradient(125deg,#155642,#083328);border-color:#bf9854;color:#fff0cb}
.room-picked {border-radius:17px;padding:13px;background:linear-gradient(140deg,#104c39,#052820)}
.room-picked strong {font-size:16px;line-height:1.55;color:#fff2cc}
.room-picked small {font-size:12px;line-height:1.6}
.room-toolbar,.room-page,.sliders,.room-picked {max-width:100%;min-width:0}
.room-page {overflow-x:clip}
.room-page .room-toolbar {align-items:stretch;flex-wrap:wrap}
.room-page .room-toolbar>* {min-width:0}
.room-page .room-availability {font-size:14px;overflow-wrap:anywhere}
.room-page .fineprint {font-size:13px;line-height:1.9;overflow-wrap:anywhere}
.camera-stage {border-radius:18px;box-shadow:0 14px 30px #0007}
.help-line {font-size:14px;line-height:1.9;overflow-wrap:anywhere}
/* The original AI integration has a flex checkbox inheriting input{width:100%}.
   Its checkbox became as wide as the entire mobile screen, pushing the text off-canvas. */
#cloudflareAiConsent {width:23px!important;min-width:23px!important;max-width:23px!important;height:23px!important;min-height:23px!important;flex:0 0 23px!important;margin:2px 0 0!important;padding:0!important;accent-color:#e8bd72}
#cloudflareAiConsent + span {display:block;flex:1 1 0;min-width:0;max-width:100%;font-size:15px;line-height:1.9;overflow-wrap:anywhere;word-break:normal;color:#fff2d2}
#cloudflareAiButton {font-size:17px!important;min-height:56px!important;white-space:normal!important}
#cloudflareAiStatus {font-size:14px;line-height:1.9;overflow-wrap:anywhere;white-space:normal}
#cloudflareAiButton,#cloudflareAiStatus,#cloudflareAiConsent {box-sizing:border-box}
#composeRoom[hidden] {display:none!important}
#page-room .room-toolbar + div:has(#cloudflareAiButton) {width:100%;max-width:100%;min-width:0;overflow:hidden;border-color:#e6bf7980!important;background:linear-gradient(148deg,#124936,#052c22)!important;box-shadow:0 10px 24px #0007}
#page-room label:has(#cloudflareAiConsent) {display:flex!important;align-items:flex-start!important;gap:11px!important;min-width:0;max-width:100%;width:100%;overflow-wrap:anywhere;border:1px solid #d1ae6861;border-radius:12px;padding:12px;background:#041c168a}
#cloudflareAiImage {object-fit:contain!important;image-rendering:auto}
.ai-comparison {display:flex;align-items:center;gap:13px;min-width:0;margin:15px 0 20px;border:1px solid #d5b16f91;padding:13px;background:linear-gradient(135deg,#144b38,#06271f);border-radius:16px;box-shadow:0 8px 18px #0006}
.ai-comparison img {width:105px;height:90px;object-fit:contain;background:#f4f0e8;border-radius:10px;flex:none}
.ai-comparison div {min-width:0;flex:1}
.ai-comparison strong {color:#ffe0a1;font-size:15px;line-height:1.55}
.ai-comparison p {font-size:12px;color:#e5e9db;margin:5px 0 0;line-height:1.75;overflow-wrap:anywhere}
.drawer {width:min(410px,94vw);padding:16px 13px calc(22px + env(safe-area-inset-bottom));background:linear-gradient(145deg,#104a37 0%,#052a20 46%,#011a14 100%);border-right:2px solid #cba05e;box-shadow:16px 0 60px #000d;scrollbar-width:thin;scrollbar-color:#bd9961 #052a21;scroll-padding-top:10px}
.drawer-head {align-items:flex-start;border-bottom-color:#debd7a6b;padding:6px 4px 14px;margin:0 0 10px;gap:8px}
.drawer-identity {min-width:0;flex:1;display:flex;align-items:center;gap:7px}
.drawer-identity img {width:92px;height:72px;object-fit:contain;flex:none;filter:drop-shadow(0 1px 4px #0008)}
.drawer-title {color:#ffe3a5;font-size:15px;line-height:1.6;font-weight:850;letter-spacing:.1px}
.icon-btn {width:42px;height:42px;flex:none;background:#104333;border:1px solid #d4b577;color:#ffdea0}
.drawer-link {min-height:54px;padding:12px 15px;gap:11px;border:1px solid transparent;border-radius:12px;font-size:17px;font-weight:800;line-height:1.5;color:#f8f3df;text-shadow:0 1px 3px #0006}
.drawer-link:hover,.drawer-link:focus-visible {border-color:#dcb36f8c;background:#c5a25c21}
.drawer-parent {min-height:56px;background:linear-gradient(105deg,#1e6047,#0c4232);border-color:#bd925a87;color:#ffe4a9}
.category-links {margin:7px 0 14px 13px;padding-left:11px;border-left:2px solid #d2aa64ab;gap:5px;overflow:visible}
.category-links button[data-category] {min-height:51px;padding:11px 13px;background:#ffffff07;border:1px solid #dfb97823;border-radius:12px;color:#f0f1dc;font-size:16px;font-weight:730;line-height:1.55;overflow-wrap:anywhere;box-shadow:inset 0 1px 0 #ffffff08}
.category-links button[data-category]:hover,.category-links button[data-category]:focus-visible {background:#d2ae6430;color:#fff1c4;border-color:#e4c27e85}
.drawer-category-search {font-size:15px;min-height:49px;margin:6px 0 11px;width:100%;border-color:#c9a46d9e}
.drawer-divider {margin:10px 5px 14px}
.drawer-footer {font-size:13px;line-height:1.9;color:#e7d6aa;padding:24px 6px 12px}
@media(min-width:721px){
  .home-category-chooser {grid-template-columns:repeat(3,minmax(0,1fr))}
  .room-page .content-page {max-width:980px}
}
@media(max-width:720px){
  .topbar {height:90px;padding-inline:8px;gap:6px}
  .menu-btn {width:45px;height:47px;flex:none}
  .brand-mini {gap:4px;font-size:clamp(12px,3.65vw,17px);line-height:1.4;letter-spacing:0;flex:1 1 auto}
  .brand-mini b {letter-spacing:0}
  .brand-logo {width:clamp(47px,14vw,70px);height:58px;flex:none}
  .ethiopian-clock {flex:0 0 auto;max-width:76px;font-size:clamp(9px,2.3vw,11px);line-height:1.45}
  .ethiopian-clock strong {font-size:clamp(11px,3vw,13px)}
  .page {min-height:calc(100dvh - 90px)}
  .home-hero {height:calc(100dvh - 101px);border-radius:15px}
  .home-quick-links {margin:17px auto 26px;padding:18px 15px}
  .home-category-chooser {grid-template-columns:1fr;max-height:420px;padding:9px}
  .home-category-chooser button {min-height:62px;padding:12px 15px;font-size:16px}
  .content-page {padding:20px 12px 70px}
  .product-card img {aspect-ratio:1.04}
  .product-card h3 {font-size:14.5px}
  .room-picked img {height:78px;width:94px}
  .ai-comparison img {width:85px;height:76px}
  .room-page .room-toolbar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .room-toolbar .wide {grid-column:1/-1}
  #page-room .room-toolbar > button,#page-room .room-toolbar > label {min-height:52px;font-size:14px}
  #page-room .room-toolbar + div:has(#cloudflareAiButton) {padding:14px 12px!important}
}
@media(max-width:360px){
  .brand-mini {font-size:11.7px}
  .brand-logo {width:44px;height:51px}
  .ethiopian-clock {max-width:61px;font-size:8.5px}
  .ethiopian-clock strong {font-size:10.5px}
  .topbar {gap:4px;padding-inline:5px}
  .menu-btn {width:40px;height:44px}
  .drawer-title {font-size:13px}
  .drawer-identity img {width:76px;height:62px}
  .action-grid {grid-template-columns:1fr 1fr;gap:7px}
  .action-grid button {font-size:13px;padding:10px 7px}
}
