#blog_desc_container{
    margin-bottom: 20px;
}
#blog_desc_container .blog-desc-title {
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 2em;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--hiblog-c-heading, #111827);
    margin: 0 0 0.4em;
}

#blog_desc_container .post-published {
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.875em;
    color: var(--hiblog-c-text-secondary, #6b7280);
    padding-bottom: 1.25em;
    margin-bottom: 1.25em;
    border-bottom: 1px solid var(--hiblog-c-border, #e5e7eb);
}

#blog_desc_container .post-published .material-icons {
    font-size: 1.15em;
    margin-top: 0;
    vertical-align: middle;
    color: var(--hiblog-c-text-secondary, #6b7280);
}

#blog_desc_container .post-published .fa {
    font-size: 0.95em;
    color: var(--hiblog-c-text-secondary, #6b7280);
}

#blog_desc_container .post-published .fl-l {
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

#blog_desc_container .post-published .hi-blog-post-like {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    padding-left: 0;
    margin-left: 0.75em;
    color: var(--hiblog-c-text-secondary, #6b7280);
    text-decoration: none;
    transition: color 0.15s ease;
}

#blog_desc_container .post-published .hi-blog-post-like:hover {
    color: var(--hiblog-c-accent, #2563eb);
}

#blog_desc_container .post-published .hi-blog-post-like .material-icons,
#blog_desc_container .post-published .hi-blog-post-like .fa {
    font-size: 1em;
}
#blog_desc_container .blog-desc-image-block {
    margin: 15px 0px 15px 0px;
    text-align: center;
}
#blog_desc_container .blog-desc-image-block img{
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   .hiblog-content — Article body reset & typography
   High-specificity scoped styles that override PrestaShop theme defaults.
   Uses CSS custom properties for easy store-level theming via custom.css.
   ========================================================================== */

