/* =========================================================
   VYO Shop Profile – Full rebuild
   ========================================================= */

.vyo-shopprofile-shell{
  min-height: calc(100vh - 60px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.5rem;
  margin-bottom: -1.5rem;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 480px at 10% 8%, rgba(34,197,94,.15), transparent 60%),
    radial-gradient(1100px 520px at 88% 20%, rgba(59,130,246,.14), transparent 60%),
    radial-gradient(900px 440px at 55% 100%, rgba(245,158,11,.10), transparent 60%);
}

/* =========================================================
   Hero
   ========================================================= */
.vyo-shop-hero{
  position: relative;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  padding: 24px clamp(18px, 3vw, 30px) 22px;
  margin: 0;
  border-left: 0;
  border-right: 0;
}

.vyo-shop-hero__bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(34,197,94,.14), rgba(59,130,246,.10), rgba(0,0,0,0));
  pointer-events: none;
}

html[data-theme="light"] .vyo-shop-hero__bg{
  opacity: .72;
}

.vyo-shop-hero__inner{
  max-width: 1280px;
  margin: 0 auto;
}

.vyo-shop-hero__main{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 18px;
  align-items: stretch;
}

.vyo-shop-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  margin-bottom: 12px;
}

html[data-theme="light"] .vyo-shop-hero__eyebrow{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.88);
}

.vyo-status-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.18);
}

.vyo-shop-hero__title{
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.02em;
  text-shadow: 0 12px 28px rgba(0,0,0,.22);
}

html[data-theme="light"] .vyo-shop-hero__title{
  text-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.vyo-shop-hero__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  opacity: .92;
  font-size: .98rem;
}

.vyo-shop-hero__kpis{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.vyo-shop-kpi{
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  box-shadow: 0 18px 36px rgba(0,0,0,.10);
}

html[data-theme="light"] .vyo-shop-kpi{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.vyo-shop-kpi__label{
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: .82;
}

.vyo-shop-kpi__value{
  margin-top: 8px;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 950;
}

.vyo-shop-hero__right{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.vyo-shop-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.vyo-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}

.vyo-action:hover{
  transform: translateY(-1px);
  filter: saturate(110%);
  text-decoration: none;
  color: inherit;
}

html[data-theme="light"] .vyo-action{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.88);
}

.vyo-action--soft{
  width: 42px;
  padding: 0;
}

.vyo-action--back{
  font-weight: 900;
}

.vyo-shop-hero__note{
  margin-left: auto;
  max-width: 360px;
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  font-size: .95rem;
  opacity: .95;
}

html[data-theme="light"] .vyo-shop-hero__note{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
}

/* =========================================================
   Inner page layout
   ========================================================= */
.vyo-shoppage-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px 18px;
}

.vyo-shop-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 0 !important;
}

.vyo-shop-main,
.vyo-shop-sidebar{
  min-width: 0;
}

.vyo-sidebar-card{
  position: static;
  top: auto;
}

/* =========================================================
   Generic cards
   ========================================================= */
.vyo-card{
  border-radius: 24px;
  padding: 18px;
}

.vyo-card__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.vyo-card__eyebrow{
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: .78;
}

.vyo-card__title{
  margin: 2px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 950;
}

.vyo-card__sub{
  margin: 6px 0 0;
  opacity: .82;
  font-size: .95rem;
}

.vyo-empty-state,
.vyo-empty-note{
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(0,0,0,.10);
  color: rgba(255,255,255,.78);
}

html[data-theme="light"] .vyo-empty-state,
html[data-theme="light"] .vyo-empty-note{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.88);
  color: rgba(17,24,39,.74);
}

/* =========================================================
   Topic panel
   ========================================================= */
.vyo-topic-panel{
  margin-top: 2px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.10);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .vyo-topic-panel{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.82);
}

.vyo-topic-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.vyo-topic-title{
  font-weight: 900;
}

.vyo-topic-sub{
  margin-top: 3px;
  font-size: .92rem;
  opacity: .82;
}

