/* TEDY LUXURY V15 — faithful-to-approved-reference visual-only patch, 2026-11-12
   Loaded after v14. Reuses the user's original approved dashboard art and child image.
   ONLY homepage hero presentation and nav visual sizing are affected.
   Existing user/account/ordering/ERP/database JavaScript and IDs are unchanged.
   Header controls and live Ethiopian clock remain selectable and operational.
*/
:root{--tedy-v15-gold:#efb84c;--tedy-v15-black:#000}

/* Mobile browser bars expand/retract on scroll. No dvh/vh controls hero geometry. */
html{background:#000}
body{background:#000!important}
.topbar{
  background:#000!important;
  border-bottom:2px solid #b97c22!important;
  box-shadow:0 2px 0 rgba(255,222,132,.52),0 8px 18px rgba(0,0,0,.60)!important;
}
.topbar .menu-btn,
.topbar .header-branch select,
.topbar .header-clock{
  color:#ffe4a0!important;
  background:linear-gradient(155deg,#130f08 0%,#000 72%)!important;
  border:1.5px solid #d69b35!important;
  box-shadow:inset 0 1px 0 rgba(255,244,194,.34),0 0 0 1px #5c360d,0 1px 8px rgba(241,156,30,.18)!important;
}
.topbar .menu-btn{border-radius:18px!important}
.topbar .header-branch select{border-radius:19px!important}
.topbar .header-clock{
  border-radius:999px!important;
  font-weight:800!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:0!important;
  text-shadow:0 0 2px #c77d19aa!important;
}
.topbar .header-clock strong{color:#fff0c4!important;white-space:nowrap!important}

/* The artwork contains the precise 3D metallic emblem + text from the approved
   reference, so browser font substitutions cannot distort Amharic letterforms.
   The actual semantic H1 remains in HTML and readable to assistive technology. */
#page-home.home-page{
  display:block!important;
  background:#000!important;
  width:100%!important;
  max-width:100%!important;
  padding:0 0 30px!important;
  overflow-x:clip!important;
}
#page-home.home-page:not(.is-active){display:none!important}
#page-home .home-masthead{
  display:block!important;
  position:relative!important;
  isolation:isolate;
  width:100%!important;
  max-width:941px!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  line-height:0!important;
}
#page-home .home-masthead::before{
  content:'';
  display:block!important;
  width:100%!important;
  aspect-ratio:941 / 478!important;
  background:url('tedy-v15-brand-art.webp') center / 100% 100% no-repeat!important;
}
#page-home .home-masthead::after{display:none!important;content:none!important}
#page-home .home-masthead .home-crest,
#page-home .home-masthead .home-company-name{
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;padding:0!important;margin:-1px!important;
  filter:none!important;
  pointer-events:none!important;
}
#page-home .home-hero{
  display:block!important;
  width:100%!important;
  max-width:941px!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  aspect-ratio:941 / 1027!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  overflow:visible!important;
  line-height:0!important;
}
#page-home .home-hero img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  max-width:100%!important;
  aspect-ratio:941 / 1027!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}
#page-home .home-quick-links{margin-top:13px!important}

/* Mobile layout reproduces the reference's black top margin, pill proportions,
   center-aligned brand, and no image-size change during scrolling. */
@media(max-width:720px){
  body{overflow-x:hidden!important}
  .topbar{
    position:sticky!important;top:0!important;
    width:100%!important;
    margin-top:clamp(24px,10.7vw,47px)!important;
    height:clamp(58px,15.4vw,67px)!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:clamp(41px,10.6vw,55px) minmax(0,1.06fr) minmax(0,1fr)!important;
    grid-template-rows:1fr!important;
    gap:clamp(6px,1.8vw,9px)!important;
    padding:5px clamp(7px,2vw,13px)!important;
    align-items:center!important;
  }
  .topbar .menu-btn{
    grid-column:1!important;grid-row:1!important;
    align-self:center!important;
    width:100%!important;
    height:clamp(43px,12vw,53px)!important;
    border-radius:13px!important;
    min-height:0!important;
  }
  .topbar .header-branch{
    grid-column:2!important;grid-row:1!important;
    display:block!important;
    min-width:0!important;width:100%!important;
    max-width:none!important;margin:0!important;
  }
  .topbar .header-branch select{
    width:100%!important;height:clamp(43px,12vw,53px)!important;
    min-height:0!important;
    border-radius:15px!important;
    padding:0 22px 0 10px!important;
    font-size:clamp(10px,3vw,13px)!important;
    line-height:1.18!important;
    font-weight:800!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
  .topbar .header-clock{
    grid-column:3!important;grid-row:1!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    flex-wrap:wrap!important;align-content:center!important;
    column-gap:3px!important;row-gap:0!important;
    width:100%!important;height:clamp(43px,12vw,53px)!important;
    min-height:0!important;padding:2px 3px!important;
    border-radius:999px!important;
    font-size:clamp(9px,2.65vw,12px)!important;
    line-height:1.2!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .topbar .header-clock span,.topbar .header-clock strong{font-size:inherit!important;line-height:inherit!important}
  #page-home.home-page{padding:0 0 24px!important}
  #page-home .home-masthead{width:100%!important;max-width:100%!important}
  #page-home .home-hero{width:100%!important;max-width:100%!important}
  #page-home .home-quick-links{padding-inline:12px!important}
}
@media(min-width:721px){
  .topbar{margin:0 auto!important}
  #page-home.home-page{padding:0 16px 36px!important}
  #page-home .home-masthead{max-width:800px!important}
  #page-home .home-hero{max-width:800px!important}
}
@media(max-width:340px){
  .topbar{gap:5px!important;padding-inline:5px!important}
  .topbar .header-branch select{font-size:10px!important;padding-left:7px!important;padding-right:18px!important}
  .topbar .header-clock{font-size:8.5px!important}
}
@media(prefers-reduced-motion:reduce){
  #page-home .home-masthead::before, #page-home .home-hero img{animation:none!important}
}