.hiblog-content {
    --hiblog-c-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    --hiblog-c-font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono",
        Menlo, Consolas, "Liberation Mono", monospace;
    --hiblog-c-text: #1f2937;
    --hiblog-c-text-secondary: #4b5563;
    --hiblog-c-heading: #111827;
    --hiblog-c-border: #e5e7eb;
    --hiblog-c-bg-subtle: #f9fafb;
    --hiblog-c-bg-code: #f3f4f6;
    --hiblog-c-radius: 6px;

    font-family: var(--hiblog-c-font);
    font-size: 17px;
    line-height: 1.78;
    color: var(--hiblog-c-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Block-level reset ---- */
.hiblog-content h2,
.hiblog-content h3,
.hiblog-content h4,
.hiblog-content h5,
.hiblog-content h6,
.hiblog-content p,
.hiblog-content ul,
.hiblog-content ol,
.hiblog-content blockquote,
.hiblog-content pre,
.hiblog-content figure,
.hiblog-content table,
.hiblog-content hr,
.hiblog-content dl {
    margin: 0 0 1.35em;
    padding: 0;
    border: 0;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

/* ---- Headings ---- */
.hiblog-content h2 {
    font-size: 1.55em;
    line-height: 1.3;
    font-weight: 700;
    color: var(--hiblog-c-heading);
    margin-top: 2em;
    margin-bottom: 0.65em;
    letter-spacing: -0.01em;
}
.hiblog-content h2:first-child {
    margin-top: 0;
}

.hiblog-content h3 {
    font-size: 1.25em;
    line-height: 1.35;
    font-weight: 650;
    color: var(--hiblog-c-heading);
    margin-top: 1.7em;
    margin-bottom: 0.55em;
}

.hiblog-content h4 {
    font-size: 1.1em;
    line-height: 1.4;
    font-weight: 600;
    color: var(--hiblog-c-heading);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.hiblog-content h5,
.hiblog-content h6 {
    font-size: 1em;
    line-height: 1.5;
    font-weight: 600;
    color: var(--hiblog-c-heading);
    margin-top: 1.3em;
    margin-bottom: 0.45em;
}

/* ---- Paragraphs ---- */
.hiblog-content p {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin-bottom: 1.35em;
}
.hiblog-content p:last-child {
    margin-bottom: 0;
}

/* ---- Inline elements ---- */
.hiblog-content strong,
.hiblog-content b {
    font-weight: 700;
    color: var(--hiblog-c-heading);
}

.hiblog-content em,
.hiblog-content i {
    font-style: italic;
}

.hiblog-content a {
    color: var(--hiblog-c-link, var(--hiblog-c-accent, #2563eb));
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}
.hiblog-content a:hover,
.hiblog-content a:focus {
    color: var(--hiblog-c-link-hover, #1d4ed8);
    text-decoration-thickness: 2px;
}

.hiblog-content small {
    font-size: 0.875em;
    color: var(--hiblog-c-text-secondary);
}

.hiblog-content mark {
    background: #fef08a;
    color: inherit;
    padding: 0.1em 0.25em;
    border-radius: 2px;
}

.hiblog-content sup,
.hiblog-content sub {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
.hiblog-content sup { top: -0.5em; }
.hiblog-content sub { bottom: -0.25em; }

/* ---- Lists ---- */
.hiblog-content ul,
.hiblog-content ol {
    padding-left: 1.75em;
    margin-bottom: 1.35em;
}

.hiblog-content ul {
    list-style-type: disc;
}

.hiblog-content ol {
    list-style-type: decimal;
}

.hiblog-content li {
    margin-bottom: 0.4em;
    line-height: 1.65;
    padding-left: 0.2em;
}
.hiblog-content li:last-child {
    margin-bottom: 0;
}

.hiblog-content ul ul,
.hiblog-content ol ol,
.hiblog-content ul ol,
.hiblog-content ol ul {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.hiblog-content ul ul {
    list-style-type: circle;
}
.hiblog-content ul ul ul {
    list-style-type: square;
}

.hiblog-content li > p {
    margin-bottom: 0.5em;
}

/* ---- Blockquotes ---- */
.hiblog-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.35em;
    border-left: 4px solid var(--hiblog-c-accent, #2563eb);
    background: var(--hiblog-c-bg-subtle);
    border-radius: 0 var(--hiblog-c-radius) var(--hiblog-c-radius) 0;
    font-style: italic;
    color: var(--hiblog-c-text-secondary);
}
.hiblog-content blockquote p {
    margin-bottom: 0.65em;
}
.hiblog-content blockquote p:last-child {
    margin-bottom: 0;
}
.hiblog-content blockquote cite {
    display: block;
    margin-top: 0.75em;
    font-size: 0.875em;
    font-style: normal;
    color: var(--hiblog-c-text-secondary);
}
.hiblog-content blockquote cite::before {
    content: "\2014\00A0";
}

/* ---- Horizontal rules ---- */
.hiblog-content hr {
    border: none;
    border-top: 1px solid var(--hiblog-c-border);
    margin: 2em 0;
    height: 0;
}

/* ---- Images & figures ---- */
.hiblog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: var(--hiblog-c-radius);
}

.hiblog-content figure {
    margin: 1.5em 0;
    text-align: center;
}
.hiblog-content figure img {
    margin: 0 auto 0.5em;
}
.hiblog-content figcaption {
    font-size: 0.85em;
    color: var(--hiblog-c-text-secondary);
    line-height: 1.45;
    margin-top: 0.5em;
}

/* ---- Code ---- */
.hiblog-content code {
    font-family: var(--hiblog-c-font-mono);
    font-size: 0.875em;
    background: var(--hiblog-c-bg-code);
    color: #be185d;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    word-break: break-word;
}

.hiblog-content pre {
    font-family: var(--hiblog-c-font-mono);
    font-size: 0.875em;
    line-height: 1.6;
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.25em 1.5em;
    border-radius: var(--hiblog-c-radius);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0;
}
.hiblog-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    word-break: normal;
}

/* ---- Tables ---- */
.hiblog-content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 1.5em 0;
    font-size: 0.925em;
    line-height: 1.5;
    overflow-x: auto;
    display: block;
}

.hiblog-content thead {
    background: var(--hiblog-c-bg-subtle);
}

.hiblog-content th,
.hiblog-content td {
    padding: 0.7em 1em;
    text-align: left;
    border: 1px solid var(--hiblog-c-border);
    vertical-align: top;
}

.hiblog-content th {
    font-weight: 650;
    color: var(--hiblog-c-heading);
    white-space: nowrap;
}

.hiblog-content tbody tr:nth-child(even) {
    background: var(--hiblog-c-bg-subtle);
}

/* ---- Definition lists ---- */
.hiblog-content dl {
    margin: 1.5em 0;
}
.hiblog-content dt {
    font-weight: 650;
    color: var(--hiblog-c-heading);
    margin-bottom: 0.25em;
}
.hiblog-content dd {
    margin: 0 0 1em 1.5em;
    color: var(--hiblog-c-text-secondary);
}

/* ---- Misc ---- */
.hiblog-content abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}

.hiblog-content iframe,
.hiblog-content video,
.hiblog-content embed,
.hiblog-content object {
    max-width: 100%;
    margin: 1.5em 0;
}

/* ---- Spacing after heading + element combos ---- */
.hiblog-content h2 + p,
.hiblog-content h3 + p,
.hiblog-content h4 + p {
    margin-top: 0;
}
.hiblog-content h2 + ul,
.hiblog-content h2 + ol,
.hiblog-content h3 + ul,
.hiblog-content h3 + ol {
    margin-top: -0.5em;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    #blog_desc_container .blog-desc-title {
        font-size: 1.55em;
    }
    .hiblog-content {
        font-size: 16px;
        line-height: 1.7;
    }
    .hiblog-content h2 {
        font-size: 1.35em;
    }
    .hiblog-content h3 {
        font-size: 1.15em;
    }
    .hiblog-content blockquote {
        padding: 0.85em 1em;
    }
    .hiblog-content pre {
        padding: 1em;
        font-size: 0.8em;
    }
    .hiblog-content table {
        font-size: 0.85em;
    }
    .hiblog-content th,
    .hiblog-content td {
        padding: 0.5em 0.65em;
    }
}

/* ---- Print ---- */
@media print {
    .hiblog-content {
        font-size: 12pt;
        color: #000;
    }
    .hiblog-content a {
        color: #000;
        text-decoration: underline;
    }
    .hiblog-content pre {
        background: #f5f5f5;
        color: #000;
        border: 1px solid #ccc;
    }
    .hiblog-content blockquote {
        border-left-color: #999;
        background: #f9f9f9;
    }
}

/* ==========================================================================
   Comments section
   ========================================================================== */

.blog-customer-block {
    --cm-text: var(--hiblog-c-text, #1f2937);
    --cm-text-secondary: var(--hiblog-c-text-secondary, #4b5563);
    --cm-heading: var(--hiblog-c-heading, #111827);
    --cm-accent: var(--hiblog-c-accent, #2563eb);
    --cm-border: var(--hiblog-c-border, #e5e7eb);
    --cm-bg-subtle: var(--hiblog-c-bg-subtle, #f9fafb);
    --cm-radius: var(--hiblog-c-radius, 6px);
    --cm-font: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    margin-top: 2.5em;
    font-family: var(--cm-font);
}

/* ---- Comment count ---- */
#blog_desc_container .blog-customer-block .customer-comment-count {
    font-size: 1.1em;
    font-weight: 650;
    color: var(--cm-heading);
    text-decoration: none;
    margin-bottom: 1.25em;
    padding-bottom: 0.75em;
    border-bottom: 2px solid var(--cm-border);
}

/* ---- Individual comments ---- */
#blog_desc_container .customer-comments-block {
    margin-bottom: 0;
    padding: 1.25em 0;
    border-bottom: 1px solid var(--cm-border);
}
#blog_desc_container .customer-comments-block:last-child {
    border-bottom: none;
}

#blog_desc_container .customer-comments-block .description {
    font-size: 0.95em;
    color: var(--cm-text);
    line-height: 1.7;
    margin-bottom: 0.6em;
    border-top: none;
    padding-top: 0;
}

#blog_desc_container .customer-comments-block .comment-people-name {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--cm-heading);
    margin-right: 0.75em;
}

#blog_desc_container .customer-comments-block .comment-replay {
    font-size: 0.8em;
    font-weight: 500;
    color: var(--cm-accent);
    margin-right: 0.75em;
    cursor: pointer;
    transition: color 0.15s ease;
}
#blog_desc_container .customer-comments-block .comment-replay:hover {
    color: var(--hiblog-c-link-hover, #1d4ed8);
}

#blog_desc_container .customer-comments-block .comment-date {
    font-size: 0.8em;
    color: var(--cm-text-secondary);
    margin-right: 0;
}

/* ---- Comment tabs ---- */
#blog_desc_container .coments-container .comment-tabs {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid var(--cm-border);
}

#blog_desc_container .coments-container .comment-tabs li {
    float: none;
    margin-bottom: -2px;
}

#blog_desc_container .coments-container .comment-tabs > li > a {
    display: block;
    padding: 0.7em 1.25em;
    font-size: 0.875em;
    font-weight: 550;
    color: var(--cm-text-secondary);
    text-decoration: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    margin: 0;
    line-height: 1.5;
    transition: color 0.15s ease, border-color 0.15s ease;
}
#blog_desc_container .coments-container .comment-tabs > li > a:hover {
    color: var(--cm-accent);
}