.vyo-topic-search{
  width: min(280px, 100%);
  border-radius: 14px;
}

.vyo-topic-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vyo-topic-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  color: inherit;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
}

.vyo-topic-chip:hover{
  transform: translateY(-1px);
  filter: saturate(110%);
}

.vyo-topic-chip.is-active{
  border-color: rgba(45,127,255,.34);
  background: rgba(45,127,255,.18);
}

html[data-theme="light"] .vyo-topic-chip{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
}

html[data-theme="light"] .vyo-topic-chip.is-active{
  border-color: rgba(45,127,255,.28);
  background: rgba(45,127,255,.12);
}

.vyo-topic-emoji{
  font-size: 1.05rem;
  line-height: 1;
}

.vyo-topic-name{
  font-weight: 850;
  font-size: .92rem;
}

.vyo-topic-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================================================
   Offers
   ========================================================= */
.vyo-offers-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vyo-offers-col{
  min-width: 0;
}

.vyo-offers-col__head{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  margin-bottom: 10px;
}

.vyo-offers-col__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 10px;
}

.vyo-offers-col__dot--green{ background: #22c55e; }
.vyo-offers-col__dot--amber{ background: #f59e0b; }

.vyo-offer-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vyo-offer-pill{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}

.vyo-offer-pill:hover{
  transform: translateY(-1px);
  filter: saturate(110%);
  text-decoration: none;
  color: inherit;
}

html[data-theme="light"] .vyo-offer-pill{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
}

.vyo-offer-pill--confirmed{
  border-color: rgba(34,197,94,.22);
}

.vyo-offer-pill--likely{
  border-color: rgba(245,158,11,.22);
}

.vyo-offer-pill__label{
  font-weight: 850;
  min-width: 0;
}

.vyo-offer-pill__badges{
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.vyo-mini-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .03em;
  border: 1px solid transparent;
  white-space: nowrap;
}

.vyo-mini-badge--confirmed{
  background: rgba(34,197,94,.16);
  border-color: rgba(34,197,94,.24);
  color: #86efac;
}

.vyo-mini-badge--owner{
  background: rgba(59,130,246,.16);
  border-color: rgba(59,130,246,.24);
  color: #93c5fd;
}

.vyo-mini-badge--likely{
  background: rgba(245,158,11,.16);
  border-color: rgba(245,158,11,.24);
  color: #fcd34d;
}

.vyo-mini-badge--community{
  background: rgba(6,182,212,.16);
  border-color: rgba(6,182,212,.24);
  color: #67e8f9;
}

html[data-theme="light"] .vyo-mini-badge--confirmed{ color: #166534; }
html[data-theme="light"] .vyo-mini-badge--owner{ color: #1d4ed8; }
html[data-theme="light"] .vyo-mini-badge--likely{ color: #92400e; }
html[data-theme="light"] .vyo-mini-badge--community{ color: #155e75; }

.vyo-info-strip{
  display: grid;
  gap: 10px;
}

.vyo-info-strip__item{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .92rem;
  opacity: .9;
}

/* =========================================================
   Sidebar / facts / map
   ========================================================= */
.vyo-facts-list{
  display: grid;
  gap: 12px;
}

.vyo-fact{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
}

html[data-theme="light"] .vyo-fact{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
}

.vyo-fact__label{
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  opacity: .74;
}

.vyo-fact__value{
  margin-top: 6px;
  font-weight: 700;
  line-height: 1.45;
}

.vyo-map{
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
}

html[data-theme="light"] .vyo-map{
  border-color: rgba(0,0,0,.08);
}

.vyo-note-box{
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  font-size: .95rem;
  line-height: 1.55;
  opacity: .95;
}

html[data-theme="light"] .vyo-note-box{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
}

/* =========================================================
   Comments
   ========================================================= */
.vyo-collapse-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  padding: 2px 2px 0;
}

.vyo-collapse-title{
  font-weight: 950;
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
}

.vyo-collapse-icon{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.10);
  font-size: 1.15rem;
  font-weight: 900;
}

html[data-theme="light"] .vyo-collapse-icon{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
}

.vyo-comments-list{
  display: grid;
  gap: 12px;
}

.vyo-comment-card{
  border-radius: 20px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  color: var(--text, #e8eaed);
}

html[data-theme="light"] .vyo-comment-card{
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  color: var(--text, #212529);
}

.vyo-comment-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.vyo-comment-card__body{
  margin-top: 10px;
  color: var(--text, #e8eaed) !important;
  opacity: .96;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: normal;
}

html[data-theme="light"] .vyo-comment-card__body{
  color: var(--text, #212529) !important;
}

.vyo-comment-card__body .pf-censored{
  color: inherit;
}

.vyo-comment-card__meta{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.72);
}

html[data-theme="light"] .vyo-comment-card__meta{
  color: rgba(17,24,39,.65);
}

/* =========================================================
   Existing modal support
   ========================================================= */
#vyoAlreadyRatedModal .vyo-modal-score{
  color: rgba(255,255,255,.92);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199.98px){
  .vyo-shop-layout{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px){
  .vyo-shop-hero{
    border-radius: 0 0 24px 24px;
    padding: 20px 18px;
  }

  .vyo-shop-hero__main{
    grid-template-columns: 1fr;
  }

  .vyo-shop-hero__right{
    align-items: stretch;
  }

  .vyo-shop-actions{
    justify-content: flex-start;
  }

  .vyo-shop-hero__note{
    margin-left: 0;
    max-width: none;
  }

  .vyo-shop-hero__kpis{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vyo-offers-grid{
    grid-template-columns: 1fr;
  }

  .vyo-shoppage-inner{
    padding: 14px 16px 16px;
  }
}

@media (max-width: 767.98px){
  .vyo-shopprofile-shell{
    margin-top: -1rem;
    margin-bottom: -1rem;
  }

  .vyo-shop-hero__kpis{
    grid-template-columns: 1fr;
  }

  .vyo-card{
    padding: 15px;
    border-radius: 20px;
  }

  .vyo-topic-head{
    flex-direction: column;
    align-items: stretch;
  }

  .vyo-topic-search{
    width: 100%;
  }

  .vyo-topic-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .vyo-offer-pill{
    flex-direction: column;
    align-items: flex-start;
  }

  .vyo-offer-pill__badges{
    justify-content: flex-start;
  }

  .vyo-comment-card__top{
    flex-direction: column;
    gap: 6px;
  }

  .vyo-map{
    height: 280px;
  }

  .vyo-shoppage-inner{
    padding: 12px 14px 14px;
  }
}

/* =========================================================
   Unterkategorie-Chips: eigene Bewertung farblich markieren
   ========================================================= */

.vyo-topic-chip--subcat{
  position: relative;
  overflow: hidden;
}

.vyo-topic-chip--subcat.is-rated{
  border-color: var(--subcat-rated-accent, #15c70c);
  background:
    linear-gradient(90deg, var(--subcat-rated-accent-soft, rgba(21,199,12,.10)) 0%, transparent 58%);
  box-shadow:
    inset 4px 0 0 var(--subcat-rated-accent, #15c70c),
    0 0 0 1px var(--subcat-rated-accent-soft, rgba(21,199,12,.14));
}

.vyo-topic-chip--subcat.is-rated::after{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: var(--subcat-rated-accent, #15c70c);
  box-shadow: 0 0 12px var(--subcat-rated-accent-soft, rgba(21,199,12,.18));
  pointer-events: none;
}

.vyo-topic-chip--subcat.is-active.is-rated{
  box-shadow:
    inset 5px 0 0 var(--subcat-rated-accent, #15c70c),
    0 0 0 1px var(--subcat-rated-accent-soft, rgba(21,199,12,.16)),
    0 12px 28px -20px var(--subcat-rated-accent, #15c70c);
}

html[data-theme="dark"] .vyo-topic-chip--subcat.is-rated{
  background:
    linear-gradient(90deg, var(--subcat-rated-accent-soft, rgba(21,199,12,.12)) 0%, transparent 58%),
    rgba(255,255,255,.02);
}

/* =========================================================
   Angebots-Pills: eigene Bewertung farblich markieren
   ========================================================= */

.vyo-offer-pill{
  position: relative;
  overflow: hidden;
}

.vyo-offer-pill.is-rated{
  border-color: var(--offer-rated-accent, #15c70c) !important;
  background:
    linear-gradient(90deg, var(--offer-rated-accent-soft, rgba(21,199,12,.10)) 0%, transparent 62%);
  box-shadow:
    inset 4px 0 0 var(--offer-rated-accent, #15c70c),
    0 0 0 1px var(--offer-rated-accent-soft, rgba(21,199,12,.12));
}

.vyo-offer-pill.is-rated::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 999px;
  background: var(--offer-rated-accent, #15c70c);
  box-shadow: 0 0 14px var(--offer-rated-accent-soft, rgba(21,199,12,.18));
  pointer-events: none;
}

html[data-theme="dark"] .vyo-offer-pill.is-rated{
  background:
    linear-gradient(90deg, var(--offer-rated-accent-soft, rgba(21,199,12,.12)) 0%, transparent 62%),
    rgba(255,255,255,.02);
}

/* =========================================
   Shop-Profil Kommentare: klickbar + Reactions
   ========================================= */

.vyo-comment-card__jump{
  display:block;
  text-decoration:none;
  color:inherit;
}

.vyo-comment-card__jump:hover .vyo-comment-card__body{
  opacity:.96;
}

.vyo-comment-card__body{
  transition: opacity .12s ease;
}

.vyo-comment-card__open{
  margin-left:0;
  color:inherit;
  text-decoration:none;
  font-weight:700;
  opacity:.84;
}

.vyo-comment-card__open:hover{
  opacity:1;
}

.vyo-comment-card .like-container{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.vyo-comment-card .reply-form{
  width:100%;
}

.vyo-comment-card .replies{
  width:100%;
}

/* ============ Shop Profile comment actions ============ */

.vyo-comment-card .vyo-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.vyo-comment-card .vyo-votebtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.06);
  color:inherit;
  backdrop-filter:blur(10px);
  transition:transform .12s ease, filter .12s ease, background .12s ease, opacity .12s ease;
}

html[data-theme="light"] .vyo-comment-card .vyo-votebtn{
  background:rgba(0,0,0,.04);
}

.vyo-comment-card .vyo-votebtn:hover{
  transform:translateY(-1px);
  filter:saturate(110%);
  background:rgba(255,255,255,.10);
}

html[data-theme="light"] .vyo-comment-card .vyo-votebtn:hover{
  background:rgba(0,0,0,.06);
}

.vyo-comment-card .vyo-votebtn:active{
  transform:translateY(0) scale(.99);
}

.vyo-comment-card .vyo-votebtn.active{
  background:rgba(34,197,94,.18);
}

.vyo-comment-card .vyo-votebtn--down.active{
  background:rgba(220,53,69,.16);
}

.vyo-comment-card .vyo-iconbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.06);
  color:inherit;
  backdrop-filter:blur(10px);
  transition:transform .12s ease, filter .12s ease, background .12s ease;
}

html[data-theme="light"] .vyo-comment-card .vyo-iconbtn{
  background:rgba(0,0,0,.04);
}

.vyo-comment-card .vyo-iconbtn:hover{
  transform:translateY(-1px);
  filter:saturate(110%);
  background:rgba(255,255,255,.10);
}

html[data-theme="light"] .vyo-comment-card .vyo-iconbtn:hover{
  background:rgba(0,0,0,.06);
}

.vyo-comment-card .vyo-iconbtn:active{
  transform:translateY(0) scale(.99);
}

.vyo-comment-card .vyo-iconbtn--danger:hover{
  background:rgba(220,53,69,.16);
}

.vyo-comment-card .vyo-iconbtn--muted:hover{
  background:rgba(148,163,184,.14);
}

.vyo-comment-card .reply-form{
  width:100%;
}

.vyo-comment-card .replies{
  width:100%;
}