/*
========================================
ShopCore - Main CSS
========================================
*/

/* ==========================
   Reset
========================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================
   Root Variables
========================== */

:root {

    --primary-color: #ef1d25;
    --secondary-color: #111111;
    --text-color: #222222;
    --light-color: #ffffff;
    --border-color: #e5e5e5;
    --body-bg: #ffffff;
    --body-font: "Poppins", sans-serif;
    --heading-font: "Poppins", sans-serif;
    --container-width: 1400px;
    --transition: .3s ease;

    /* ======================================================
     * Fluid Typography Scale Tokens
     * ====================================================== */
    --font-h1: clamp(1.375rem, 1.1rem + 1.8vw, 2.25rem);      /* 22px - 36px */
    --font-h2: clamp(1.125rem, 0.95rem + 1.2vw, 1.75rem);     /* 18px - 28px */
    --font-h3: clamp(1rem, 0.88rem + 0.7vw, 1.375rem);        /* 16px - 22px */
    --font-h4: clamp(0.9375rem, 0.85rem + 0.4vw, 1.125rem);   /* 15px - 18px */
    --font-h5: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);        /* 14px - 16px */
    --font-h6: clamp(0.75rem, 0.72rem + 0.2vw, 0.875rem);     /* 12px - 14px */
    --font-body: clamp(0.875rem, 0.85rem + 0.2vw, 1rem);      /* 14px - 16px */
    --font-lead: clamp(0.9375rem, 0.9rem + 0.3vw, 1.125rem);  /* 15px - 18px */
    --font-small: clamp(0.6875rem, 0.65rem + 0.2vw, 0.8125rem);/* 11px - 13px */

    /* Line Heights */
    --lh-tight: 1.2;
    --lh-heading: 1.3;
    --lh-subheading: 1.38;
    --lh-body: 1.65;
    --lh-relaxed: 1.75;

}

/* ==========================
   Global
========================== */

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {

    font-family: var(--body-font, "Poppins", sans-serif);
    font-size: var(--font-body, 16px);
    font-weight: 400;
    line-height: var(--lh-body, 1.65);

    color: var(--text-color);
    background: var(--body-bg);

    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

/* ==========================================================
   Typography System: Headings, Paragraphs & Text Elements
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: var(--heading-font, "Poppins", sans-serif);
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0;
    letter-spacing: -0.015em;
    text-rendering: optimizeLegibility;

}

/* Heading Sizes (Desktop Defaults with Fluid Fallbacks) */
h1, .sc-h1 {
    font-size: var(--font-h1, 36px);
    line-height: var(--lh-tight, 1.2);
    margin-bottom: 0.6em;
    letter-spacing: -0.025em;
}

h2, .sc-h2 {
    font-size: var(--font-h2, 28px);
    line-height: var(--lh-heading, 1.28);
    margin-bottom: 0.55em;
    letter-spacing: -0.02em;
}

h3, .sc-h3 {
    font-size: var(--font-h3, 22px);
    line-height: var(--lh-subheading, 1.34);
    font-weight: 600;
    margin-bottom: 0.5em;
    letter-spacing: -0.015em;
}

h4, .sc-h4 {
    font-size: var(--font-h4, 18px);
    line-height: 1.38;
    font-weight: 600;
    margin-bottom: 0.45em;
    letter-spacing: -0.01em;
}

h5, .sc-h5 {
    font-size: var(--font-h5, 16px);
    line-height: 1.42;
    font-weight: 600;
    margin-bottom: 0.4em;
}

h6, .sc-h6 {
    font-size: var(--font-h6, 14px);
    line-height: 1.45;
    font-weight: 600;
    margin-bottom: 0.35em;
}

/* Paragraphs & Text Elements */
p {
    font-size: var(--font-body, 16px);
    line-height: var(--lh-body, 1.65);
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
}

p:last-child {
    margin-bottom: 0;
}

.lead,
p.lead {
    font-size: var(--font-lead, 18px);
    line-height: 1.55;
    font-weight: 500;
    color: #334155;
    margin-bottom: 1.15rem;
}

small,
.small,
.sc-small-text {
    font-size: var(--font-small, 13px);
    line-height: 1.45;
    color: #64748b;
}

strong,
b {
    font-weight: 700;
    color: var(--secondary-color);
}

em,
i {
    font-style: italic;
}

blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-style: italic;
    color: #475569;
    line-height: 1.6;
}

