:root {
  --article-orange: #F37A1F;
  --article-orange-deep: #D9660F;
  --article-blue: #0B46D8;
  --article-ink: #171717;
  --article-text: #495261;
  --article-muted: #8a95a7;
  --article-line: rgba(28, 25, 23, 0.08);
  --article-soft: #f4f6fb;
  --article-card: #ffffff;
  --article-success: #25d366;
  --article-danger: #f59e0b;
  --article-shadow: 0 26px 56px rgba(28, 25, 23, 0.12);
}

body.article-detail-page {
  background:
    radial-gradient(circle at top left, rgba(243, 122, 31, 0.16), transparent 28%),
    linear-gradient(180deg, #eef4fb 0%, #f5f6fa 34%, #FAFAF9 100%);
  color: var(--article-text);
}

.article-detail-page a {
  color: inherit;
  text-decoration: none !important;
}

.article-page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 14px 120px;
}

.article-hero-section,
.article-store-card,
.article-contact-card,
.article-similar-section {
  margin-bottom: 20px;
}

.article-hero-media,
.article-store-card,
.article-contact-card,
.article-similar-section,
.article-info-card {
  background: var(--article-card);
  border: 1px solid var(--article-line);
  box-shadow: var(--article-shadow);
}

.article-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #dbe7f8;
}

.article-hero-actions {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-hero-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-circle-btn {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--article-ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  transition: transform 0.18s ease, background 0.18s ease;
}

.article-circle-btn:hover,
.article-circle-btn:focus-visible {
  transform: translateY(-1px);
  background: #fff;
}

.article-like-btn.is-liked,
.article-sticky-like.is-liked {
  background: #fff0f0;
  color: #ef4444;
}

.article-gallery-stage {
  position: relative;
  aspect-ratio: 1 / 0.92;
  min-height: 360px;
}

.article-gallery-slide,
.article-gallery-fallback {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.article-gallery-slide.is-active,
.article-gallery-fallback.is-active {
  opacity: 1;
  pointer-events: auto;
}

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

.article-gallery-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #DCE6FF, #A9C0FF);
}

.article-photo-badge {
  position: absolute;
  top: 88px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.article-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.article-dot-btn {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.18s ease, background 0.18s ease;
}

.article-dot-btn.is-active {
  width: 22px;
  background: #fff;
}

.article-info-card {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 24px));
  margin: -34px auto 0;
  padding: 28px 28px 24px;
  border-radius: 30px;
}

.article-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.article-head-copy h1,
.article-copy-block h2,
.article-store-copy h2,
.article-section-head h2 {
  margin: 0;
  color: var(--article-ink);
}

.article-head-copy h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.04;
  font-weight: 850;
}

.article-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--article-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-price-block {
  min-width: 180px;
  padding: 14px 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, #fff8f2 0%, #ffe8d4 100%);
  text-align: right;
}

.article-price-block span,
.article-sticky-price span,
.article-section-count,
.article-store-count {
  color: var(--article-muted);
  font-size: 0.9rem;
}

.article-price-block strong,
.article-sticky-price strong {
  display: block;
  margin-top: 4px;
  color: var(--article-orange);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 900;
}

.article-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #f9d38b;
  background: #fff9e8;
  color: #b56a00;
  font-weight: 700;
}

.article-stat-pills,
.article-thumbs-row,
.article-social-grid,
.article-sticky-actions {
  display: flex;
  gap: 12px;
}

.article-stat-pills {
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.article-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--article-soft);
  color: var(--article-muted);
  font-weight: 700;
}

.article-stat-pill strong {
  color: var(--article-ink);
  font-size: 1rem;
}

.article-stat-like i,
.article-stat-like strong {
  color: #ef4444;
}

.article-stat-contact i,
.article-stat-contact strong {
  color: var(--article-success);
}

.article-thumbs-row {
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
}

.article-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  background: transparent;
  overflow: hidden;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.08);
}

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

.article-thumb.is-active {
  border-color: var(--article-orange);
}

.article-copy-block p,
.article-contact-empty {
  margin: 0;
  color: var(--article-text);
  line-height: 1.8;
  font-size: 1rem;
}

.article-copy-block h2 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.article-owner-actions {
  margin-top: 18px;
}

.article-owner-btn,
.article-inline-link,
.article-whatsapp-btn,
.article-social-btn,
.article-sticky-main,
.article-sticky-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
}

.article-owner-btn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  background: #eff5ff;
  color: var(--article-blue) !important;
}

.article-store-card,
.article-contact-card,
.article-similar-section {
  border-radius: 28px;
  overflow: hidden;
}

