/* ===== SHARED DETAIL PAGE STYLES ===== */

/* Breadcrumb */
.breadcrumb-bar { background: #f5f5f5; border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
.breadcrumb a { color: var(--pink); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.75; }
.breadcrumb i.fa-chevron-right { font-size: 10px; }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail-page { padding: 40px 0 70px; background: #f9f9f9; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

/* --- Product Main --- */
.product-detail-main { display: flex; flex-direction: column; gap: 28px; }

/* Product Top: left col (gallery) + right col (info) — mỗi cột 50% */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); align-items: start; }
.product-top-left { display: flex; flex-direction: column; gap: 24px; min-width: 0; overflow: hidden; }
.product-top .product-detail-info { min-width: 0; }
.product-top-left .product-tabs-section { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--border); }

/* Gallery Slideshow */
.product-gallery { display: flex; flex-direction: column; gap: 10px; width: 100%; min-width: 0; }
/* Ảnh chính — cố định theo tỉ lệ, không bị tràn */
.gallery-slide-wrap { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; width: 100%; background: #f5f5f5; }
.gallery-slides { width: 100%; height: 100%; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.gallery-slide.active { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-badge { position: absolute; top: 14px; left: 14px; background: #f44336; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; z-index: 3; }
/* Prev / Next arrows */
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; background: rgba(255,255,255,0.85); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.slide-arrow:hover { background: #fff; color: var(--pink); }
.slide-prev { left: 10px; }
.slide-next { right: 10px; }
/* Thumbnails slide */
.gallery-thumb-slider { display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0; }
.thumb-arrow { flex-shrink: 0; width: 28px; height: 64px; background: #f0f0f0; border: none; border-radius: 6px; font-size: 18px; cursor: pointer; color: var(--text); display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.thumb-arrow:hover { background: var(--pink-light); color: var(--pink); }
.gallery-thumb-viewport { flex: 1; min-width: 0; overflow: hidden; }
.gallery-thumb-track { display: flex; gap: 8px; transition: transform 0.35s ease; will-change: transform; }
.gallery-thumb { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--pink); }
.gallery-thumb:hover { border-color: var(--pink); }

/* Product Info */
.product-detail-info { display: flex; flex-direction: column; gap: 16px; }
.product-detail-info .product-cat { font-size: 16px; font-weight: 700; color: var(--pink); text-transform: uppercase; letter-spacing: 1px; }
.product-detail-info h1 { font-size: 24px; font-weight: 800; line-height: 1.3; color: var(--text); }
.product-detail-rating { display: flex; align-items: center; gap: 10px; }
.product-detail-rating .stars { color: #f5a623; font-size: 14px; }
.product-detail-rating span { font-size: 13px; color: var(--text-light); }
.product-detail-price { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.product-detail-price .price-new { font-size: 30px; font-weight: 800; color: var(--pink); }
.product-detail-price .price-old { font-size: 18px; color: var(--text-light); text-decoration: line-through; }
.product-detail-price .price-save { background: #fff3e0; color: #e65100; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; }

.product-detail-info .product-short-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Options */
.product-option { display: flex; flex-direction: column; gap: 8px; }
.product-option label { font-size: 13px; font-weight: 700; color: var(--text); }
.option-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.option-btn { padding: 7px 18px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; color: var(--text); }
.option-btn.active, .option-btn:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-light); }

/* Quantity + wishlist cùng hàng */
.qty-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.qty-row .qty-label { font-size: 13px; font-weight: 700; margin: 0; flex-shrink: 0; }
.qty-box { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.qty-box button { width: 38px; height: 38px; background: #f5f5f5; border: none; font-size: 18px; cursor: pointer; transition: background 0.2s; color: var(--text); }
.qty-box button:hover { background: var(--pink-light); color: var(--pink); }
.qty-box input { width: 52px; height: 38px; border: none; text-align: center; font-size: 15px; font-weight: 700; outline: none; }

/* Action buttons */
.product-actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-buy-now { background: var(--pink); color: #fff; border: 2px solid var(--pink); padding: 13px 28px; border-radius: 30px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.btn-buy-now:hover { background: var(--pink-dark); border-color: var(--pink-dark); transform: translateY(-2px); }
.btn-add-cart { background: #fff; color: var(--pink); border: 2px solid var(--pink); padding: 13px 24px; border-radius: 30px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.btn-add-cart:hover { background: var(--pink-light); }
.btn-buy-now:disabled,
.btn-add-cart:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-buy-now:disabled:hover,
.btn-add-cart:disabled:hover { background: #fff; color: var(--pink); }
.btn-wishlist { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-size: 17px; color: var(--text-light); transition: all 0.2s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qty-row .btn-wishlist { margin-left: 4px; }
.btn-wishlist:hover { border-color: #e53935; color: #e53935; }

/* Product meta */
.product-meta { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.product-meta span { font-size: 13px; color: var(--text-light); }
.product-meta span strong { color: var(--text); }
.product-meta .share-links { display: flex; align-items: center; gap: 8px; }
.product-meta .share-links a { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; transition: opacity 0.2s; }
.product-meta .share-links a:hover { opacity: 0.85; }
.share-fb { background: #1877f2; }
.share-zalo { background: #0068ff; }
.share-copy { background: #607d8b; }

/* Delivery info */
.delivery-info { display: flex; flex-direction: column; gap: 10px; background: var(--pink-light); border-radius: 10px; padding: 16px; }
.delivery-info-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.delivery-info-item i { color: var(--pink); width: 18px; text-align: center; }

/* --- Mô tả sản phẩm (dưới ảnh, cột trái) --- */
.product-desc-section { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.product-desc-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--text); padding: 14px 20px; border-bottom: 2px solid var(--pink); margin: 0; background: var(--pink-light); }
.product-desc-title i { color: var(--pink); }
.product-desc-body { padding: 20px; font-size: 14px; line-height: 1.75; color: var(--text); }

/* --- Đánh giá full width --- */
.product-reviews-wrapper { background: #f9f9f9; padding: 40px 0; }
.product-reviews-section { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding: 0; }
.reviews-section-heading { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--text); padding: 20px 28px; border-bottom: 2px solid var(--pink); margin: 0; }
.reviews-section-heading i { color: var(--pink); }
.product-tab-content p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.product-tab-content ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.product-tab-content ul li { font-size: 14px; color: var(--text-light); line-height: 1.6; list-style: disc; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr:nth-child(even) { background: #f9f9f9; }
.spec-table td { padding: 10px 16px; border: 1px solid var(--border); }
.spec-table td:first-child { font-weight: 700; color: var(--text); width: 40%; background: #f5f5f5; }

/* Reviews */
.review-summary { display: flex; align-items: center; gap: 32px; padding: 20px; background: #f9f9f9; border-radius: 10px; margin-bottom: 24px; }
.review-score { text-align: center; }
.review-score .big-score { font-size: 52px; font-weight: 800; color: var(--pink); line-height: 1; }
.review-score .stars { color: #f5a623; font-size: 16px; margin: 6px 0; }
.review-score p { font-size: 12px; color: var(--text-light); }
.review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-light); }
.review-bar-row span:first-child { width: 30px; text-align: right; }
.review-bar { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.review-bar-fill { height: 100%; background: #f5a623; border-radius: 4px; }
.review-list { display: flex; flex-direction: column; gap: 20px; }
.review-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-header-info strong { display: block; font-size: 14px; font-weight: 700; }
.review-header-info span { font-size: 12px; color: var(--text-light); }
.review-stars { color: #f5a623; font-size: 13px; margin-left: auto; }
.review-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- Related Products --- */
.related-products { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.related-products h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); display: inline-block; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* --- Related Products Full Width --- */
.related-products-wrapper { padding: 40px 0; background: #fff; }
.related-products-full { background: transparent; border-radius: 0; padding: 0; box-shadow: none; margin-bottom: 0; }
.related-products-full h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); display: inline-block; }
.related-grid-full { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }

/* --- Reviews Section Wrapper --- */
.reviews-section-wrapper { padding: 40px 0 70px; background: #f9f9f9; }
.reviews-section-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.reviews-section-main { display: flex; flex-direction: column; gap: 0; }

/* --- Product Reviews Section --- */
.product-reviews-section { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.product-reviews-section h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); display: inline-block; }

/* Review summary */
.review-summary { display: flex; align-items: center; gap: 32px; padding: 20px; background: #f9f9f9; border-radius: 10px; margin-bottom: 24px; }
.review-score { text-align: center; }
.review-score .big-score { font-size: 52px; font-weight: 800; color: var(--pink); line-height: 1; }
.review-score .stars { color: #f5a623; font-size: 16px; margin: 6px 0; }
.review-score p { font-size: 12px; color: var(--text-light); }
.review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-light); }
.review-bar-row span:first-child { width: 30px; text-align: right; }
.review-bar { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.review-bar-fill { height: 100%; background: #f5a623; border-radius: 4px; }

/* Product review form */
.product-review-form { background: #f9f9f9; border-radius: 10px; padding: 20px; margin-bottom: 24px; }
.product-review-form h4 { font-size: 16px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.product-review-form h4 i { color: var(--pink); }

.review-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--text); }
.required { color: #e53935; }
.form-group input,
.form-group textarea {
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 13px; outline: none;
  font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--pink); }
.form-group textarea { resize: vertical; }

/* Star picker */
.star-picker {
  display: flex; align-items: center; gap: 4px;
}
.star-picker i {
  font-size: 28px; color: #ddd; cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.star-picker i:hover { color: #f5a623; transform: scale(1.15); }
.star-picker i.active { color: #f5a623; }
.star-picker i.fas { color: #f5a623; }
.star-label {
  font-size: 12px; color: var(--text-light);
  margin-left: 8px; font-style: italic;
}

/* Submit button */
.btn-submit-review {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pink); color: #fff; border: none;
  padding: 12px 24px; border-radius: 25px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; align-self: flex-start;
}
.btn-submit-review:hover { background: var(--pink-dark); transform: translateY(-2px); }

/* Review list */
.review-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.review-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-header-info { flex: 1; }
.review-header-info strong { display: block; font-size: 14px; font-weight: 700; }
.review-header-info span { font-size: 12px; color: var(--text-light); }
.review-stars { color: #f5a623; font-size: 13px; }
.review-item h5 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.review-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* View all reviews */
.review-view-all { text-align: center; }
.btn-secondary { display: inline-block; padding: 11px 28px; border-radius: 30px; border: 2px solid var(--pink); background: #fff; color: var(--pink); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.btn-secondary:hover { background: var(--pink); color: #fff; }

/* --- Reviews Sidebar --- */
.reviews-sidebar { display: flex; flex-direction: column; gap: 20px; }
.reviews-sidebar-widget {
  background: #fff; border-radius: 12px;
  padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.reviews-sidebar-widget:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.reviews-cta-widget { text-align: center; background: linear-gradient(135deg, #fff8e1, #fff3cd) !important; }
.reviews-cta-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #f5a623, #e67e22);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; margin: 0 auto 14px;
  box-shadow: 0 4px 15px rgba(245,166,35,0.3);
}
.reviews-cta-widget h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.reviews-cta-widget p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.reviews-cta-widget .btn-primary { display: block !important; }

.reviews-sidebar-widget .widget-title { font-size: 15px; font-weight: 800; color: var(--text); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--pink); }

.reviews-top-products { display: flex; flex-direction: column; gap: 12px; }
.reviews-top-products li { list-style: none; display: flex; gap: 10px; align-items: flex-start; }
.reviews-top-products img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; transition: transform 0.3s; }
.reviews-top-products li:hover img { transform: scale(1.08); }
.reviews-top-products a { font-size: 13px; font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; transition: color 0.2s; }
.reviews-top-products a:hover { color: var(--pink); }
.reviews-mini-score { display: flex; align-items: center; gap: 2px; font-size: 11px; color: #f5a623; }
.reviews-mini-score span { color: var(--text-light); margin-left: 4px; font-weight: 600; }

.reviews-stats-widget .reviews-stat-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.reviews-stats-widget .reviews-stat-row:last-child { border-bottom: none; }
.reviews-stats-widget .reviews-stat-row i { color: var(--pink); width: 18px; text-align: center; font-size: 14px; }
.reviews-stats-widget .reviews-stat-row span { flex: 1; color: var(--text-light); font-weight: 500; }
.reviews-stats-widget .reviews-stat-row strong { color: var(--pink); font-size: 16px; font-weight: 800; }

/* =============================================
   ARTICLE DETAIL PAGE
   ============================================= */
.article-detail-page { padding: 40px 0 70px; background: #f9f9f9; }
.article-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

/* Article main */
.article-main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

/* Article header */
.article-header { padding: 32px 36px 0; }
.article-cat-badge { display: inline-block; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.article-header h1 { font-size: 28px; font-weight: 800; line-height: 1.35; color: var(--text); margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-light); }
.article-meta i { color: var(--pink); font-size: 12px; }
.article-author { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.article-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-author span { font-size: 13px; font-weight: 600; color: var(--text); }

/* Featured image */
.article-featured-img { width: 100%; aspect-ratio: 16/7; overflow: hidden; margin: 24px 0 0; }
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Article body */
.article-body { padding: 32px 36px; }
.article-body p { font-size: 15px; color: #444; line-height: 1.85; margin-bottom: 20px; }
.article-body h2 { font-size: 20px; font-weight: 800; color: var(--text); margin: 32px 0 14px; padding-left: 14px; border-left: 4px solid var(--pink); }
.article-body h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 24px 0 12px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.article-body ul li { list-style: disc; font-size: 15px; color: #444; line-height: 1.7; }
.article-body ol li { list-style: decimal; font-size: 15px; color: #444; line-height: 1.7; }
.article-body blockquote { background: var(--pink-light); border-left: 4px solid var(--pink); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; color: var(--text); font-size: 15px; line-height: 1.7; }
.article-body img { border-radius: 10px; margin: 20px 0; width: 100%; }
.article-tip { background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 10px; padding: 16px 20px; margin: 24px 0; display: flex; gap: 12px; }
.article-tip i { color: var(--pink); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.article-tip p { margin: 0; font-size: 14px; color: var(--text); }

/* Article footer */
.article-footer { padding: 20px 36px 28px; border-top: 1px solid var(--border); }
.article-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.article-tags span { font-size: 13px; font-weight: 700; color: var(--text); }
.article-tags a { padding: 5px 14px; border-radius: 20px; background: var(--pink-light); color: var(--pink); font-size: 12px; font-weight: 600; transition: all 0.2s; }
.article-tags a:hover { background: var(--pink); color: #fff; }
.article-share { display: flex; align-items: center; gap: 12px; }
.article-share span { font-size: 13px; font-weight: 700; color: var(--text); }
.share-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; color: #fff; transition: opacity 0.2s; }
.share-btn:hover { opacity: 0.85; }
.share-btn.fb { background: #1877f2; }
.share-btn.zalo { background: #0068ff; }
.share-btn.copy-link { background: #607d8b; cursor: pointer; border: none; }

/* Author box */
.author-box { margin: 0 36px 28px; background: #f9f9f9; border-radius: 12px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box-info h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.author-box-info p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Comments */
.article-comments { padding: 0 36px 36px; }
.article-comments h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.comment-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.comment-item { display: flex; gap: 14px; }
.comment-item img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-body { flex: 1; background: #f5f5f5; border-radius: 0 12px 12px 12px; padding: 14px 16px; }
.comment-body .comment-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.comment-body .comment-date { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
.comment-body p { font-size: 13px; color: var(--text); line-height: 1.6; margin: 0; }
.comment-form h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.comment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.2s; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--pink); }
.comment-form textarea { height: 100px; resize: vertical; margin-bottom: 12px; }

/* Related articles */
.related-articles { padding: 0 36px 36px; }
.related-articles h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); display: inline-block; }
.related-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-article-card { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); background: #fff; transition: transform 0.3s; }
.related-article-card:hover { transform: translateY(-4px); }
.related-article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-article-card-body { padding: 14px; }
.related-article-card-body h4 { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-article-card-body h4 a { color: var(--text); transition: color 0.2s; }
.related-article-card-body h4 a:hover { color: var(--pink); }
.related-article-card-body span { font-size: 11px; color: var(--text-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-detail-layout, .article-detail-layout { grid-template-columns: 1fr 280px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid-full { grid-template-columns: repeat(5, 1fr); }
  .reviews-section-layout { grid-template-columns: 1fr 260px; }
}
@media (max-width: 768px) {
  .product-detail-layout, .article-detail-layout { grid-template-columns: 1fr; }
  .product-top { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid-full { grid-template-columns: repeat(3, 1fr); }
  .related-articles-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-section-layout { grid-template-columns: 1fr; }
  .article-header, .article-body, .article-footer, .author-box, .article-comments, .related-articles { padding-left: 20px; padding-right: 20px; }
  .article-header h1 { font-size: 22px; }
  .review-summary { flex-direction: column; gap: 16px; }
  .comment-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid-full { grid-template-columns: repeat(2, 1fr); }
  .related-articles-grid { grid-template-columns: 1fr; }
  .product-actions-row { flex-direction: column; }
  .btn-buy-now, .btn-add-cart { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== RELATED CARD (Blade server-side render) ===== */
.related-card-full { display:block; text-decoration:none; color:inherit; border-radius:10px; overflow:hidden; border:1px solid #e5e7eb; transition:.2s; background:#fff; }
.related-card-full:hover { box-shadow:0 4px 18px rgba(0,0,0,.1); transform:translateY(-2px); text-decoration:none; color:inherit; }
.related-img-wrap { position:relative; aspect-ratio:1/1; overflow:hidden; }
.related-img-wrap img { width:100%; height:100%; object-fit:cover; }
.related-info { padding:10px 12px 14px; }
.related-info h4 { font-size:.88rem; font-weight:600; margin:0 0 6px; color:#1a1a1a; line-height:1.4; }
.related-price-row { display:flex; align-items:center; gap:8px; }
.related-price-row .price-new { color:#e53e3e; font-weight:700; font-size:.9rem; }
.related-price-row .price-old { color:#9ca3af; text-decoration:line-through; font-size:.8rem; }
