/* custom.css - Custom stylesheet for styling CMS/WYSIWYG HTML content in phachev2 */

.article-prose {
    color: #333333;
    font-size: 16px;
    line-height: 1.75;
}

/* Paragraph spacing */
.article-prose p {
    margin-bottom: 1.25rem;
}
.article-prose p:last-child {
    margin-bottom: 0;
}

/* Lists formatting (Unordered and Ordered) */
.article-prose ul {
    list-style-type: disc !important;
    margin-left: 1.5rem !important;
    margin-bottom: 1.25rem !important;
    padding-left: 0 !important;
}

.article-prose ol {
    list-style-type: decimal !important;
    margin-left: 1.5rem !important;
    margin-bottom: 1.25rem !important;
    padding-left: 0 !important;
}

.article-prose li {
    list-style-type: inherit !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.625;
}

.article-prose li:last-child {
    margin-bottom: 0 !important;
}

/* Nested lists */
.article-prose ul ul,
.article-prose ul ol,
.article-prose ol ul,
.article-prose ol ol {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Headings formatting */
.article-prose h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
    line-height: 1.25;
}

.article-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
    line-height: 1.25;
}

.article-prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: #111827;
    line-height: 1.3;
}

.article-prose h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

/* Inline text styles */
.article-prose strong, 
.article-prose b {
    font-weight: 700;
    color: #111827;
}

.article-prose em,
.article-prose i {
    font-style: italic;
}

/* Links */
.article-prose a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.article-prose a:hover {
    color: #1d4ed8;
}

/* Blockquotes */
.article-prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.25rem;
    color: #4b5563;
    font-style: italic;
}

/* Images */
.article-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Tables */
.article-prose table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.article-prose th, 
.article-prose td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.article-prose th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
}

/* Cải thiện nút Thêm vào giỏ hàng (bớt chìm) */
.pdp-cta-outline {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    background-color: rgba(36, 94, 219, 0.05) !important;
}
.pdp-cta-outline:hover {
    background-color: rgba(36, 94, 219, 0.1) !important;
}