blockquote p:last-child {
    margin-bottom: 0;
}

code,
kbd,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875em;
}

code {
    background: #f1f5f9;
    color: #ef1d25;
    padding: 2px 6px;
    border-radius: 4px;
}

pre {
    background: #0f172a;
    color: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
    line-height: 1.5;
}

/* Common Section Headers & Page Titles */
.page-title,
.entry-title {
    font-size: var(--font-h1, 32px);
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--secondary-color);
}

.sc-section-title,
.sc-title {
    font-size: var(--font-h2, 26px);
    line-height: 1.3;
    margin-bottom: 16px;
}

/* ==========================================================
   Responsive Typography Media Queries
   (Strict overrides for Tablet, Mobile & Small Devices)
========================================================== */

/* Tablet & Smaller Laptops (<= 991px) */
@media (max-width: 991px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }

    h1, .sc-h1 {
        font-size: 28px;
        line-height: 1.24;
    }

    h2, .sc-h2 {
        font-size: 22px;
        line-height: 1.28;
    }

    h3, .sc-h3 {
        font-size: 19px;
        line-height: 1.32;
    }

    h4, .sc-h4 {
        font-size: 16px;
        line-height: 1.38;
    }

    h5, .sc-h5 {
        font-size: 15px;
        line-height: 1.4;
    }

    h6, .sc-h6 {
        font-size: 13px;
        line-height: 1.45;
    }

    p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .lead, p.lead {
        font-size: 16px;
        line-height: 1.5;
    }

    small, .small {
        font-size: 12px;
    }

    .page-title, .entry-title {
        font-size: 26px;
    }

    .sc-section-title, .sc-title {
        font-size: 21px;
    }
}

/* Mobile & Phablet Devices (<= 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.58;
    }

    h1, .sc-h1 {
        font-size: 24px;
        line-height: 1.28;
        letter-spacing: -0.02em;
    }

    h2, .sc-h2 {
        font-size: 19px;
        line-height: 1.3;
        letter-spacing: -0.015em;
    }

    h3, .sc-h3 {
        font-size: 17px;
        line-height: 1.35;
    }

    h4, .sc-h4 {
        font-size: 15px;
        line-height: 1.38;
    }

    h5, .sc-h5 {
        font-size: 14px;
        line-height: 1.4;
    }

    h6, .sc-h6 {
        font-size: 12px;
        line-height: 1.45;
    }

    p {
        font-size: 14px;
        line-height: 1.58;
        margin-bottom: 12px;
    }

    .lead, p.lead {
        font-size: 15px;
        line-height: 1.5;
    }

    small, .small {
        font-size: 11.5px;
    }

    .page-title, .entry-title {
        font-size: 22px;
    }

    .sc-section-title, .sc-title {
        font-size: 18px;
    }

    blockquote {
        padding: 8px 14px;
        font-size: 14px;
        margin: 14px 0;
    }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
    body {
        font-size: 13.5px;
        line-height: 1.55;
    }

    h1, .sc-h1 {
        font-size: 21px;
        line-height: 1.3;
    }

    h2, .sc-h2 {
        font-size: 17.5px;
        line-height: 1.32;
    }

    h3, .sc-h3 {
        font-size: 15.5px;
        line-height: 1.35;
    }

    h4, .sc-h4 {
        font-size: 14px;
        line-height: 1.38;
    }

    h5, .sc-h5 {
        font-size: 13px;
        line-height: 1.4;
    }

    h6, .sc-h6 {
        font-size: 11.5px;
        line-height: 1.45;
    }

    p {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 10px;
    }

    .lead, p.lead {
        font-size: 14.5px;
    }

    small, .small {
        font-size: 11px;
    }

    .page-title, .entry-title {
        font-size: 20px;
    }

    .sc-section-title, .sc-title {
        font-size: 16.5px;
    }
}

a {

    color: inherit;
    text-decoration: none;
    transition: var(--transition);

}

ul,
ol {

    list-style: none;

}

img {

    max-width: 100%;
    height: auto;
    display: block;

}

button,
input,
select,
textarea {

    font-family: inherit;
    outline: none;

}

/* ==========================
   Container
========================= */

