
@font-face{
  font-family:"Brand Gyumri";
  src:url("../assets/fonts/BraindGyumri.otf") format("opentype");
  font-weight:700;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"GHEA Grapalat";
  src:url("../assets/fonts/GHEAGrpalatReg.otf") format("opentype");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"GHEA Grapalat";
  src:url("../assets/fonts/GHEAGpalatBld.otf") format("opentype");
  font-weight:700;font-style:normal;font-display:swap;
}

/* -------------------------------------------------------------- 2. Tokens */
:root{
  /* colour */
  --cream:#FBF6F1;
  --ivory:#FFFCF9;
  --blush:#E8CFC7;
  --blush-tint:#F8EFEA;
  --champagne:#E7D6BA;
  --gold:#A8834B;
  --gold-soft:#C6A970;
  --ink:#2E2724;
  --ink-hover:#443A35;
  --muted:#6E6259;
  --line:#EFE5DB;
  --scrim:rgba(46,39,36,.45);

  /* type */
  --font-display:"Brand Gyumri","GHEA Grapalat",serif;
  --font-body:"GHEA Grapalat",-apple-system,"Segoe UI",sans-serif;

  /* spacing */
  --gap-1:4px; --gap-2:8px; --gap-3:12px; --gap-4:16px; --gap-5:20px; --gap-6:26px;

  /* radius */
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-pill:999px;

  /* motion */
  --ease:cubic-bezier(.2,.8,.2,1);
  --fast:160ms;
  --base:260ms;

  /* layout */
  --tabbar-h:62px;
}

/* --------------------------------------------------------------- 3. Reset */
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
/* icons come from the sprite; paint is set on the <svg> element itself */
svg{fill:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input{font:inherit}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,p{margin:0}
a{color:var(--gold);text-decoration:none}
a:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.u-hidden{display:none !important}
.u-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
::-webkit-scrollbar{width:0;height:0}
*{scrollbar-width:none}

/* ------------------------------------------------------------ 4. App shell */
.app{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:480px;      /* on desktop the app stays phone-width and centred */
  min-height:100dvh;
  margin:0 auto;
  background:var(--cream);
  overflow:hidden;
}
.app__body{flex:1;overflow-y:auto;}

/* screens: only the .is-active one is shown */
.screen{display:none;animation:fade var(--base) var(--ease)}
.screen.is-active{display:block}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important}
}