#blog_desc_container .coments-container .comment-tabs > li.active > a,
#blog_desc_container .coments-container .comment-tabs > li.active > a:hover,
#blog_desc_container .coments-container .comment-tabs > li.active > a:focus {
    color: var(--cm-accent);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--cm-accent);
    cursor: default;
}

/* ---- Tab content ---- */
#blog_desc_container .coments-container .blog-tab-content {
    border: none;
    padding: 1.5em 0;
    margin-top: 0;
}

/* ---- Comment form ---- */
#blog_desc_container .customer-comments-form-block {
    margin-top: 0;
}

#blog_desc_container .customer-comments-form-block h3 {
    font-size: 1.1em;
    font-weight: 650;
    color: var(--cm-heading);
    margin-bottom: 1.25em;
}

#blog_desc_container .customer-comments-form-block input,
#blog_desc_container .customer-comments-form-block textarea {
    width: 100%;
    display: block;
    font-family: var(--cm-font);
    font-size: 0.925em;
    color: var(--cm-text);
    background: var(--cm-bg-subtle);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    padding: 0.75em 1em;
    margin-bottom: 0.75em;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
#blog_desc_container .customer-comments-form-block input::placeholder,
#blog_desc_container .customer-comments-form-block textarea::placeholder {
    color: #9ca3af;
}
#blog_desc_container .customer-comments-form-block input:focus,
#blog_desc_container .customer-comments-form-block textarea:focus {
    border-color: var(--cm-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--hiblog-c-accent-rgb, 37, 99, 235), 0.1);
}