.sc-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .sc-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 576px) {
    .sc-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Explore Button CSS */
.sc-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 18px;
    background: #ef1d25;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    white-space: nowrap;
}

.sc-explore-btn:hover {
    background: #d90000;
    color: #fff;
}

@media (max-width: 576px) {
    .sc-explore-btn {
        padding: 4px 10px;
        font-size: 11px;
        gap: 4px;
        border-radius: 3px;
    }
}

/* ==========================================================
   Global Form Input Normalization (Remove Duplicate Browser Icons)
========================================================== */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none !important;
}

input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==========================================================
   Page & Article Content Typography (Entry Content / Prose)
========================================================== */
.entry-content,
.site-main article:not(.shopcore-product-card),
.sc-content-wrap {
    line-height: var(--lh-body, 1.65);
}

.entry-content h1,
.site-main article:not(.shopcore-product-card) h1 {
    font-size: var(--font-h1, 32px);
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.entry-content h2,
.site-main article:not(.shopcore-product-card) h2 {
    font-size: var(--font-h2, 26px);
    margin-top: 1.6rem;
    margin-bottom: 0.75rem;
}

.entry-content h3,
.site-main article:not(.shopcore-product-card) h3 {
    font-size: var(--font-h3, 21px);
    margin-top: 1.4rem;
    margin-bottom: 0.65rem;
}

.entry-content h4,
.site-main article:not(.shopcore-product-card) h4 {
    font-size: var(--font-h4, 18px);
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.entry-content h5,
.site-main article:not(.shopcore-product-card) h5 {
    font-size: var(--font-h5, 16px);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.entry-content h6,
.site-main article:not(.shopcore-product-card) h6 {
    font-size: var(--font-h6, 14px);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.entry-content ul,
.entry-content ol,
.site-main article:not(.shopcore-product-card) ul,
.site-main article:not(.shopcore-product-card) ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li,
.site-main article:not(.shopcore-product-card) li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.entry-content a,
.site-main article:not(.shopcore-product-card) a {
    color: var(--primary-color, #ef1d25);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover,
.site-main article:not(.shopcore-product-card) a:hover {
    color: #b91c1c;
}

/* ==========================================================
   ShopCore - Standard Page Layout (About Us, Privacy, Terms)
   ========================================================== */

.sc-standard-page-main {
    background: #f8fafc;
    min-height: 60vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

/* Page Hero / Header */
.sc-page-header {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: clamp(32px, 4vw, 56px) 0 clamp(28px, 3.5vw, 44px);
    margin-bottom: clamp(24px, 3.5vw, 40px);
}

.sc-page-breadcrumb {
    margin-bottom: 14px;
}

.sc-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sc-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.sc-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sc-breadcrumb-link:hover {
    color: var(--primary-color, #ef1d25);
}

.sc-breadcrumb-separator {
    color: #94a3b8;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
}

.sc-breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
}

.sc-page-title {
    font-size: var(--font-h1, clamp(24px, 3.2vw, 38px));
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.sc-page-lead-desc {
    max-width: 760px;
    font-size: clamp(14.5px, 0.95rem + 0.1vw, 16.5px);
    color: #475569;
    line-height: 1.6;
    margin: 0 0 14px 0;
}

.sc-page-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
    margin-top: 10px;
}

.sc-page-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sc-page-meta-sep {
    color: #cbd5e1;
}

/* Page Card Container */
.sc-page-container {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.sc-page-content-wrapper {
    width: 100%;
}

.sc-page-featured-media {
    width: 100%;
    max-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.sc-page-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-page-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    padding: clamp(24px, 4vw, 48px) clamp(20px, 4.5vw, 56px);
    margin-bottom: 30px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Content Formatting inside Page Card */
.sc-page-card > :first-child {
    margin-top: 0;
}

.sc-page-card > :last-child {
    margin-bottom: 0;
}

.sc-page-card.entry-content h2 {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1.5px solid #f1f5f9;
    letter-spacing: -0.015em;
}

.sc-page-card.entry-content h3 {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 600;
    color: #1e293b;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

.sc-page-card.entry-content h4 {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 600;
    color: #334155;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.sc-page-card.entry-content p {
    font-size: clamp(14px, 0.95rem + 0.1vw, 16px);
    line-height: 1.75;
    color: #334155;
    margin-bottom: 1.25rem;
}

.sc-page-card.entry-content ul,
.sc-page-card.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.sc-page-card.entry-content li {
    margin-bottom: 0.55rem;
    line-height: 1.68;
    color: #334155;
}

.sc-page-card.entry-content li::marker {
    color: var(--primary-color, #ef1d25);
}

/* Tables in Pages (Policies, Specifications, Terms) */
.sc-page-card.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.8rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
}

.sc-page-card.entry-content th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
    padding: 13px 18px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #f1f5f9;
}

.sc-page-card.entry-content th:last-child {
    border-right: none;
}

.sc-page-card.entry-content td {
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px solid #f8fafc;
    color: #334155;
    line-height: 1.6;
}

.sc-page-card.entry-content td:last-child {
    border-right: none;
}

.sc-page-card.entry-content tr:last-child td {
    border-bottom: none;
}

.sc-page-card.entry-content tr:nth-child(even) td {
    background: #fafbfc;
}

.sc-page-card.entry-content tr:hover td {
    background: #f1f5f9;
    transition: background 0.15s ease;
}

/* Blockquotes & Callout alerts in Pages */
.sc-page-card.entry-content blockquote {
    margin: 1.8rem 0;
    padding: 1.2rem 1.6rem;
    background: #f8fafc;
    border-left: 4px solid var(--primary-color, #ef1d25);
    border-radius: 0 10px 10px 0;
    font-size: 15.5px;
    font-style: normal;
    color: #334155;
    line-height: 1.7;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.6);
}

.sc-page-card.entry-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2.2rem 0;
}

/* Page Form Inputs & Actions */
.sc-page-card input[type="text"],
.sc-page-card input[type="email"],
.sc-page-card input[type="tel"],
.sc-page-card input[type="url"],
.sc-page-card input[type="password"],
.sc-page-card input[type="search"],
.sc-page-card textarea,
.sc-page-card select {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    margin-bottom: 14px;
}

.sc-page-card input:focus,
.sc-page-card textarea:focus,
.sc-page-card select:focus {
    border-color: var(--primary-color, #ef1d25);
    box-shadow: 0 0 0 3.5px rgba(239, 29, 37, 0.12);
}

.sc-page-card button[type="submit"],
.sc-page-card .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--primary-color, #ef1d25);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 2px 8px rgba(239, 29, 37, 0.2);
}

.sc-page-card button[type="submit"]:hover,
.sc-page-card .wp-block-button__link:hover {
    background: #d90000;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239, 29, 37, 0.32);
    color: #ffffff;
}

/* Multi-Page Pagination */
.page-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.page-links a,
.page-links .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    background: #f8fafc;
    transition: 0.2s ease;
}

.page-links a:hover,
.page-links .current {
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
    border-color: var(--primary-color, #ef1d25);
}

/* ==========================================================
   Single Post Specific Styles
   ========================================================== */

.sc-post-category-badge {
    margin-bottom: 12px;
}

.sc-post-category-badge a {
    display: inline-block;
    background: rgba(239, 29, 37, 0.1);
    color: var(--primary-color, #ef1d25);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.2s ease;
}

.sc-post-category-badge a:hover {
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
}

.sc-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.sc-post-tags-title {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sc-post-tag-item {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s ease;
}

.sc-post-tag-item:hover {
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
}

/* Post Navigation (Prev / Next) */
.sc-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 2rem 0;
}

.sc-post-nav-link {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.sc-post-nav-link:hover {
    border-color: var(--primary-color, #ef1d25);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.sc-post-nav-next .sc-post-nav-link {
    text-align: right;
}

.sc-post-nav-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sc-post-nav-next .sc-post-nav-label {
    justify-content: flex-end;
}

.sc-post-nav-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

/* Comments Wrap */
.sc-page-comments-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: clamp(24px, 4vw, 44px);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

/* ==========================================================
   404 Page Styles
   ========================================================== */

.sc-404-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh;
}

.sc-404-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    max-width: 620px;
    margin: 50px auto;
    padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 48px);
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.sc-404-badge {
    font-size: clamp(64px, 10vw, 110px);
    font-weight: 900;
    line-height: 1;
    color: var(--primary-color, #ef1d25);
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.sc-404-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.sc-404-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto 24px;
}

.sc-404-search {
    max-width: 440px;
    margin: 0 auto 24px;
}

.sc-404-search form {
    display: flex;
    gap: 8px;
}

.sc-404-search input[type="search"] {
    flex: 1;
    padding: 10px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.sc-404-search button,
.sc-404-search input[type="submit"] {
    background: var(--primary-color, #ef1d25);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

.sc-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 2px 8px rgba(239, 29, 37, 0.2);
}

.sc-btn-primary:hover {
    background: #d90000;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239, 29, 37, 0.32);
}

.sc-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.sc-btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ==========================================================
   Responsive Adaptations for Standard Pages
   ========================================================== */

@media (max-width: 768px) {
    .sc-page-card {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .sc-page-card.entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sc-post-navigation {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sc-post-nav-next .sc-post-nav-link {
        text-align: left;
    }

    .sc-post-nav-next .sc-post-nav-label {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .sc-page-header {
        padding: 24px 0 20px;
        margin-bottom: 18px;
    }

    .sc-page-breadcrumb {
        margin-bottom: 10px;
    }

    .sc-breadcrumb-item {
        font-size: 12px;
    }

    .sc-page-card {
        padding: 20px 14px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .sc-404-card {
        padding: 30px 18px;
        margin: 30px auto;
    }

    .sc-404-actions {
        flex-direction: column;
        width: 100%;
    }

    .sc-btn-primary,
    .sc-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================
   ShopCore - Blog Page (Listing, Filter Pills & Grid)
   ========================================================== */

.sc-blog-main {
    background: #f8fafc;
}

.sc-blog-header {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.sc-blog-hero-content {
    margin-bottom: 24px;
}

.sc-blog-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color, #ef1d25);
    margin-bottom: 6px;
}

/* Category Filter Pills */
.sc-blog-filter-wrap {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sc-blog-filter-wrap::-webkit-scrollbar {
    display: none;
}

.sc-blog-filter-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.sc-blog-filter-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sc-blog-filter-link:hover {
    border-color: var(--primary-color, #ef1d25);
    color: var(--primary-color, #ef1d25);
    background: #fff;
    transform: translateY(-1px);
}

.sc-blog-filter-link.active {
    background: var(--primary-color, #ef1d25);
    border-color: var(--primary-color, #ef1d25);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 29, 37, 0.25);
}

.sc-cat-count {
    font-size: 11px;
    opacity: 0.8;
}

/* Blog Cards Grid */
.sc-blog-container {
    max-width: var(--container-width, 1400px);
    padding-top: 10px;
}

.sc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.sc-blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.sc-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.sc-blog-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

.sc-blog-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.sc-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.sc-blog-card:hover .sc-blog-img {
    transform: scale(1.06);
}

.sc-blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.25);
    font-size: 40px;
}

.sc-blog-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.sc-blog-card-cat:hover {
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
    transform: translateY(-1px);
}

.sc-blog-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sc-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 10px;
}

.sc-blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sc-blog-meta-dot {
    color: #cbd5e1;
}

.sc-blog-card-title {
    font-size: 18.5px;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 10px 0;
    letter-spacing: -0.015em;
}

.sc-blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sc-blog-card-title a:hover {
    color: var(--primary-color, #ef1d25);
}

.sc-blog-card-excerpt {
    font-size: 14px;
    line-height: 1.62;
    color: #475569;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.sc-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.sc-blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-blog-author-avatar {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    object-fit: cover;
}

.sc-blog-author-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
}

.sc-blog-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #ef1d25);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.sc-blog-card-btn:hover {
    gap: 9px;
    color: #b91c1c;
}

/* Blog Pagination */
.sc-blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 36px 0 24px;
}

.sc-blog-pagination a,
.sc-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.sc-blog-pagination a:hover,
.sc-blog-pagination .current {
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
    border-color: var(--primary-color, #ef1d25);
    box-shadow: 0 4px 12px rgba(239, 29, 37, 0.25);
}

/* Blog Empty State */
.sc-blog-empty-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    max-width: 580px;
    margin: 40px auto;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.sc-empty-icon {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

/* ==========================================================
   ShopCore - Blog Reading Page (Single Post)
   ========================================================== */

.sc-single-post-title {
    font-size: clamp(26px, 3.4vw, 42px);
    margin-bottom: 16px;
}

.sc-single-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.sc-meta-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sc-single-author-avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.sc-meta-author-info {
    display: flex;
    flex-direction: column;
}

.sc-meta-author-name {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.sc-meta-date {
    font-size: 12px;
    color: #64748b;
}

.sc-meta-stats-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sc-meta-comments-link:hover {
    border-color: var(--primary-color, #ef1d25);
    color: var(--primary-color, #ef1d25);
}

.sc-single-featured-media {
    margin-bottom: 28px;
}

.sc-featured-caption {
    padding: 10px 18px;
    background: #f8fafc;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    border-top: 1px solid #e2e8f0;
}

/* Social Share Bar */
.sc-social-share-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin: 2.2rem 0;
}

.sc-share-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sc-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    font-size: 14px;
}

.sc-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sc-share-fb { background: #1877f2; }
.sc-share-tw { background: #0f1419; }
.sc-share-wa { background: #25d366; }
.sc-share-li { background: #0a66c2; }
.sc-share-copy { background: #64748b; }

.sc-copy-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.sc-share-copy.copied .sc-copy-tooltip {
    opacity: 1;
}

/* Author Bio Card */
.sc-author-bio-card {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin: 2.2rem 0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.sc-author-avatar-wrap {
    flex-shrink: 0;
}

.sc-author-large-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
}

.sc-author-role {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color, #ef1d25);
    display: block;
}

.sc-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 2px 0 6px;
}

.sc-author-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 10px;
}

.sc-author-posts-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #ef1d25);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.sc-author-posts-link:hover {
    gap: 9px;
    color: #b91c1c;
}

/* Related Posts Section */
.sc-related-posts-section {
    margin: 3.5rem 0 2.5rem;
}

.sc-related-header {
    margin-bottom: 22px;
}

.sc-related-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color, #ef1d25);
    display: block;
    margin-bottom: 4px;
}

.sc-related-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.sc-related-grid {
    margin-bottom: 0;
}

/* ==========================================================
   Comments Section Styling
   ========================================================== */

.sc-comments-area {
    margin-top: 0;
}

.sc-comments-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.sc-comment-list .comment {
    margin-bottom: 18px;
}

.sc-comment-list .children {
    list-style: none;
    padding-left: 32px;
    margin-top: 14px;
    border-left: 2px solid #e2e8f0;
}

.sc-comment-list article,
.sc-comment-list .comment-body {
    padding: 20px 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #0f172a;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.comment-metadata {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.comment-metadata a {
    color: #64748b;
    text-decoration: none;
}

.comment-content {
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 12px;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color, #ef1d25);
    text-decoration: none;
}

.reply a:hover {
    text-decoration: underline;
}

.sc-no-comments {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    margin-bottom: 24px;
}

.sc-reply-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.sc-comment-notes {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
}

.sc-comment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sc-comment-form-group {
    margin-bottom: 16px;
}

.sc-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.sc-form-label .required {
    color: var(--primary-color, #ef1d25);
}

.sc-form-input,
.sc-form-textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.sc-form-input:focus,
.sc-form-textarea:focus {
    border-color: var(--primary-color, #ef1d25);
    box-shadow: 0 0 0 3.5px rgba(239, 29, 37, 0.12);
}

.sc-comment-form-cookies {
    margin-bottom: 18px;
    font-size: 13px;
    color: #475569;
}

.sc-comment-form-cookies input[type="checkbox"] {
    margin-right: 6px;
}

.sc-comment-submit-btn {
    padding: 12px 28px;
    cursor: pointer;
}

/* ==========================================================
   Responsive Adaptations for Blog & Reading Pages
   ========================================================== */

@media (max-width: 991px) {
    .sc-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .sc-blog-grid {
        grid-template-columns: 1fr;
    }

    .sc-comment-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sc-author-bio-card {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }

    .sc-author-posts-link {
        justify-content: center;
    }

    .sc-single-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sc-social-share-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sc-comment-list .children {
        padding-left: 14px;
    }
}

