:root{
  --shop-bg:#FAFAF9;
  --shop-surface:#ffffff;
  --shop-surface-soft:#FAFAF9;
  --shop-text:#1C1917;
  --shop-muted:#78716C;
  --shop-line:#F0EEEC;
  --shop-orange:#F37A1F;
  --shop-orange-dark:#D9660F;
  --shop-navy:#061B4E;
  --shop-navy-soft:#eef1fa;
  --shop-green:#059669;
  --shop-red:#ef4444;
  --shop-yellow:#f59e0b;
  --shop-shadow:0 18px 42px rgba(28, 25, 23, .08);
}

body{
  background:var(--shop-bg);
  color:var(--shop-text);
}

a{
  color:inherit;
  text-decoration:none!important;
}

.shop-detail-page{
  width:min(1120px,100%);
  margin:0 auto 64px;
}

.shop-hero{
  position:relative;
  height:clamp(220px,30vw,320px);
  overflow:hidden;
  border-radius:28px;
  background:linear-gradient(135deg,var(--shop-navy),#12308F);
  box-shadow:var(--shop-shadow);
}

.shop-hero-cover{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.shop-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(28, 25, 23,.10) 0%,rgba(28, 25, 23,.32) 100%);
}

.shop-share-btn{
  position:absolute;
  top:18px;
  right:18px;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border:0;
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
  font-weight:800;
  cursor:pointer;
}

.shop-profile-card,
.shop-actions-card,
.shop-about-card,
.shop-review-form,
.shop-review-card,
.shop-empty-card{
  border:1px solid var(--shop-line);
  background:var(--shop-surface);
  box-shadow:var(--shop-shadow);
}

.shop-profile-card{
  position:relative;
  margin:-52px auto 0;
  width:min(980px,calc(100% - 24px));
  border-radius:28px;
  padding:72px 24px 24px;
  text-align:center;
}

.shop-avatar-wrap{
  position:absolute;
  top:-50px;
  left:50%;
  transform:translateX(-50%);
}

.shop-avatar{
  width:96px;
  height:96px;
  border:4px solid #fff;
  border-radius:48px;
  object-fit:cover;
  background:#fff;
  box-shadow:0 14px 32px rgba(28, 25, 23, .16);
}

.shop-avatar-fallback{
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#fbb034,var(--shop-orange));
  font-size:2rem;
  font-weight:900;
}

.shop-name-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:4px;
}

.shop-name-row h1{
  margin:0;
  font-size:clamp(1.7rem,3vw,2.4rem);
  font-weight:900;
  color:var(--shop-text);
}

.shop-verified-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  color:#fff;
  background:var(--shop-green);
  font-size:.76rem;
  font-weight:850;
}

.shop-fullname{
  margin:0 0 10px;
  color:var(--shop-muted);
  font-size:.94rem;
  font-weight:600;
}

.shop-meta-row{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}

.shop-meta-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 12px;
  border:1px solid var(--shop-line);
  border-radius:999px;
  background:var(--shop-surface-soft);
  color:var(--shop-muted);
  font-size:.85rem;
  font-weight:700;
}

.shop-rating-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 14px;
  border:1px solid var(--shop-line);
  border-radius:999px;
  background:#fff;
  margin-bottom:18px;
}

.shop-stars{
  display:inline-flex;
  gap:2px;
}

.shop-star{
  color:#D6D3D1;
  font-size:1rem;
}

.shop-star.is-filled{
  color:var(--shop-yellow);
}

.shop-rating-link strong{
  color:var(--shop-yellow);
  font-weight:900;
}

.shop-rating-link span:last-child{
  color:var(--shop-muted);
  font-weight:700;
}

.shop-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:8px;
}

.shop-stat-card{
  border-radius:18px;
  padding:14px 10px;
  text-align:center;
}

.shop-stat-card i{
  display:block;
  margin-bottom:6px;
  font-size:1rem;
}

.shop-stat-card strong{
  display:block;
  font-size:1.15rem;
  font-weight:900;
}

.shop-stat-card span{
  display:block;
  margin-top:4px;
  font-size:.74rem;
  font-weight:800;
  color:var(--shop-muted);
}

.stat-navy{
  background:var(--shop-navy-soft);
  color:var(--shop-navy);
}

.stat-orange{
  background:#FFF4EA;
  color:var(--shop-orange);
}

.stat-red{
  background:#fee2e2;
  color:var(--shop-red);
}

.stat-green{
  background:#dcfce7;
  color:var(--shop-green);
}