#blog_desc_container .customer-comments-form-block textarea {
    padding: 0.85em 1em;
    min-height: 140px;
    resize: vertical;
}

#blog_desc_container .customer-comments-form-block input#name,
#blog_desc_container .customer-comments-form-block input#email,
#blog_desc_container .customer-comments-form-block input#website {
    background-image: none;
}

/* ---- Form footer ---- */
#blog_desc_container .customer-comments-form-block .comments-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5em;
}

#blog_desc_container .customer-comments-form-block .comments-form-footer a {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--cm-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}
#blog_desc_container .customer-comments-form-block .comments-form-footer a:hover {
    color: var(--cm-accent);
}

#blog_desc_container .customer-comments-form-block .comments-form-footer button {
    font-family: var(--cm-font);
    font-size: 0.9em;
    font-weight: 600;
    color: #ffffff;
    background: var(--cm-accent);
    border: none;
    border-radius: var(--cm-radius);
    padding: 0.65em 1.75em;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
#blog_desc_container .customer-comments-form-block .comments-form-footer button:hover {
    background: var(--hiblog-c-link-hover, #1d4ed8);
}
#blog_desc_container .customer-comments-form-block .comments-form-footer button:active {
    transform: scale(0.98);
}

/* ---- Loading state ---- */
#blog_desc_container .comments-form-footer button.hbl-btn-loading {
    pointer-events: none;
    opacity: 0.75;
    min-width: 100px;
}