.article-store-cover {
  position: relative;
  height: 126px;
  background: linear-gradient(120deg, #f2f5fb, #DCE6FF);
}

.article-store-cover img,
.article-similar-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article-store-cover-fallback,
.article-similar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.article-store-avatar-wrap {
  position: absolute;
  left: 22px;
  bottom: -24px;
}

.article-store-avatar {
  width: 70px;
  height: 70px;
  border: 4px solid #fff;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(28, 25, 23, 0.16);
}

.article-store-avatar-fallback {
  background: linear-gradient(135deg, var(--article-orange), #ffb566);
  color: #fff;
  font-size: 1.4rem;
}

.article-store-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 24px 22px;
}

.article-store-copy h2 {
  font-size: 1.2rem;
  font-weight: 850;
}

.article-store-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 8px;
  color: var(--article-muted);
}

.article-store-count {
  margin: 0;
  color: var(--article-orange);
  font-weight: 800;
}

.article-inline-link {
  color: var(--article-orange);
  white-space: nowrap;
}

.article-contact-card,
.article-similar-section {
  padding: 24px;
}

.article-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.article-section-head h2 {
  font-size: 1.2rem;
  font-weight: 850;
}

.article-contact-stack {
  display: grid;
  gap: 12px;
}

.article-whatsapp-btn,
.article-sticky-main.is-whatsapp {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 18px;
  background: var(--article-success);
  color: #fff !important;
  box-shadow: 0 18px 28px rgba(37, 211, 102, 0.22);
}

.article-whatsapp-btn.is-disabled,
.article-sticky-main.is-disabled {
  background: #d8dde6;
  color: #718096 !important;
  box-shadow: none;
}

.article-social-grid {
  flex-wrap: wrap;
}

.article-social-btn {
  min-width: 172px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
}

.article-social-btn.is-facebook {
  background: rgba(24, 119, 242, 0.11);
  color: #1877f2 !important;
}

.article-social-btn.is-instagram {
  background: rgba(225, 48, 108, 0.11);
  color: #e1306c !important;
}

.article-social-btn.is-tiktok {
  background: rgba(16, 16, 16, 0.08);
  color: #171717 !important;
}

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

.article-similar-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--article-line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.article-similar-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #edf2f7;
}

.article-similar-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(181, 106, 0, 0.92);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.article-similar-copy {
  padding: 14px;
}

.article-similar-copy h3 {
  margin: 0 0 6px;
  color: var(--article-ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.article-similar-copy p {
  margin: 0;
  color: var(--article-orange);
  font-weight: 900;
}

.article-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 -18px 40px rgba(28, 25, 23, 0.12);
}

.article-sticky-price strong {
  color: var(--article-ink);
}

.article-sticky-like {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 18px;
  background: #FAFAF9;
  color: var(--article-muted);
}

.article-sticky-main {
  min-height: 52px;
  min-width: 154px;
  padding: 0 18px;
  border-radius: 18px;
}

.article-sticky-main.is-owner {
  background: #eff5ff;
  color: var(--article-blue) !important;
}

.article-toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 70;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(28, 25, 23, 0.9);
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.article-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.article-circle-btn:focus-visible,
.article-dot-btn:focus-visible,
.article-thumb:focus-visible,
.article-owner-btn:focus-visible,
.article-whatsapp-btn:focus-visible,
.article-social-btn:focus-visible,
.article-sticky-main:focus-visible,
.article-sticky-like:focus-visible,
.article-similar-card:focus-visible {
  outline: 3px solid rgba(243, 122, 31, 0.25);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .article-page-shell {
    padding-bottom: 110px;
  }

  .article-head-row,
  .article-store-body,
  .article-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-price-block {
    text-align: left;
  }

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

  .article-sticky-bar {
    display: flex;
  }

  .article-toast {
    bottom: 104px;
  }
}

@media (max-width: 720px) {
  .article-page-shell {
    padding: 0 0 110px;
  }

  .article-hero-media {
    border-radius: 0 0 28px 28px;
    border-left: 0;
    border-right: 0;
  }

  .article-gallery-stage {
    min-height: 300px;
  }

  .article-hero-actions {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .article-info-card,
  .article-store-card,
  .article-contact-card,
  .article-similar-section {
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
  }

  .article-info-card {
    margin-top: -26px;
    padding: 22px 18px 18px;
  }

  .article-contact-card,
  .article-similar-section {
    padding: 20px 18px;
  }

  .article-photo-badge {
    top: 76px;
    right: 14px;
  }

  .article-store-cover {
    height: 104px;
  }

  .article-store-avatar-wrap {
    left: 18px;
    bottom: -20px;
  }

  .article-store-avatar {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 520px) {
  .article-head-copy h1 {
    font-size: 1.55rem;
  }

  .article-stat-pills,
  .article-social-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-stat-pill,
  .article-social-btn,
  .article-whatsapp-btn {
    width: 100%;
  }

  .article-similar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .article-sticky-main {
    min-width: 132px;
  }
}