.shop-actions-card{
  width:min(980px,calc(100% - 24px));
  margin:14px auto 0;
  border-radius:22px;
  padding:16px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.shop-owner-notice{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:0 16px;
  border-radius:16px;
  color:var(--shop-navy);
  background:var(--shop-navy-soft);
  font-weight:850;
}

.shop-primary-action,
.shop-secondary-action{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 16px;
  border:0;
  border-radius:16px;
  font-size:.94rem;
  font-weight:850;
  cursor:pointer;
}

.shop-primary-action{
  color:#fff!important;
  background:var(--shop-orange);
  box-shadow:0 12px 24px rgba(243, 122, 31,.22);
}

.shop-secondary-action{
  color:var(--shop-navy)!important;
  background:var(--shop-navy-soft);
}

.shop-follow-btn.is-active{
  color:#fff!important;
  background:var(--shop-navy);
  box-shadow:0 12px 24px rgba(28, 25, 23,.18);
}

.shop-section{
  width:min(980px,calc(100% - 24px));
  margin:24px auto 0;
}

.shop-trust-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.shop-trust-card{
  padding:18px;
  border:1px solid var(--shop-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 24px rgba(28, 25, 23, .06);
}

.shop-trust-label{
  display:block;
  margin-bottom:8px;
  color:var(--shop-orange-dark);
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
}

.shop-trust-card strong{
  display:block;
  margin-bottom:8px;
  color:var(--shop-text);
  font-size:1.22rem;
  font-weight:900;
}

.shop-trust-card p{
  margin:0;
  color:#78716C;
  font-size:.9rem;
  line-height:1.55;
}

.shop-review-form{
  width:min(980px,calc(100% - 24px));
  margin:16px auto 0;
  border-radius:24px;
  padding:20px;
}

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

.shop-section-kicker{
  display:block;
  margin-bottom:4px;
  color:var(--shop-orange-dark);
  font-size:.74rem;
  font-weight:900;
  text-transform:uppercase;
}

.shop-section-head h2{
  margin:0;
  color:var(--shop-text);
  font-size:clamp(1.25rem,2vw,1.65rem);
  font-weight:900;
}

.shop-section-count{
  color:var(--shop-muted);
  font-weight:700;
}

.shop-inline-link{
  color:var(--shop-orange-dark);
  font-size:.86rem;
  font-weight:850;
}

.shop-about-card{
  border-radius:24px;
  padding:18px;
}

.shop-about-card p{
  margin:0;
  color:#5f6b7c;
  font-size:.97rem;
  line-height:1.75;
}

.shop-socials-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.shop-social-pill{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 16px;
  border-radius:999px;
  color:#fff!important;
  font-size:.88rem;
  font-weight:800;
  box-shadow:0 12px 24px rgba(28, 25, 23, .10);
}

.social-whatsapp{background:#25d366}
.social-facebook{background:#1877f2}
.social-instagram{background:#e1306c}
.social-tiktok{background:#1C1917}

.shop-reviews-list{
  display:grid;
  gap:12px;
}

.shop-review-card{
  border-radius:20px;
  padding:16px;
}

.shop-review-head{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.shop-review-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:19px;
  color:var(--shop-navy);
  background:var(--shop-navy-soft);
  font-weight:900;
}

.shop-review-meta{
  min-width:0;
  flex:1;
}

.shop-review-topline{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:4px;
}

.shop-review-topline strong{
  color:var(--shop-text);
  font-size:.94rem;
}

.shop-review-topline span{
  color:var(--shop-muted);
  font-size:.8rem;
  font-weight:700;
  white-space:nowrap;
}

.shop-review-comment{
  margin:10px 0 0 48px;
  color:#5f6b7c;
  line-height:1.65;
}

.shop-rating-input{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap:4px;
  margin-bottom:14px;
}

.shop-rating-input input{
  display:none;
}

.shop-rating-input label{
  color:#D6D3D1;
  font-size:2rem;
  cursor:pointer;
  line-height:1;
}

.shop-rating-input input:checked ~ label,
.shop-rating-input label:hover,
.shop-rating-input label:hover ~ label{
  color:var(--shop-yellow);
}

.shop-review-form textarea{
  width:100%;
  min-height:120px;
  resize:vertical;
  border:1px solid var(--shop-line);
  border-radius:18px;
  padding:14px 16px;
  color:var(--shop-text);
  background:var(--shop-surface-soft);
  outline:none;
}

.shop-review-form textarea:focus{
  border-color:#ffd9c2;
  box-shadow:0 0 0 3px rgba(243, 122, 31,.10);
}

.shop-review-actions{
  margin-top:14px;
  display:flex;
  justify-content:flex-end;
}

.shop-articles-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.shop-article-card{
  overflow:hidden;
  border:1px solid var(--shop-line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 24px rgba(28, 25, 23, .06);
  transition:transform .14s ease, box-shadow .14s ease;
}

@media (hover:hover){
  .shop-article-card:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 30px rgba(28, 25, 23, .10);
  }
}

.shop-article-media{
  display:block;
}

.images-slider{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:var(--shop-surface-soft);
}

.slides-container{
  display:flex;
  height:100%;
  transition:transform .55s ease;
}

.slide{
  min-width:100%;
  height:100%;
}

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

.shop-article-badge,
.shop-article-price{
  position:absolute;
  z-index:2;
}

.shop-article-badge{
  top:10px;
  left:10px;
  min-height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:999px;
  color:#fff;
  font-size:.72rem;
  font-weight:900;
}

.badge-danger{background:rgba(220,38,38,.96)}
.badge-muted{background:rgba(138, 127, 109,.96)}

.shop-article-price{
  right:10px;
  bottom:10px;
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 11px;
  border-radius:999px;
  color:#fff;
  background:rgba(243, 122, 31,.96);
  font-size:.78rem;
  font-weight:900;
  box-shadow:0 10px 20px rgba(243, 122, 31,.28);
}

.shop-article-body{
  display:grid;
  gap:10px;
  padding:14px;
}

.shop-article-body h3{
  margin:0;
  min-height:2.4em;
  color:var(--shop-text);
  font-size:.98rem;
  line-height:1.2;
  font-weight:850;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.shop-article-stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.shop-article-stats span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:28px;
  padding:0 10px;
  border:1px solid var(--shop-line);
  border-radius:999px;
  color:var(--shop-muted);
  background:var(--shop-surface-soft);
  font-size:.76rem;
  font-weight:800;
}

.shop-article-stats .stat-like{
  color:var(--shop-red);
}

.shop-article-stats .stat-contact{
  color:var(--shop-green);
}

.shop-article-actions{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.shop-article-wa{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border-radius:999px;
  color:#fff!important;
  background:var(--shop-orange);
  font-size:.84rem;
  font-weight:850;
  box-shadow:0 12px 24px rgba(243, 122, 31,.22);
}

.shop-owner-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.shop-owner-btn{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:12px;
  color:var(--shop-navy)!important;
  background:var(--shop-navy-soft);
  font-size:.78rem;
  font-weight:850;
}

.shop-owner-btn.danger{
  color:var(--shop-red)!important;
  background:#fef2f2;
}

.shop-empty-card{
  grid-column:1 / -1;
  border-radius:24px;
  padding:34px 20px;
  text-align:center;
}

.shop-empty-icon{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  border-radius:32px;
  color:#E7E5E4;
  background:var(--shop-surface-soft);
  font-size:1.5rem;
}

.shop-empty-card strong{
  display:block;
  color:var(--shop-text);
  font-size:1rem;
}

.shop-empty-card p{
  margin:6px 0 0;
  color:var(--shop-muted);
}

.message-interceptor{
  position:fixed;
  top:16px;
  right:12px;
  left:12px;
  z-index:1200;
  display:grid;
  gap:10px;
  pointer-events:none;
}

.alert{
  pointer-events:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  max-width:420px;
  margin-left:auto;
  padding:12px 14px;
  border:1px solid var(--shop-line);
  border-left:4px solid #D6D3D1;
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shop-shadow);
}

.alert-success{border-left-color:var(--shop-green)}
.alert-error{border-left-color:var(--shop-red)}

.alert-content{
  display:flex;
  align-items:center;
  gap:10px;
}

.close-alert{
  border:0;
  background:transparent;
  color:var(--shop-muted);
  font-size:1.2rem;
  cursor:pointer;
}

@media (max-width:1024px){
  .shop-trust-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

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

@media (max-width:760px){
  .shop-hero{
    border-radius:0;
  }

  .shop-profile-card,
  .shop-actions-card,
  .shop-section,
  .shop-review-form{
    width:calc(100% - 18px);
  }

  .shop-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

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

  .shop-articles-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
}

@media (max-width:520px){
  .shop-share-btn span,
  .shop-inline-link{
    display:none;
  }

  .shop-profile-card{
    padding-inline:16px;
  }

  .shop-actions-card{
    padding:14px;
  }

  .shop-primary-action,
  .shop-secondary-action,
  .shop-owner-notice{
    width:100%;
  }

  .shop-article-stats{
    gap:6px;
  }

  .shop-article-stats span{
    font-size:.72rem;
    padding:0 8px;
  }
}