.hbl-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hbl-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes hbl-spin {
    to { transform: rotate(360deg); }
}

/* ---- Success message ---- */
.hbl-comment-success {
    padding: 1em 1.25em;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
    border-radius: var(--cm-radius, 6px);
    font-size: 0.925em;
    font-weight: 500;
    line-height: 1.5;
}

/* ---- Error alert ---- */
#blog_desc_container .customer-comments-form-block .alert-danger {
    padding: 0.85em 1.1em;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: var(--cm-radius, 6px);
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 1em;
}

/* ---- Social share ---- */
#blog_desc_container .blog-social-share {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5em;
    margin: 1.25em 0;
}

#blog_desc_container .blog-social-share .sharing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--hiblog-c-border, #e5e7eb);
    border-radius: 50%;
    background-color: #ffffff;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        box-shadow 0.2s ease, transform 0.15s ease;
}
#blog_desc_container .blog-social-share .sharing:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#blog_desc_container .blog-social-share .facebook-share {
    background-image: url(../img/facebook.svg);
}
#blog_desc_container .blog-social-share .facebook-share:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.198 21.5h4v-8.01h3.604l.396-3.98h-4V7.5a1 1 0 0 1 1-1h3v-4h-3a5 5 0 0 0-5 5v2.01h-2l-.396 3.98h2.396v8.01Z'/%3E%3C/svg%3E");
}

#blog_desc_container .blog-social-share .twitter-share {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23536471'%3E%3Cpath d='M13.808 10.469 20.88 2h-1.676l-6.142 7.353L8.158 2H2.5l7.418 11.12L2.5 22h1.676l6.486-7.765L15.842 22H21.5l-7.693-11.531Zm-2.296 2.748-.752-1.107L4.78 3.3h2.575l4.826 7.11.751 1.107 6.273 9.242h-2.574l-5.12-7.541Z'/%3E%3C/svg%3E");
}
#blog_desc_container .blog-social-share .twitter-share:hover {
    background-color: #000000;
    border-color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.808 10.469 20.88 2h-1.676l-6.142 7.353L8.158 2H2.5l7.418 11.12L2.5 22h1.676l6.486-7.765L15.842 22H21.5l-7.693-11.531Zm-2.296 2.748-.752-1.107L4.78 3.3h2.575l4.826 7.11.751 1.107 6.273 9.242h-2.574l-5.12-7.541Z'/%3E%3C/svg%3E");
}

#blog_desc_container .blog-social-share .linkedin-share {
    background-image: url(../img/linkedin.svg);
}
#blog_desc_container .blog-social-share .linkedin-share:hover {
    background-color: #0a66c2;
    border-color: #0a66c2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.94 5a2 2 0 1 1-4-.002 2 2 0 0 1 4 .002ZM7 8.48H3V21h4V8.48Zm6.32 0H9.34V21h3.94v-6.57c0-3.66 4.77-4 4.77 0V21H22v-7.93c0-6.17-7.06-5.94-8.72-2.91l.04-1.68Z'/%3E%3C/svg%3E");
}

