/* Centralized from elan.evi.az/app/views/store_detail.php — 2026-09-27 */

:root{
  --store-brand:#009e8e;
  --store-brand-dark:#007f73;
  --store-text:#171b23;
  --store-muted:#707986;
  --store-line:#e7eaee;
  --store-soft:#f5f7f9;
  --store-green:#12a150;
  --store-red:#d44949;
}

/* Bu səhifədə saytın standart header-i görünmür */
body.store-detail-page-active,
body.store-detail-page-active.has-app-banner{
  padding-top:0 !important;
}

body.store-detail-page-active .site-header,
body.store-detail-page-active .app-install-banner{
  display:none !important;
}

/* STORE DETAIL CUSTOM HEADER */
.store-detail-header{
  position:sticky;
  top:0;
  z-index:1100;
  width:100%;
  height:64px;
  background:rgba(255,255,255,.95);
  border-bottom:1px solid #e8ecef;
  box-shadow:0 4px 18px rgba(17,24,39,.045);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.store-detail-header-inner{
  width:min(1240px,100%);
  height:100%;
  margin:0 auto;
  padding:0 16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:12px;
}

.store-detail-header-left{
  min-width:0;
  display:flex;
  align-items:center;
  justify-self:start;
}

.store-detail-back{
  min-width:40px;
  height:40px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #e5e9ec;
  border-radius:12px;
  background:#f8fafb;
  color:#333b44;
  text-decoration:none;
  font-size:12px;
  font-weight:850;
  transition:.18s ease;
}

.store-detail-back:hover{
  background:#f1f4f5;
  color:#22282f;
  text-decoration:none;
}

.store-detail-header-title{
  max-width:420px;
  overflow:hidden;
  color:#1f252c;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
  font-size:15px;
  font-weight:950;
}

.store-detail-header-right{
  justify-self:end;
}

.store-detail-share{
  height:40px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #dce7e5;
  border-radius:12px;
  background:#eef9f7;
  color:#087d72;
  cursor:pointer;
  font-size:11.5px;
  font-weight:900;
}

.store-detail-share:hover{
  background:#e5f6f3;
}

.store-page,
.store-page *{box-sizing:border-box;}

.store-page{
  min-height:100vh;
  padding:0 0 90px;
  background:
    linear-gradient(180deg,#fff 0,#fff 290px,#f5f7f9 290px,#f5f7f9 100%);
  color:var(--store-text);
}

/* =========================================================
   COVER — mağazanın ön vitrini
========================================================= */
.store-cover-stage{
  width:min(1440px,100%);
  margin:0 auto;
  padding:14px 14px 0;
}

.store-cover{
  position:relative;
  height:390px;
  overflow:hidden;
  border-radius:30px;
  background:#e9edef;
}

.store-cover > img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.store-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top,rgba(9,16,22,.42),rgba(9,16,22,.05) 48%,rgba(9,16,22,.02)),
    linear-gradient(to right,rgba(9,16,22,.12),transparent 45%);
  pointer-events:none;
}

.store-cover-status{
  position:absolute;
  right:20px;
  top:20px;
  z-index:2;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 13px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 10px 26px rgba(0,0,0,.12);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  font-size:11px;
  font-weight:900;
}

.store-cover-status .dot{
  width:8px;
  height:8px;
  border-radius:50%;
}