/* ------------------------------------------------------------- 5. Top bar */
.topbar{
  display:flex;align-items:center;gap:var(--gap-3);
  padding:13px var(--gap-4);
  background:var(--ivory);
  border-bottom:1px solid var(--line);
}
.topbar__title{flex:1;font-family:var(--font-display);font-size:18px;line-height:1.15}
.iconbtn{
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;flex:none;                 /* 44px = min touch target */
  border-radius:var(--r-pill);
  transition:background var(--fast) var(--ease);
}
.iconbtn--outlined{width:36px;height:36px;border:1px solid var(--line);background:#fff}
.iconbtn:hover{background:var(--blush-tint)}

/* ---------------------------------------------------------------- 6. Hero */
.hero{position:relative;height:436px}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.hero__scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(46,39,36,.45) 0%,rgba(46,39,36,0) 32%,
                                     rgba(46,39,36,.08) 52%,rgba(46,39,36,.74) 100%);
}
.hero__bar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:var(--gap-3);padding:14px 18px}
.hero__copy{position:absolute;left:var(--gap-5);right:var(--gap-5);bottom:22px}
.hero__eyebrow{font-size:9.5px;letter-spacing:.32em;color:var(--champagne);margin-bottom:10px}
.hero__title{font-family:var(--font-display);font-size:34px;line-height:1.08;color:#fff;text-wrap:pretty}
.hero__actions{display:flex;gap:9px;margin-top:18px}

/* brand lockup */
.brand{display:flex;align-items:center;gap:10px;flex:1}
.brand__name{font-family:var(--font-display);font-size:15px;line-height:1.1}
.brand__sub{font-size:7.5px;letter-spacing:.3em;margin-top:3px;color:var(--muted)}
.brand--onDark .brand__name{color:#fff}
.brand--onDark .brand__sub{color:rgba(255,255,255,.8)}

/* -------------------------------------------------------------- 7. Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--gap-2);
  min-height:48px;padding:14px 18px;
  border-radius:var(--r-md);
  font-size:13.5px;font-weight:700;
  transition:background var(--fast) var(--ease),color var(--fast) var(--ease);
}
.btn--block{display:flex;width:100%}
.btn--primary{background:var(--ink);color:var(--ivory)}
.btn--primary:hover{background:var(--ink-hover)}
.btn--outline{border:1px solid var(--ink);color:var(--ink)}
.btn--outline:hover{background:var(--blush-tint)}
.btn--light{background:#fff;color:var(--ink);border-radius:var(--r-pill);flex:1}
.btn--light:hover{background:var(--champagne)}
.btn--ghostLight{border:1px solid rgba(255,255,255,.7);color:#fff;border-radius:var(--r-pill);flex:1}
.btn--ghostLight:hover{background:rgba(255,255,255,.18)}
.btn[disabled],.btn.is-disabled{background:#DCD3CA;color:#7C736B;cursor:not-allowed}
.btn--pillbar{flex:1;border-radius:var(--r-sm);min-height:38px;padding:9px;font-size:12.5px}

/* link that looks like an underlined word */
.link-u{display:inline-block;font-size:12.5px;border-bottom:1px solid var(--gold);padding-bottom:3px;color:var(--ink)}

/* --------------------------------------------------- 8. Chips / selectors */
.chip{
  padding:8px 14px;border-radius:var(--r-pill);
  font-size:12px;border:1px solid var(--line);
  background:transparent;color:var(--muted);
  transition:background var(--fast) var(--ease),color var(--fast) var(--ease),border-color var(--fast) var(--ease);
}
.chip:hover{border-color:var(--gold)}
.chip.is-active,.chip[aria-pressed="true"]{background:var(--ink);color:var(--ivory);border-color:var(--ink)}
.chip--size{min-width:46px;min-height:44px;border-radius:var(--r-sm);font-size:12.5px}
.chip--day{width:56px;padding:10px 0;border-radius:var(--r-md);text-align:center}
.chip--day .chip__dow{display:block;font-size:10px;opacity:.75}
.chip--day .chip__num{display:block;font-family:var(--font-display);font-size:16px;margin-top:4px}
.chip-row{display:flex;gap:var(--gap-2);overflow-x:auto;padding:14px var(--gap-4) 2px}
.chip-wrap{display:flex;flex-wrap:wrap;gap:var(--gap-2)}

.swatch{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 12px 7px 7px;border-radius:var(--r-pill);
  border:1px solid var(--line);background:transparent;font-size:11.5px;
}
.swatch.is-active{border-color:var(--gold);background:var(--blush-tint)}
.swatch__dot{width:18px;height:18px;border-radius:var(--r-pill);border:1px solid rgba(0,0,0,.12)}

.segmented{display:flex;gap:var(--gap-2);padding:14px var(--gap-4) 0}

.langswitch{display:flex;border:1px solid var(--line);border-radius:var(--r-pill);overflow:hidden}
.langswitch button{padding:6px 10px;font-size:10.5px;color:var(--muted)}
.langswitch button.is-active{background:var(--ink);color:var(--ivory)}

/* --------------------------------------------------------------- 9. Search */
.search{
  display:flex;align-items:center;gap:9px;
  margin-top:var(--gap-3);padding:12px 14px;
  background:var(--cream);border:1px solid var(--line);border-radius:10px;
  color:var(--muted);font-size:13px;width:100%;
}

/* --------------------------------------------------- 10. Section headings */
.section{padding:var(--gap-6) var(--gap-5) 0}
.section__head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.section__title{font-family:var(--font-display);font-size:19px}
.section__more{font-size:11.5px;color:var(--gold)}

/* -------------------------------------------------------- 11. Category arch */
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap-3)}
.cat{text-align:center}
.cat__media{
  position:relative;
  height:240px;
  overflow:hidden;
  border:1px solid var(--line);background:var(--blush-tint);
  border-radius:80px 80px var(--r-md) var(--r-md); 
  display:inline-block;
  width:100%;
}
.cat__media img{width:100%;height:100%;object-fit:cover;
    border-radius: 150px 150px 10px 10px;
    
}
.cat__name{font-size:12.5px;margin-top:9px}
.cat__count{font-size:10px;color:var(--muted);margin-top:2px}