#blog_desc_container .blog-social-share .pinterest-share {
    background-image: url(../img/pin.svg);
}
#blog_desc_container .blog-social-share .pinterest-share:hover {
    background-color: #e60023;
    border-color: #e60023;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.088-.791-.167-2.005.035-2.868.181-.78 1.172-4.97 1.172-4.97s-.299-.598-.299-1.482c0-1.388.806-2.425 1.808-2.425.853 0 1.265.64 1.265 1.408 0 .858-.546 2.14-.828 3.33-.236.995.499 1.806 1.48 1.806 1.778 0 3.144-1.874 3.144-4.58 0-2.393-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.745 2.282a.3.3 0 0 1 .069.288l-.278 1.133c-.044.183-.145.222-.335.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.052 6.608-6.052 3.469 0 6.165 2.472 6.165 5.776 0 3.447-2.173 6.22-5.19 6.22-1.013 0-1.965-.527-2.291-1.148l-.623 2.378c-.226.869-.835 1.958-1.244 2.621.937.29 1.931.446 2.962.446 5.523 0 10-4.477 10-10S17.523 2 12 2Z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Related Products — Self-contained card design
   Independent of theme product miniatures.
   Uses --hiblog-c-* variables for consistency with blog typography.
   ========================================================================== */

.hiblog-rp {
    margin-top: 2.5em;
    padding-top: 2em;
    border-top: 1px solid var(--hiblog-c-border, #e5e7eb);
}

.hiblog-rp__title {
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 1.25em;
    font-weight: 700;
    color: var(--hiblog-c-heading, #111827);
    margin: 0 0 1.25em;
    padding: 0;
}

.hiblog-rp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25em;
}

.hiblog-rp__grid.owl-carousel:not(.owl-loaded) {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.hiblog-rp__grid.owl-carousel.owl-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hiblog-rp__grid.owl-carousel .owl-stage {
    display: flex;
}

.hiblog-rp__grid.owl-carousel .owl-item {
    display: flex;
}

.hiblog-rp__grid.owl-carousel .owl-item .hiblog-rp-card {
    width: 100%;
}

.hiblog-rp-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--hiblog-c-border, #e5e7eb);
    border-radius: var(--hiblog-c-radius, 6px);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hiblog-rp-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.hiblog-rp-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.hiblog-rp-card__image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--hiblog-c-bg-subtle, #f9fafb);
}

.hiblog-rp-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hiblog-rp-card:hover .hiblog-rp-card__image {
    transform: scale(1.05);
}

.hiblog-rp-card__flags {
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35em;
}

.hiblog-rp-card__flag {
    display: inline-block;
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2em 0.55em;
    border-radius: 3px;
    color: #ffffff;
    background: var(--hiblog-c-accent, #2563eb);
}

.hiblog-rp-card__flag--discount {
    background: #dc2626;
}

.hiblog-rp-card__flag--new {
    background: var(--hiblog-c-accent, #2563eb);
}

.hiblog-rp-card__flag--pack {
    background: #7c3aed;
}

.hiblog-rp-card__body {
    flex: 1;
    padding: 0.85em 1em 1em;
}

.hiblog-rp-card__name {
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.875em;
    font-weight: 550;
    line-height: 1.4;
    color: var(--hiblog-c-heading, #111827);
    margin: 0 0 0.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.hiblog-rp-card:hover .hiblog-rp-card__name {
    color: var(--hiblog-c-accent, #2563eb);
}

.hiblog-rp-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.hiblog-rp-card__price-current {
    font-size: 1em;
    font-weight: 700;
    color: var(--hiblog-c-heading, #111827);
}

.hiblog-rp-card__price-regular {
    font-size: 0.85em;
    font-weight: 400;
    color: var(--hiblog-c-text-secondary, #6b7280);
    text-decoration: line-through;
}

.hiblog-rp-card__footer {
    padding: 0 1em 1em;
}

.hiblog-rp-card__cart-form {
    margin: 0;
}

.hiblog-rp-card__cart-btn {
    display: block;
    width: 100%;
    padding: 0.55em 1em;
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.8em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: var(--hiblog-c-accent, #2563eb);
    border: 1px solid var(--hiblog-c-accent, #2563eb);
    border-radius: var(--hiblog-c-radius, 6px);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.hiblog-rp-card__cart-btn:hover {
    background: color-mix(in srgb, var(--hiblog-c-accent, #2563eb) 85%, black);
    border-color: color-mix(in srgb, var(--hiblog-c-accent, #2563eb) 85%, black);
    color: #ffffff;
    text-decoration: none;
}

.hiblog-rp-card__cart-btn--view {
    background: transparent;
    color: var(--hiblog-c-accent, #2563eb);
}

.hiblog-rp-card__cart-btn--view:hover {
    background: var(--hiblog-c-accent, #2563eb);
    color: #ffffff;
}

.hiblog-rp-card__cart-btn.is-loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.hiblog-rp-card__cart-btn.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1em;
    margin: -0.5em 0 0 -0.5em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hiblog-rp-spin 0.5s linear infinite;
}

.hiblog-rp-card__cart-btn--view.is-loading::after {
    border-color: rgba(var(--hiblog-c-accent-rgb, 37, 99, 235), 0.3);
    border-top-color: var(--hiblog-c-accent, #2563eb);
}

@keyframes hiblog-rp-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .hiblog-rp__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .hiblog-rp__grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    .hiblog-rp-card__body {
        padding: 0.7em 0.85em 0.85em;
    }
}

/* ==========================================================================
   Table of contents — Modern design
   Uses --hiblog-c-* variables from .hiblog-content for consistency.
   ========================================================================== */

.hbl-toc-wrapper {
    --toc-accent: var(--hiblog-c-accent, #2563eb);
    --toc-text: var(--hiblog-c-text, #1f2937);
    --toc-text-secondary: var(--hiblog-c-text-secondary, #4b5563);
    --toc-border: var(--hiblog-c-border, #e5e7eb);
    --toc-bg: #ffffff;
    --toc-bg-hover: #f8fafc;
    --toc-bg-active: color-mix(in srgb, var(--hiblog-c-accent, #2563eb) 8%, white);
    --toc-radius: 10px;
    font-family: var(--hiblog-c-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.hbl-toc-wrapper .hiblog-toc-item,
.hbl-toc-wrapper .hi-blog-toc-item {
    background: var(--toc-bg);
    border: 1px solid var(--toc-border);
    border-radius: var(--toc-radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin-bottom: 1.5em;
    overflow: hidden;
}

.hbl-toc-wrapper h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0.85em 1.2em;
    font-size: 0.8em;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--toc-text-secondary);
    background: var(--toc-bg-hover);
    border-bottom: 1px solid var(--toc-border);
}

/* ---- Links ---- */
.hbl-toc-wrapper a {
    display: block;
    padding: 0.4em 0;
    line-height: 1.5;
    font-size: 0.925em;
    font-weight: 450;
    color: var(--toc-text);
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease;
    border-radius: 4px;
}
.hbl-toc-wrapper a:hover {
    color: var(--toc-accent);
}

/* ---- List reset ---- */
.hbl-toc-wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---- Nav container ---- */
.hbl-toc {
    padding: 0.6em 1.2em 0.85em;
}

/* ---- Top-level items ---- */
.hbl-toc > ul > li {
    list-style: none;
    position: relative;
    padding-left: 1.4em;
    border-left: 2px solid var(--toc-border);
    margin-bottom: 0.15em;
    transition: border-color 0.15s ease;
}
.hbl-toc > ul > li:last-child {
    margin-bottom: 0;
}
.hbl-toc > ul > li:hover {
    border-left-color: var(--toc-accent);
}

/* Counter numbers */
.hbl-toc > ul {
    counter-reset: toc-section;
    padding: 0;
}
.hbl-toc > ul > li {
    counter-increment: toc-section;
}
.hbl-toc > ul > li > a::before {
    content: counter(toc-section) ".";
    display: inline-block;
    width: 1.6em;
    font-weight: 600;
    color: var(--toc-text-secondary);
    font-size: 0.875em;
    transition: color 0.15s ease;
}
.hbl-toc > ul > li:hover > a::before,
.hbl-toc > ul > li.toc-active > a::before {
    color: var(--toc-accent);
}

/* ---- Nested items ---- */
.hbl-toc ul ul {
    margin-left: 1.4em;
    padding-left: 0;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
}
.hbl-toc ul ul li {
    list-style: none;
    margin-bottom: 0;
}
.hbl-toc ul ul a {
    font-size: 0.875em;
    color: var(--toc-text-secondary);
    padding: 0.25em 0;
}
.hbl-toc ul ul a:hover {
    color: var(--toc-accent);
}

.hbl-toc ul ul ul {
    margin-left: 1.2em;
}

/* ---- Active state ---- */
.hbl-toc li.toc-active {
    border-left-color: var(--toc-accent);
}
.hbl-toc li.toc-active > a {
    color: var(--toc-accent);
    font-weight: 600;
}

/* ---- Inline (inside article) variant ---- */
.hbl-toc-wrapper.hi-blog-toc-inside .hi-blog-toc-item {
    width: 38%;
    float: right;
    margin-left: 1.75em;
    margin-bottom: 1.25em;
    min-width: 240px;
}
.hbl-toc-wrapper.hi-blog-toc-inside .hbl-toc > ul {
    padding-right: 0;
}

/* ---- Fixed (sidebar) variant ---- */
.hbl-toc-wrapper.hi-blog-toc-fixed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.hbl-toc-wrapper.hi-blog-toc-fixed .hi-blog-toc-item {
    background: var(--toc-bg);
    min-width: 240px;
    max-width: 340px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.08);
    border-left: none;
    border-radius: var(--toc-radius) 0 0 var(--toc-radius);
}
.hbl-toc-wrapper.hi-blog-toc-fixed .hi-blog-toc-item h2 {
    flex-shrink: 0;
}
.hbl-toc-wrapper.hi-blog-toc-fixed .hbl-toc {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--toc-border) transparent;
}
.hbl-toc-wrapper.hi-blog-toc-fixed .hbl-toc::-webkit-scrollbar {
    width: 5px;
}
.hbl-toc-wrapper.hi-blog-toc-fixed .hbl-toc::-webkit-scrollbar-track {
    background: transparent;
}
.hbl-toc-wrapper.hi-blog-toc-fixed .hbl-toc::-webkit-scrollbar-thumb {
    background: var(--toc-border);
    border-radius: 3px;
}
.hbl-toc-wrapper.hi-blog-toc-fixed .hbl-toc::-webkit-scrollbar-thumb:hover {
    background: var(--toc-text-secondary);
}

/* ---- Toggle button (fixed variant) ---- */
.hi-blog-toc-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--toc-border);
    border-right: none;
    border-radius: var(--toc-radius) 0 0 var(--toc-radius);
    background: var(--toc-bg);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.hi-blog-toc-list:hover {
    background: var(--toc-bg-hover);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
}
.hi-blog-toc-list img {
    width: 18px;
    height: 18px;
    opacity: 0.55;
    transition: opacity 0.15s ease;
}
.hi-blog-toc-list:hover img {
    opacity: 0.8;
}

/* ---- Close button ---- */
.hi-blog-close-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.15s ease;
}
.hi-blog-close-list:hover {
    background: rgba(0, 0, 0, 0.06);
}
.hi-blog-close-list img {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto;
    opacity: 0.45;
    transition: opacity 0.15s ease;
}
.hi-blog-close-list:hover img {
    opacity: 0.7;
}

@media (max-width: 600px) {
    #blog_desc_container .customer-info-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25em;
    }
    #blog_desc_container .customer-info-block .customer-info .custome-name {
        justify-content: center;
        flex-wrap: wrap;
    }
    #blog_desc_container .customer-info-block .customer-info .social-icons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hbl-toc-wrapper.hi-blog-toc-inside .hi-blog-toc-item {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
    .hbl-toc-wrapper.hi-blog-toc-fixed .hi-blog-toc-item {
        max-width: calc(100vw - 50px);
    }
    .hbl-toc-wrapper h2 {
        font-size: 0.75em;
        padding: 0.75em 1em;
    }
    .hbl-toc {
        padding: 0.5em 1em 0.7em;
    }
    .hbl-toc > ul > li {
        padding-left: 1.2em;
    }
}