/* =========================================================
   ARTICLE LAYOUT (SIDE-BY-SIDE)
========================================================= */
.article-side {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.article-side .article-img {
  flex: 1 1 320px;
  max-width: 420px;
}

.article-side .article-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.article-side .article-content {
  flex: 2 1 420px;
}


/* =========================================================
   ARTICLE TYPOGRAPHY
========================================================= */
.article-content h1 {
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.article-content p {
  margin-top: 16px;
}


/* =========================================================
   ORDER BUTTON (PRIMARY ACTION)
========================================================= */
.order {
  margin-top: 32px;
  position: relative;
}

.order .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 36px;
  border-radius: 999px;

  font-size: 17px;
  font-weight: 800;
  color: #ffffff;

  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 10px 28px rgba(22,163,74,.35);

  border: none;
  text-decoration: none;
  cursor: pointer;

  transition: all .3s ease;
}

.order .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(22,163,74,.45);
}


/* =========================================================
   ARTICLE ACTIONS (SECONDARY)
========================================================= */
.article-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}


/* =========================================================
   BUTTON SYSTEM (SECONDARY / SHARE / BACK)
========================================================= */
.article-actions .btn,
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 14px 32px;
  border-radius: 999px;

  font-size: 16px;
  font-weight: 700;
  color: #ffffff;

  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);

  border: none;
  text-decoration: none;
  cursor: pointer;

  transition: all .3s ease;
}

.article-actions .btn:hover,
.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,.45);
}


/* =========================================================
   SHARE MODAL
========================================================= */
.share-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(6px);

  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.share-modal.active {
  display: flex;
}

.share-box {
  width: 92%;
  max-width: 360px;
  padding: 24px;

  background: #ffffff;
  border-radius: 20px;
  text-align: center;

  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: popup .25s ease-out;
}

@keyframes popup {
  from {
    transform: translateY(20px) scale(.95);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.share-box h3 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}


/* =========================================================
   SHARE ITEMS
========================================================= */
.share-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px;
  margin-bottom: 12px;

  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;

  background: #f8fafc;
  border: 1px solid #e5e7eb;

  transition: all .25s ease;
}

.share-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* Brand Accent */
.share-item.wa {
  color: #16a34a;
  background: rgba(22,163,74,.08);
  border-color: rgba(22,163,74,.25);
}

.share-item.fb {
  color: #1877f2;
  background: rgba(24,119,242,.08);
  border-color: rgba(24,119,242,.25);
}

.share-item.copy {
  color: #0f172a;
}


/* =========================================================
   SHARE CLOSE
========================================================= */
.share-close {
  margin-top: 10px;
  background: none;
  border: none;

  font-size: 14px;
  font-weight: 600;
  color: #64748b;

  cursor: pointer;
}

.share-close:hover {
  color: #0f172a;
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .article-side {
    flex-direction: column;
  }

  .article-actions {
    flex-direction: column;
  }

  .article-actions .btn,
  .share-btn,
  .order .btn {
    width: 100%;
  }
}