.store-cover-status.is-open{color:#0c7f45;}
.store-cover-status.is-open .dot{background:#11a75a;box-shadow:0 0 0 4px rgba(17,167,90,.12);}
.store-cover-status.is-closed{color:#b73f3f;}
.store-cover-status.is-closed .dot{background:#d64a4a;box-shadow:0 0 0 4px rgba(214,74,74,.12);}
.store-cover-status.is-neutral{color:#69737d;}
.store-cover-status.is-neutral .dot{background:#9aa2a9;}

/* =========================================================
   PROFILE CARD — cover-in üzərinə qalxır
========================================================= */
.store-shell{
  position:relative;
  z-index:3;
  width:min(1240px,calc(100% - 34px));
  margin:-82px auto 0;
}

.store-profile-card{
  position:relative;
  display:grid;
  grid-template-columns:118px minmax(0,1fr) 210px;
  gap:24px;
  align-items:start;
  padding:24px;
  border:1px solid rgba(226,230,234,.95);
  border-radius:26px;
  background:rgba(255,255,255,.98);
  box-shadow:0 24px 60px rgba(18,26,36,.12);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.store-profile-logo-wrap{
  position:relative;
  width:118px;
  height:118px;
  padding:5px;
  border-radius:27px;
  background:#fff;
  border:1px solid #e8ecef;
  box-shadow:0 12px 28px rgba(15,23,42,.13);
}

.store-profile-logo{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:22px;
  background:#fff;
}

.store-logo-verified{
  position:absolute;
  right:-5px;
  bottom:-4px;
  width:28px;
  height:28px;
  border:3px solid #fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--store-brand);
  color:#fff;
  font-size:11px;
  font-weight:950;
  box-shadow:0 6px 16px rgba(0,158,142,.32);
}

.store-profile-center{min-width:0;}

.store-profile-name-row{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}

.store-profile-work{
  margin-left:auto;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
  padding-left:14px;
}

.store-profile-work-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10.5px;
  font-weight:900;
  white-space:nowrap;
}

.store-profile-work-status::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#9aa2a9;
}

.store-profile-work-status.is-open{color:#0b8548;}
.store-profile-work-status.is-open::before{background:#12a358;box-shadow:0 0 0 4px rgba(18,163,88,.10);}
.store-profile-work-status.is-closed{color:#be4242;}
.store-profile-work-status.is-closed::before{background:#d74b4b;box-shadow:0 0 0 4px rgba(215,75,75,.10);}
.store-profile-work-status.is-neutral{color:#6e7780;}

.store-profile-work-hours{
  color:#77818b;
  font-size:10.5px;
  font-weight:750;
  white-space:nowrap;
}

.store-profile-name{
  margin:0;
  min-width:0;
  color:#20252d;
  font-size:30px;
  line-height:1.08;
  font-weight:950;
  letter-spacing:-.55px;
}

.store-name-verified{
  width:23px;
  height:23px;
  flex:0 0 23px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e7f8f5;
  color:var(--store-brand);
  font-size:11px;
  font-weight:950;
}

.store-profile-slogan{
  margin-top:6px;
  color:#6b7480;
  font-size:13px;
  line-height:1.5;
  font-weight:650;
}

.store-profile-meta{
  display:flex;
  align-items:center;
  gap:7px 11px;
  flex-wrap:wrap;
  margin-top:9px;
  color:#727c88;
  font-size:12px;
  line-height:1.45;
  font-weight:700;
}

.store-profile-meta-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
}

.store-profile-meta-item i{color:#97a0a9;font-size:11px;}
.store-profile-meta-sep{width:3px;height:3px;border-radius:50%;background:#c4c9ce;}
.store-profile-meta .open-text{color:#0b894a;}
.store-profile-meta .closed-text{color:#c14343;}

.store-profile-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:15px;
  padding:14px 0;
  border-top:1px solid #e9ecef;
  border-bottom:1px solid #e9ecef;
}

.store-profile-stat{
  min-width:0;
  padding:0 18px;
}

.store-profile-stat:first-child{padding-left:0;}
.store-profile-stat + .store-profile-stat{border-left:1px solid #e9ecef;}

.store-profile-stat-label{
  color:#8b939d;
  font-size:9.5px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:.45px;
  text-transform:uppercase;
}

.store-profile-stat-value{
  margin-top:4px;
  color:#20252d;
  font-size:20px;
  line-height:1.1;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.store-profile-stat-sub{
  margin-top:3px;
  color:#9aa2aa;
  font-size:9.5px;
  font-weight:650;
}

.store-profile-about{
  margin-top:14px;
  color:#66707c;
  font-size:13.5px;
  line-height:1.7;
}

.store-profile-about p{margin:0;}

.store-inline-links{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:13px;
}

.store-inline-link{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid #e7ebee;
  background:#f8fafb;
  color:#525d67;
  text-decoration:none;
  font-size:10.5px;
  font-weight:800;
}

.store-inline-link:hover{color:var(--store-brand);border-color:#d8ebe8;text-decoration:none;}
.store-inline-link i{color:var(--store-brand);}

/* RIGHT ACTIONS */
.store-profile-actions{
  display:grid;
  gap:9px;
}

.store-profile-action{
  width:100%;
  min-height:50px;
  border:1px solid #e1e5e9;
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 14px;
  background:#fff;
  color:#2e343c;
  text-decoration:none;
  font-size:12.5px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

.store-profile-action:hover{
  transform:translateY(-1px);
  border-color:#d5dbe0;
  color:#1f252c;
  text-decoration:none;
  box-shadow:0 7px 18px rgba(17,24,39,.05);
}

.store-profile-action.primary{
  border-color:var(--store-brand);
  background:var(--store-brand);
  color:#fff;
  box-shadow:0 9px 22px rgba(0,158,142,.19);
}

.store-profile-action.primary:hover{background:var(--store-brand-dark);color:#fff;}
.store-profile-action.following{border-color:#cdebe6;background:#edf9f7;color:#087f72;}
.store-profile-action:disabled{
  cursor:default;
  opacity:.72;
  transform:none !important;
  box-shadow:none !important;
}
.store-profile-action.is-busy{
  pointer-events:none;
  opacity:.66;
}
.store-profile-action i{font-size:14px;}

/* =========================================================
   MAĞAZA STATUS MƏLUMATI
========================================================= */
.store-state-notice{
  margin-top:14px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  border:1px solid #eadfba;
  border-radius:16px;
  background:#fffaf0;
  color:#775d17;
  box-shadow:0 8px 24px rgba(17,24,39,.035);
}

.store-state-notice-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(0,0,0,.04);
  font-size:15px;
}

.store-state-notice-copy{min-width:0;}
.store-state-notice-title{
  color:inherit;
  font-size:12.5px;
  line-height:1.3;
  font-weight:950;
}

.store-state-notice-text{
  margin-top:3px;
  color:inherit;
  opacity:.92;
  font-size:11.5px;
  line-height:1.55;
  font-weight:700;
}

.store-state-notice.blocked{
  border-color:#f2caca;
  background:#fff4f4;
  color:#a72f2f;
}

.store-state-notice.expired{
  border-color:#dfe3e7;
  background:#f7f8f9;
  color:#5f6871;
}

.store-profile-action.status-disabled{
  grid-column:1/-1;
  border-color:#e2e6e9;
  background:#f5f7f8;
  color:#6c7580;
}

/* =========================================================
   ELAN KATEQORİYA FILTERLƏRİ
========================================================= */
.store-category-filter-row{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:8px;
  padding:2px 0 3px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.store-category-filter-row::-webkit-scrollbar{display:none;}

.store-category-filter-btn{
  flex:0 0 auto;
  min-height:34px;
  padding:0 12px;
  border:1px solid #e4e8eb;
  border-radius:11px;
  background:#fff;
  color:#58636e;
  cursor:pointer;
  font-size:10.5px;
  font-weight:850;
  white-space:nowrap;
  transition:.16s ease;
}

.store-category-filter-btn:hover{
  border-color:#cfe6e2;
  color:#087d72;
}

.store-category-filter-btn.active{
  border-color:var(--store-brand);
  background:#eaf8f6;
  color:#087d72;
  box-shadow:0 4px 12px rgba(0,158,142,.08);
}

.store-category-filter-count{
  margin-left:5px;
  color:#98a0a8;
  font-size:9px;
  font-weight:800;
}

.store-category-filter-btn.active .store-category-filter-count{
  color:#178f83;
}

/* =========================================================
   LISTINGS
========================================================= */
.store-shop-section{margin-top:24px;}

.store-shop-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}

.store-shop-title h2{
  margin:0;
  color:#1d232b;
  font-size:22px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:-.25px;
}

.store-shop-title p{
  margin:5px 0 0;
  color:#89919a;
  font-size:11.5px;
  font-weight:650;
}

.store-listing-count{
  min-width:40px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e9f8f6;
  color:var(--store-brand);
  font-size:11px;
  font-weight:950;
}

.store-toolbar{
  display:block;
  margin-bottom:12px;
}

.store-search-box{
  min-height:46px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border:1px solid #e4e8eb;
  border-radius:14px;
  background:#fff;
}

.store-search-box i{color:#949ca4;font-size:13px;}
.store-search-box input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#27313a;
  font-size:12.5px;
  font-weight:700;
}
.store-search-box input::placeholder{color:#a4abb1;}

.store-listing-entry{height:100%;}
.store-listing-entry > *{height:100%;}
.store-listing-entry.is-hidden{display:none !important;}

.store-no-results{
  display:none;
  padding:44px 18px;
  text-align:center;
  border:1px solid #e6eaed;
  border-radius:20px;
  background:#fff;
  color:#858e96;
  font-size:12.5px;
  font-weight:750;
}
.store-no-results.active{display:block;}

.empty-store{
  padding:50px 20px;
  text-align:center;
  border:1px solid #e6eaed;
  border-radius:20px;
  background:#fff;
  color:#879098;
  font-size:13px;
  font-weight:750;
}
.empty-store i{display:block;margin-bottom:10px;color:#afb7bd;font-size:30px;}

/* =========================================================
   PHONE SHEET + TOAST
========================================================= */
.phone-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:rgba(14,20,24,0);
  visibility:hidden;
  opacity:0;
  transition:.22s ease;
}
.phone-modal.active{visibility:visible;opacity:1;background:rgba(14,20,24,.50);}

.phone-sheet{
  width:min(460px,calc(100% - 20px));
  margin:0 10px 12px;
  padding:10px;
  border-radius:26px;
  background:rgba(255,255,255,.98);
  box-shadow:0 -15px 50px rgba(0,0,0,.18);
  transform:translateY(28px);
  transition:.22s ease;
}
.phone-modal.active .phone-sheet{transform:translateY(0);}
.phone-handle{width:42px;height:5px;margin:2px auto 12px;background:#d9dee2;border-radius:999px;}
.phone-header{text-align:center;padding:4px 10px 13px;font-weight:950;color:#20252d;font-size:15px;}
.phone-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:56px;
  margin-bottom:7px;
  padding:10px 14px;
  border-radius:17px;
  border:1px solid #e9edef;
  background:#f8fafb;
  color:#20252d;
  text-decoration:none;
  font-size:13px;
  font-weight:850;
}
.phone-item-icon{
  width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;background:#e6f7f4;color:var(--store-brand);
}
.phone-cancel{width:100%;height:52px;margin-top:4px;border:0;border-radius:17px;background:#eff2f4;color:#596169;font-weight:850;cursor:pointer;}

.store-toast{
  position:fixed;
  left:50%;
  bottom:26px;
  z-index:100001;
  max-width:calc(100% - 28px);
  padding:11px 15px;
  border-radius:13px;
  background:#1f2933;
  color:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  font-size:11.5px;
  font-weight:800;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,12px);
  transition:.2s ease;
}
.store-toast.active{opacity:1;visibility:visible;transform:translate(-50%,0);}

/* =========================================================
   TABLET / MOBILE
========================================================= */
@media(max-width:900px){
  .store-profile-card{grid-template-columns:96px minmax(0,1fr);gap:18px;}
  .store-profile-logo-wrap{width:96px;height:96px;border-radius:23px;}
  .store-profile-logo{border-radius:19px;}
  .store-profile-actions{grid-column:1/-1;grid-template-columns:repeat(3,1fr);}
  .store-profile-action{min-height:46px;}
}

@media(max-width:767px){
  .store-detail-header{height:54px;}
  .store-detail-header-inner{
    grid-template-columns:42px minmax(0,1fr) 42px;
    padding:0 8px;
    gap:6px;
  }
  .store-detail-back{
    width:38px;
    min-width:38px;
    height:38px;
    padding:0;
    border-radius:11px;
  }
  .store-detail-back span{display:none;}
  .store-detail-header-title{
    width:100%;
    max-width:none;
    font-size:13px;
  }
  .store-detail-share{
    width:38px;
    height:38px;
    padding:0;
    border-radius:11px;
  }
  .store-detail-share span{display:none;}

  .store-page{
    padding-bottom:100px;
    background:linear-gradient(180deg,#fff 0,#fff 170px,#f5f7f9 170px,#f5f7f9 100%);
  }

  .store-cover-stage{padding:0;}
  .store-cover{height:230px;border-radius:0;}
  .store-cover-status{top:12px;right:12px;min-height:31px;padding:0 10px;font-size:9.5px;}

  .store-shell{
    width:calc(100% - 16px);
    margin:-48px auto 0;
  }

  .store-profile-card{
    display:block;
    padding:58px 13px 13px;
    border-radius:22px;
    box-shadow:0 16px 40px rgba(18,26,36,.13);
  }

  .store-profile-logo-wrap{
    position:absolute;
    left:14px;
    top:-38px;
    width:82px;
    height:82px;
    border-radius:22px;
    padding:4px;
  }

  .store-profile-logo{border-radius:18px;}
  .store-logo-verified{right:-3px;bottom:-3px;width:24px;height:24px;border-width:2px;font-size:9px;}

  .store-profile-name-row{
    padding-right:2px;
    flex-wrap:wrap;
    row-gap:7px;
  }
  .store-profile-name{font-size:21px;letter-spacing:-.3px;}
  .store-profile-work{
    width:100%;
    margin-left:0;
    padding-left:0;
    gap:7px;
  }
  .store-profile-work-status,
  .store-profile-work-hours{font-size:9px;}
  .store-name-verified{width:19px;height:19px;flex-basis:19px;font-size:9px;}
  .store-profile-slogan{margin-top:4px;font-size:11.5px;line-height:1.45;}

  .store-profile-meta{
    gap:5px 8px;
    margin-top:7px;
    font-size:9.8px;
  }
  .store-profile-meta-item i{font-size:9px;}

  .store-profile-stats{margin-top:11px;padding:10px 0;}
  .store-profile-stat{padding:0 8px;}
  .store-profile-stat:first-child{padding-left:0;}
  .store-profile-stat-label{font-size:7.7px;letter-spacing:.25px;}
  .store-profile-stat-value{margin-top:3px;font-size:15px;}
  .store-profile-stat-sub{display:none;}

  .store-profile-about{
    margin-top:10px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
    font-size:11px;
    line-height:1.55;
  }

  .store-inline-links{margin-top:9px;gap:5px;}
  .store-inline-link{min-height:29px;padding:0 8px;border-radius:9px;font-size:9px;}

  .store-profile-actions{
    display:grid;
    grid-template-columns:1.25fr 1fr 1fr;
    gap:6px;
    margin-top:12px;
  }
  .store-profile-action{min-height:42px;border-radius:11px;padding:0 8px;font-size:10px;gap:6px;}
  .store-profile-action i{font-size:12px;}

  .store-category-filter-row{
    gap:5px;
    margin-top:6px;
    padding-bottom:2px;
  }
  .store-category-filter-btn{
    min-height:30px;
    padding:0 10px;
    border-radius:9px;
    font-size:9px;
  }
  .store-category-filter-count{font-size:8px;}

  .store-shop-section{margin-top:16px;}
  .store-shop-head{align-items:center;margin-bottom:9px;}
  .store-shop-title h2{font-size:17px;}
  .store-shop-title p{display:none;}
  .store-listing-count{min-width:34px;height:27px;font-size:9.5px;}

  .store-toolbar{margin-bottom:9px;}
  .store-search-box{min-height:42px;border-radius:12px;padding:0 12px;}
  .store-search-box input{font-size:11px;}
}


/* =========================================================
   SOURCE: elan.evi.az/app/views/store_detail.php [former inline styles]
========================================================= */
[data-evi-inline="evi-a751805f7c"]{display:block;font-size:26px;margin-bottom:9px;color:#b0b8be}