/* photo placeholder — replace with real <img> when photography arrives */
.ph{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  width:100%;height:100%;background:var(--champagne);color:#7A6134;font-size:9.5px;
}

/* ------------------------------------------------------------ 12. Products */
.rail{
        width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;

padding:0 var(--gap-5) 6px 0;
    
}
.rail .card{flex:none;width:100%}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 var(--gap-4) 28px}

.card{position:relative;display:block;width:100%;text-align:left}
.card__media{position:relative;height:232px;border-radius:var(--r-md);overflow:hidden;background:var(--blush-tint);
    width:100%;
    
}
.rail .card__media{height:236px;border-radius:14px}
.card__media img{width:100%;height:100%;object-fit:cover}
.card__name{font-size:12.5px;margin-top:8px}
.card__meta{font-size:10.5px;color:var(--muted);margin-top:3px}
.card__price{font-size:12.5px;color:var(--gold);font-weight:700;margin-top:4px}

.badge{
  position:absolute;top:8px;left:8px;
  padding:4px 8px;border-radius:var(--r-pill);
  font-size:9px;background:rgba(255,255,255,.93);color:var(--ink);
}
.badge--rent{background:var(--champagne);color:#4A3A22}

.fav{
  position:absolute;top:7px;right:7px;
  display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:var(--r-pill);
  background:rgba(255,255,255,.93);
}
/* NOTE: <use> creates a shadow tree — paint must sit on the <svg> itself,
   descendant selectors like `.fav svg path` never reach inside the sprite. */
.fav svg{fill:none;stroke:var(--muted)}
.fav.is-active svg{fill:var(--blush);stroke:#B9857A}

/* --------------------------------------------------------- 13. Filter bar */
.filterbar{display:flex;align-items:center;justify-content:space-between;padding:14px var(--gap-4) 10px}
.filterbar__btn{
  display:flex;align-items:center;gap:7px;
  padding:9px 12px;border:1px solid var(--gold);color:var(--gold);
  border-radius:var(--r-sm);font-size:12.5px;
}
.filterbar__count{font-size:12px;color:var(--muted)}

/* ------------------------------------------------------- 14. Product page */
.pdp__media{position:relative;height:466px;background:var(--blush-tint)}
.pdp__media img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.pdp__fav{top:14px;right:14px;width:40px;height:40px}
.dots{position:absolute;left:0;right:0;bottom:14px;display:flex;gap:6px;justify-content:center}
.dots span{width:7px;height:3px;border-radius:2px;background:rgba(255,255,255,.55)}
.dots span.is-active{width:22px;background:#fff}

.pdp__head{display:flex;align-items:flex-start;gap:var(--gap-3)}
.pdp__name{font-family:var(--font-display);font-size:24px;line-height:1.15}
.pdp__meta{font-size:11.5px;color:var(--muted);margin-top:5px}
.pdp__price{font-size:17px;font-weight:700;color:var(--gold);text-align:right}
.pdp__rent{font-size:10px;color:var(--muted);margin-top:4px;text-align:right}
.pdp__desc{font-size:12.5px;line-height:1.65;color:var(--muted);margin-top:14px}
.label{font-size:12.5px;font-weight:700}
.label-row{display:flex;align-items:baseline;justify-content:space-between;margin:22px 0 10px}

.specs{margin-top:24px;border-top:1px solid var(--line)}
.specs li{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:12.5px}
.specs dt,.specs .k{color:var(--muted)}

.stack{display:flex;flex-direction:column;gap:10px}

/* -------------------------------------------------------------- 15. Cart */
.cartitem{display:flex;gap:13px;padding:13px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:var(--gap-3)}
.cartitem__media{width:74px;height:96px;flex:none;border-radius:9px;overflow:hidden;background:var(--blush-tint)}
.cartitem__media img{width:100%;height:100%;object-fit:cover}
.cartitem__body{flex:1;display:flex;flex-direction:column}
.cartitem__opts{font-size:11px;color:var(--muted);margin-top:4px}
.cartitem__foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.stepper{display:flex;align-items:center;gap:var(--gap-3);border:1px solid var(--line);border-radius:var(--r-pill);padding:2px 8px}
.stepper button{width:28px;height:28px;font-size:16px;color:var(--muted)}
.stepper output{font-size:12.5px;min-width:12px;text-align:center}

.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:var(--gap-4)}
.panel--flush{padding:0;overflow:hidden}
.totals li{display:flex;justify-content:space-between;padding:6px 0;font-size:12.5px;color:var(--muted)}
.totals li.is-total{color:var(--ink);font-weight:700}

/* ---------------------------------------------------------- 16. List rows */
.rows li{display:flex;align-items:center;gap:13px;padding:14px var(--gap-4);border-bottom:1px solid var(--line)}
.rows li:last-child{border-bottom:0}
.rows button{display:flex;align-items:center;gap:13px;width:100%;text-align:left}
.rows__k{font-size:10px;color:var(--muted)}
.rows__v{font-size:13px;margin-top:3px}
.rows__label{flex:1;font-size:13px}
.rows__hint{font-size:11.5px;color:var(--muted)}

/* ---------------------------------------------------------- 17. Services */
.service{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:18px;margin-bottom:var(--gap-3)}
.service__head{display:flex;align-items:center;gap:var(--gap-3)}
.service__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:var(--r-pill);background:var(--blush-tint)}
.service__name{flex:1;font-family:var(--font-display);font-size:17px;line-height:1.2}
.service__desc{font-size:12.5px;line-height:1.6;color:var(--muted);margin-top:var(--gap-3)}
.service__foot{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:12px}

/* ------------------------------------------------------------- 18. About */
.abouthero{position:relative;height:280px}
.abouthero img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.abouthero__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(46,39,36,0) 40%,rgba(46,39,36,.7) 100%)}
.abouthero__title{position:absolute;left:var(--gap-5);right:var(--gap-5);bottom:18px;font-family:var(--font-display);font-size:24px;line-height:1.15;color:#fff}
.stats{display:flex;gap:10px;margin-top:var(--gap-5)}
.stats li{flex:1;text-align:center;background:var(--blush-tint);border-radius:14px;padding:16px 6px}
.stats b{display:block;font-family:var(--font-display);font-size:22px;color:var(--gold);font-weight:400}
.stats span{display:block;font-size:10.5px;color:var(--muted);margin-top:6px;line-height:1.35}
.steps li{display:flex;gap:14px;padding-bottom:18px}
.steps__n{display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex:none;border-radius:var(--r-pill);border:1px solid var(--gold);color:var(--gold);font-size:11.5px}
.steps__t{font-size:13px}
.steps__d{font-size:11.5px;color:var(--muted);margin-top:4px;line-height:1.5}

/* ----------------------------------------------------------- 19. Contacts */
.map{
  height:150px;border-radius:14px;border:1px solid var(--line);
  background:repeating-linear-gradient(45deg,#F3EAE2 0 12px,#F8F1EA 12px 24px);
  display:flex;align-items:center;justify-content:center;position:relative;
}
.map__pin{width:14px;height:14px;border-radius:var(--r-pill);background:var(--gold);box-shadow:0 0 0 6px rgba(168,131,75,.18)}
.map__note{position:absolute;bottom:10px;font-size:10px;color:var(--muted)}

/* ------------------------------------------------------------ 20. Profile */
.profile{display:flex;align-items:center;gap:14px;padding:0 var(--gap-1) var(--gap-5)}
.avatar{
  display:flex;align-items:center;justify-content:center;
  width:56px;height:56px;border-radius:var(--r-pill);
  background:var(--champagne);color:#6B5320;font-family:var(--font-display);font-size:19px;
}
.profile__name{font-family:var(--font-display);font-size:19px}
.profile__phone{font-size:11.5px;color:var(--muted);margin-top:4px}
.setting{display:flex;align-items:center;justify-content:space-between;gap:var(--gap-3);
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px var(--gap-4);margin-top:var(--gap-3)}
.setting__label{font-size:13px}
.switch{display:flex;align-items:center;width:44px;height:26px;border-radius:var(--r-pill);padding:3px;background:#DCD3CA;flex:none;
  transition:background var(--fast) var(--ease)}
.switch__knob{display:block;flex:none;width:20px;height:20px;border-radius:var(--r-pill);background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);
  transition:transform var(--fast) var(--ease)}
.switch[aria-checked="true"]{background:var(--gold)}
.switch[aria-checked="true"] .switch__knob{transform:translateX(18px)}

/* ------------------------------------------------------- 21. Empty state */
.empty{padding:70px 30px;text-align:center}
.empty__title{font-family:var(--font-display);font-size:18px;margin:16px 0 8px}
.empty__text{font-size:12.5px;color:var(--muted);line-height:1.6}

/* ---------------------------------------------------------- 22. Tab bar */
.tabbar{
  display:flex;flex:none;
  padding:9px 6px 11px;
  background:var(--ivory);border-top:1px solid var(--line);
  padding-bottom:calc(11px + env(safe-area-inset-bottom));
}
.tabbar__item{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;min-height:48px;color:var(--muted)}
.tabbar__item span{font-size:9px}
.tabbar__item svg{fill:none;stroke:currentColor}
.tabbar__item.is-active{color:var(--gold)}

/* ---------------------------------------------------- 23. Sheets & scrim */
.scrim{position:absolute;inset:0;background:var(--scrim);z-index:20;animation:fade var(--fast) var(--ease)}
.sheet{
  position:absolute;left:0;right:0;bottom:0;z-index:21;
  max-height:90%;overflow-y:auto;
  background:var(--cream);border-radius:20px 20px 0 0;
  animation:sheet-in var(--base) var(--ease);
}
.sheet__head{
  position:sticky;top:0;z-index:1;
  display:flex;align-items:center;gap:var(--gap-3);
  padding:14px var(--gap-5) 10px;background:var(--cream);border-bottom:1px solid var(--line);
}
.sheet__title{flex:1;font-family:var(--font-display);font-size:19px}
.sheet__reset{font-size:11.5px;color:var(--muted)}
.sheet__body{padding:18px var(--gap-5) 24px}
.fgroup{margin-bottom:22px}
.fgroup__title{font-size:12.5px;font-weight:700;margin-bottom:10px}

/* price range (static visual — wire up with two <input type=range>) */
.range{height:3px;background:var(--line);border-radius:2px;position:relative;margin-top:var(--gap-3)}
.range__fill{position:absolute;left:12%;right:22%;top:0;bottom:0;background:var(--gold);border-radius:2px}
.range__knob{position:absolute;top:-6px;width:15px;height:15px;border-radius:var(--r-pill);background:#fff;border:2px solid var(--gold)}
.range__knob--a{left:12%;transform:translateX(-50%)}
.range__knob--b{right:22%;transform:translateX(50%)}

/* form fields */
.field{display:block;margin-bottom:var(--gap-3)}
.field__label{display:block;font-size:11.5px;color:var(--muted);margin-bottom:6px}
.field__input{
  width:100%;padding:13px 14px;
  border:1px solid var(--line);border-radius:10px;background:#fff;
  font-size:13px;color:var(--ink);
  transition:border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease);
}
.field__input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(168,131,75,.14)}

/* booking success */
.success{padding:44px 30px 40px;text-align:center;animation:rise var(--base) var(--ease)}
.success__icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;margin:0 auto 18px;
  border-radius:var(--r-pill);background:var(--blush-tint)}
.success__title{font-family:var(--font-display);font-size:22px;margin-bottom:10px}
.success__text{font-size:12.5px;color:var(--muted);line-height:1.6}

/* ------------------------------------------------------------- 24. Toast */
.toast{
  position:absolute;left:var(--gap-4);right:var(--gap-4);bottom:calc(var(--tabbar-h) + 14px);z-index:30;
  padding:13px var(--gap-4);border-radius:var(--r-md);
  background:var(--ink);color:var(--ivory);font-size:12.5px;
  animation:rise var(--fast) var(--ease);
}

/* --------------------------------------------------- 25. Desktop framing */
@media (min-width:520px){
  body{background:#EFE8E1;display:flex;align-items:center;justify-content:center;padding:24px}
  .app{min-height:0;height:min(892px,calc(100dvh - 48px));border-radius:20px;
       box-shadow:0 30px 80px rgba(0,0,0,.18)}
}



.service__icon img{
    width:63%;
}


.cat__count{
        display: inline-block;
    width: 100%;
}

.is_hidden{
    display:none;
}

.is_visible{
    display:block;
}




