/* =========================================================
   SHOPORA V2 — COMPLETE RESPONSIVE STYLESHEET
   ========================================================= */


:root {
    --brand: #111111;
    --brand-dark: #000000;
    --background: #f6f7f9;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --text: #171717;
    --muted: #667085;
    --border: #e5e7eb;
    --success: #15803d;
    --danger: #b42318;
    --warning: #b45309;
    --shadow-sm: 0 3px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.09);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
}

/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

.wrap {
    width: min(100%, 1120px);
    margin-inline: auto;
    padding-inline: 14px;
}

/* =========================================================
   HEADER
   ========================================================= */

.top {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.topbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.site-logo {
    width: auto;
    max-width: 175px;
    max-height: 44px;
    object-fit: contain;
}

.main-nav,
.topbar nav {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar,
.topbar nav::-webkit-scrollbar {
    display: none;
}

.main-nav a,
.topbar nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 9px;
    white-space: nowrap;
    color: #344054;
    font-size: 14px;
    font-weight: 650;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.main-nav a:hover,
.topbar nav a:hover {
    background: #f2f4f7;
    color: var(--brand);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    margin: 18px 0 22px;
    padding: 34px 22px;
    border: 1px solid #f4d7df;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(255, 255, 255, 0.95),
            transparent 34%
        ),
        linear-gradient(135deg, #fff0f4 0%, #fff8fa 55%, #ffffff 100%);
    box-shadow: var(--shadow-sm);
}

.hero::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.hero h1 {
    max-width: 760px;
    margin: 14px 0 12px;
    font-size: clamp(32px, 7vw, 52px);
    letter-spacing: -1.6px;
}

.hero p {
    max-width: 670px;
    margin-bottom: 22px;
    color: #475467;
    font-size: 16px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn,
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

.btn:hover,
.pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(17, 17, 17, 0.16);
}

.btn:active,
.pill:active {
    transform: translateY(0);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.btn.full,
.full {
    width: 100%;
    margin-top: 12px;
}

.back {
    display: inline-flex;
    align-items: center;
    margin: 14px 0;
    color: #475467;
    font-weight: 750;
}

/* =========================================================
   SECTIONS
   ========================================================= */

section {
    margin-block: 24px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.section-head h2,
section > h2 {
    margin-bottom: 12px;
    font-size: clamp(22px, 4vw, 30px);
    letter-spacing: -0.5px;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.chips {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 1px 10px;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chips a {
    flex-shrink: 0;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: #344054;
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.chips a:hover {
    border-color: var(--brand);
    transform: translateY(-1px);
}

/* =========================================================
   SEARCH
   ========================================================= */

.search {
    width: 100%;
    max-width: 390px;
    display: flex;
}

.search input {
    min-width: 0;
    border-radius: 11px 0 0 11px;
}

.search button {
    flex-shrink: 0;
    min-width: 82px;
    border: 0;
    border-radius: 0 11px 11px 0;
    background: var(--brand);
    color: #ffffff;
    font-weight: 800;
}

/* =========================================================
   PRODUCT GRID & CARDS
   ========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.82);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #d0d5dd;
    box-shadow: var(--shadow-md);
}

.card img,
.placeholder {
    width: 100%;
    height: 176px;
    object-fit: cover;
    background: #edf0f3;
}

.placeholder {
    display: grid;
    place-items: center;
    padding: 15px;
    color: #7a8290;
    font-size: 13px;
    text-align: center;
}

.card .p {
    padding: 13px;
}

.card h3 {
    min-height: 42px;
    margin: 5px 0 9px;
    font-size: 16px;
}

.card h3 a:hover {
    color: var(--brand);
}

.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    color: #101828;
    font-size: 17px;
    font-weight: 900;
}

.old {
    color: #98a2b3;
    font-size: 13px;
    font-weight: 500;
    text-decoration: line-through;
}

.stock {
    margin-top: 6px;
    color: #475467;
    font-size: 12px;
}

/* =========================================================
   PRODUCT DETAILS PAGE
   ========================================================= */

.product-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 18px 0;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.product-main {
    width: 100%;
    min-height: 310px;
    max-height: 540px;
    border-radius: 15px;
    background: #f2f4f7;
    object-fit: contain;
}

.big {
    font-size: 27px;
}

/* =========================================================
   FORMS
   ========================================================= */

.form {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

label {
    display: block;
    margin: 12px 0 6px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #d0d5dd;
    border-radius: var(--radius-sm);
    outline: none;
    background: #ffffff;
    color: var(--text);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.preview {
    width: 100%;
    max-width: 210px;
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* =========================================================
   CHECKOUT
   ========================================================= */

.narrow {
    max-width: 780px;
}

.order-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
}

.cod-box {
    margin: 17px 0;
    padding: 15px;
    border: 1px solid #cfe0ff;
    border-radius: 13px;
    background: #f3f7ff;
}

.cod-box small {
    display: block;
    margin-top: 4px;
    color: #475467;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 500;
}

.consent input {
    width: auto;
    min-height: auto;
    margin-top: 4px;
}

/* =========================================================
   SUCCESS
   ========================================================= */

.success {
    margin: 42px 0;
    padding: 44px 23px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.success-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #e9f8ed;
    color: var(--success);
    font-size: 36px;
}

/* =========================================================
   ADVERTISEMENTS
   ========================================================= */

.ad-slot {
    grid-column: 1 / -1;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 19px 0;
    padding: 18px;
    overflow: hidden;
    border: 1px dashed #c7cbd1;
    border-radius: 14px;
    background: var(--surface);
    color: #7b8492;
    text-align: center;
}

.ad-slot small {
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-ad {
    overflow: hidden;
}

/* =========================================================
   CONTENT / BLOG / LEGAL
   ========================================================= */

.content-box {
    margin: 22px 0;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    line-height: 1.75;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.legal {
    line-height: 1.8;
}

.legal h2 {
    margin-top: 30px;
}

.legal p,
.content-box p {
    color: #475467;
}

/* =========================================================
   TABLES & ADMIN
   ========================================================= */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: var(--surface);
}

th,
td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

th {
    background: #f8fafc;
    color: #344054;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

td {
    font-size: 14px;
}

tr:last-child td {
    border-bottom: 0;
}

.thumb {
    width: 58px;
    height: 58px;
    border: 1px solid var(--border);
    border-radius: 9px;
    object-fit: cover;
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 15px 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin: 17px 0;
}

.stats div {
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.stats b {
    display: block;
    font-size: 27px;
    letter-spacing: -0.6px;
}

.stats span {
    color: var(--muted);
}

/* =========================================================
   MESSAGES
   ========================================================= */

.msg {
    margin-bottom: 13px;
    padding: 13px 14px;
    border-radius: 11px;
    background: #eaf8ee;
    color: #155724;
    font-weight: 650;
}

.msg.danger,
.danger {
    background: var(--danger);
    color: #ffffff;
}

/* =========================================================
   LOGIN
   ========================================================= */

.login {
    max-width: 430px;
    margin: 68px auto;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    margin-top: 34px;
    padding: 36px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: #667085;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    text-align: left;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
}

.footer-grid a:hover {
    color: var(--brand);
}

/* =========================================================
   UTILITIES
   ========================================================= */

.muted {
    color: var(--muted);
}

.small {
    font-size: 12px;
}

.whatsapp-float {
    position: fixed;
    right: 15px;
    bottom: 17px;
    z-index: 150;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 12px 17px;
    border-radius: 999px;
    background: #1f9d55;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 32px rgba(0, 0, 0, 0.24);
}

/* =========================================================
   TABLET / DESKTOP
   ========================================================= */

@media (min-width: 760px) {
    .wrap {
        padding-inline: 20px;
    }

    .hero {
        padding: 52px 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 17px;
    }

    .card img,
    .placeholder {
        height: 215px;
    }

    .product-view {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        padding: 27px;
    }

    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .topbar {
        min-height: auto;
        padding-block: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav,
    .topbar nav {
        width: 100%;
        padding-bottom: 2px;
    }

    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .search {
        max-width: none;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .order-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .wrap {
        padding-inline: 11px;
    }

    .hero {
        padding: 29px 18px;
        border-radius: 18px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 15px;
    }

    .grid {
        gap: 10px;
    }

    .card {
        border-radius: 13px;
    }

    .card img,
    .placeholder {
        height: 158px;
    }

    .card .p {
        padding: 11px;
    }

    .card h3 {
        min-height: 39px;
        font-size: 14px;
    }

    .price {
        font-size: 15px;
    }

    .btn {
        padding: 9px 11px;
        font-size: 14px;
    }
}

/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(17, 17, 17, 0.22);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
.footer h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 17px;
}

.footer p {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

@media (min-width: 760px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
}
/* Mobile product page improvements */
@media (max-width: 700px) {

    .product-view {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px;
        margin: 14px 0;
    }

    .product-main {
        width: 100%;
        min-height: 0;
        height: auto;
        max-height: none;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border-radius: 14px;
    }

    .product-view h1 {
        font-size: 28px;
        margin: 10px 0;
    }

    .product-view .price.big {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .product-view .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .product-view .stats div {
        padding: 12px 8px;
        text-align: center;
    }

    .product-view .stats b {
        font-size: 20px;
    }

    .product-view .stats span {
        display: block;
        font-size: 11px;
        line-height: 1.3;
    }

    .cod-box {
        padding: 13px;
    }

    .product-view .btn.full {
        min-height: 48px;
        font-size: 16px;
    }

    .back {
        margin: 12px 0;
        font-size: 14px;
    }

    .content-box {
        padding: 18px;
    }
}

@media (max-width: 430px) {

    .product-view {
        padding: 11px;
        border-radius: 16px;
    }

    .product-view h1 {
        font-size: 24px;
    }

    .product-view .stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .product-view .stats div {
        padding: 10px 5px;
    }

    .product-view .stats b {
        font-size: 18px;
    }

    .product-view .stats span {
        font-size: 10px;
    }
}
/* =========================================================
   CHECKOUT PAGE
   ========================================================= */

.checkout-page {
    max-width: 1120px;
}

.checkout-heading {
    margin: 12px 0 24px;
}

.checkout-heading h1 {
    margin: 12px 0 8px;
    font-size: clamp(32px, 6vw, 46px);
    letter-spacing: -1px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 28px;
}

.checkout-form-column {
    min-width: 0;
}

.checkout-form {
    width: 100%;
}

.checkout-form h2,
.checkout-summary h2 {
    margin-bottom: 16px;
}

.checkout-summary {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.checkout-product {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border);
}

.checkout-product img,
.checkout-product-placeholder {
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: #edf0f3;
    object-fit: cover;
}

.checkout-product-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.checkout-product strong,
.checkout-product span {
    display: block;
}

.checkout-product strong {
    overflow-wrap: anywhere;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row span {
    color: var(--muted);
}

.summary-row strong {
    text-align: right;
}

.summary-total {
    border-bottom: 0;
    font-size: 18px;
}

.checkout-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.checkout-trust div {
    min-width: 0;
    padding: 12px 7px;
    border-radius: 11px;
    background: var(--surface-soft);
    text-align: center;
}

.checkout-trust b,
.checkout-trust span {
    display: block;
}

.checkout-trust b {
    font-size: 13px;
}

.checkout-trust span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
}

.checkout-submit {
    min-height: 50px;
    margin-top: 18px;
    font-size: 16px;
}

.checkout-note {
    margin: 12px 0 0;
    text-align: center;
}

.consent a {
    text-decoration: underline;
}

@media (min-width: 860px) {
    .checkout-layout {
        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(310px, 0.75fr);
    }

    .checkout-summary {
        position: sticky;
        top: 92px;
    }
}

@media (max-width: 700px) {
    .checkout-page {
        padding-inline: 11px;
    }

    .checkout-heading h1 {
        font-size: 31px;
    }

    .checkout-layout {
        gap: 16px;
    }

    .checkout-summary {
        order: -1;
    }

    .checkout-form,
    .checkout-summary {
        padding: 15px;
    }

    .checkout-product {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .checkout-product img,
    .checkout-product-placeholder {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
    }

    .checkout-trust {
        grid-template-columns: 1fr;
    }

    .checkout-trust div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 13px;
        text-align: left;
    }

    .checkout-trust span {
        margin-top: 0;
    }
}
@media (max-width: 700px) {
    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .checkout-page {
        padding-bottom: 80px;
    }
}
/* =========================================================
   ADMIN DASHBOARD
   ========================================================= */

.admin-body {
    background: #f4f6f8;
}

.admin-header .topbar {
    min-height: 76px;
}

.admin-header .brand {
    display: block;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-logout {
    background: #b42318;
}

.admin-dashboard {
    padding-top: 22px;
    padding-bottom: 50px;
}

.admin-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.admin-welcome h1 {
    margin: 12px 0 8px;
    font-size: clamp(30px, 5vw, 44px);
}

.admin-quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.admin-stat-card {
    display: block;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

a.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.admin-stat-card strong {
    display: block;
    margin: 8px 0 4px;
    overflow-wrap: anywhere;
    font-size: clamp(25px, 4vw, 34px);
}

.admin-stat-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-stat-card small {
    color: var(--muted);
}

.admin-panel-section {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.admin-order-link,
.admin-edit-link,
.admin-view-link {
    font-weight: 800;
    text-decoration: underline;
}

.admin-view-link {
    color: #175cd3;
}

.admin-product-category {
    display: block;
    margin-top: 4px;
}

.admin-no-image {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf0f3;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.admin-table-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.admin-table-actions form {
    margin: 0;
}

.admin-delete-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #b42318;
    font-weight: 800;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.status-new {
    background: #fff4e5;
    color: #b54708;
}

.status-confirmed {
    background: #eff8ff;
    color: #175cd3;
}

.status-shipped {
    background: #f4f3ff;
    color: #6938ef;
}

.status-delivered,
.status-active {
    background: #ecfdf3;
    color: #027a48;
}

.status-cancelled,
.status-inactive {
    background: #fef3f2;
    color: #b42318;
}

.stock-low {
    color: #b42318;
    font-weight: 900;
}

.stock-ok {
    color: #027a48;
    font-weight: 900;
}

@media (max-width: 900px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-quick-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .admin-header .topbar {
        align-items: stretch;
    }

    .admin-header-actions {
        width: 100%;
    }

    .admin-header-actions .pill {
        flex: 1;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel-section {
        padding: 15px;
    }

    .admin-quick-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-quick-actions .btn {
        width: 100%;
    }
}
/* Force Admin Dashboard Cards */

.admin-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 22px 0 !important;
}

.admin-stat-card {
    display: block !important;
    padding: 20px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07) !important;
}

.admin-stat-card strong {
    display: block !important;
    margin: 8px 0 4px !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
}

.admin-stat-label {
    display: block !important;
    color: #667085 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.admin-stat-card small {
    display: block !important;
    color: #667085 !important;
    font-size: 12px !important;
}

@media (max-width: 900px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .admin-stats-grid {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================================
   FINAL ADMIN DASHBOARD OVERRIDES
   ========================================================= */

.admin-dashboard {
    width: min(100%, 1120px);
    margin-inline: auto;
    padding: 24px 20px 50px;
}

.admin-welcome {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 24px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.admin-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 22px 0 !important;
}

.admin-stat-card {
    display: block !important;
    min-width: 0 !important;
    padding: 20px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07) !important;
    text-decoration: none !important;
}

.admin-stat-label {
    display: block !important;
    color: #667085 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.admin-stat-card strong {
    display: block !important;
    margin: 8px 0 4px !important;
    color: #171717 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
}

.admin-stat-card small {
    display: block !important;
    color: #667085 !important;
    font-size: 12px !important;
}

.admin-panel-section {
    display: block !important;
    margin-top: 22px !important;
    padding: 22px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.admin-quick-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

.admin-table-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

.status-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 9px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.status-new {
    background: #fff4e5 !important;
    color: #b54708 !important;
}

.status-active,
.status-delivered {
    background: #ecfdf3 !important;
    color: #027a48 !important;
}

.status-inactive,
.status-cancelled {
    background: #fef3f2 !important;
    color: #b42318 !important;
}

@media (max-width: 900px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .admin-welcome {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

@media (max-width: 600px) {
    .admin-dashboard {
        padding-inline: 12px !important;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-panel-section,
    .admin-welcome {
        padding: 15px !important;
    }

    .admin-quick-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .admin-quick-actions .btn {
        width: 100% !important;
    }
}

/* =========================================================
   PREMIUM HOME PAGE
   ========================================================= */

.home-page {
    padding-top: 22px;
}

.home-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(280px, 0.6fr);
    gap: 18px;
    margin-bottom: 24px;
}

.home-hero-content,
.home-hero-card {
    border-radius: 22px;
}

.home-hero-content {
    padding: clamp(28px, 5vw, 58px);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.95),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #fff0f4,
            #fffafc 48%,
            #ffffff
        );
}

.home-hero-content h1 {
    max-width: 760px;
    margin: 16px 0;
    font-size: clamp(38px, 7vw, 66px);
    line-height: 1.04;
    letter-spacing: -2px;
}

.home-hero-content > p {
    max-width: 680px;
    color: #5f6673;
    font-size: 17px;
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.home-secondary-button,
.home-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    font-weight: 800;
}

.home-secondary-button {
    padding: 11px 16px;
}

.home-hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.home-hero-trust div {
    padding: 13px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
}

.home-hero-trust strong,
.home-hero-trust span {
    display: block;
}

.home-hero-trust span {
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
}

.home-hero-card {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 28px;
    background: #111111;
    color: #ffffff;
}

.home-hero-card-label,
.home-section-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.home-hero-card-label {
    color: #f8b4c4;
}

.home-section-label {
    color: #667085;
}

.home-hero-card h2 {
    margin: 8px 0 12px;
    font-size: 28px;
    line-height: 1.2;
}

.home-hero-card p,
.home-hero-card li {
    color: rgba(255, 255, 255, 0.76);
}

.home-hero-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.home-category-section,
.home-products-section {
    margin-top: 30px;
}

.home-clear-filter,
.home-filter-summary a {
    color: #175cd3;
    font-weight: 800;
    text-decoration: underline;
}

.chips .chip-active {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.home-products-heading {
    margin-bottom: 16px;
}

.home-product-search {
    min-width: min(100%, 340px);
}

.home-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    font-size: 13px;
}

.home-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #e9eaec;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.home-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.home-product-image-wrap {
    position: relative;
}

.home-product-card img,
.home-product-card .placeholder {
    height: 230px;
}

.home-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 7px 9px;
    border-radius: 999px;
    background: #b42318;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
}

.home-product-card .p {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.home-product-meta,
.home-product-price-row,
.home-product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-stock-status {
    color: #027a48;
    font-size: 10px;
    font-weight: 850;
}

.home-stock-status.out {
    color: #b42318;
}

.home-product-card h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.35;
}

.home-product-description {
    margin: 0 0 14px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.home-product-price-row {
    margin-top: auto;
}

.home-stock-count {
    color: #667085;
    font-size: 11px;
}

.home-product-actions {
    margin-top: 15px;
}

.home-product-actions > * {
    flex: 1;
}

.home-view-button {
    min-height: 41px;
    padding: 9px 10px;
    font-size: 12px;
}

.home-product-actions .btn {
    min-height: 41px;
    padding: 10px;
    text-align: center;
}

.home-empty-products {
    grid-column: 1 / -1;
    padding: 36px 22px;
    border: 1px dashed #d0d5dd;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.home-benefits-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.home-benefit-card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: #ffffff;
}

.home-benefit-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.home-benefit-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.home-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-content-grid .content-box {
    margin: 0;
}

@media (max-width: 900px) {

    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-benefits-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .home-page {
        padding-top: 12px;
    }

    .home-hero-content {
        padding: 28px 20px;
    }

    .home-hero-content h1 {
        font-size: 42px;
        letter-spacing: -1.3px;
    }

    .home-hero-trust {
        grid-template-columns: 1fr;
    }

    .home-hero-card {
        padding: 24px 20px;
    }

    .home-products-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .home-product-search {
        min-width: 0;
        width: 100%;
    }

    .home-benefits-section,
    .home-content-grid {
        grid-template-columns: 1fr;
    }

    .home-product-card img,
    .home-product-card .placeholder {
        height: 190px;
    }

}

@media (max-width: 430px) {

    .home-hero-content h1 {
        font-size: 36px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero-actions > * {
        width: 100%;
    }

    .home-product-actions {
        flex-direction: column;
    }

    .home-product-actions > * {
        width: 100%;
    }

}
/* CHECKOUT PAYMENT SECTION FIX */

.checkout-card {
    display: block;
}

.checkout-card label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 700;
}

.checkout-cod-option {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #abefc6;
    border-radius: 13px;
    background: #ecfdf3;
}

.checkout-cod-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #027a48;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.checkout-cod-option strong,
.checkout-cod-option span {
    display: block;
}

.checkout-cod-option > div:nth-child(2) span {
    margin-top: 4px;
    color: #475467;
    font-size: 12px;
}

.checkout-selected {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    color: #027a48;
    font-size: 10px;
    font-weight: 800;
}

.checkout-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px !important;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-weight: 400 !important;
}

.checkout-consent input {
    width: auto;
    min-height: auto;
    margin-top: 3px;
    flex: 0 0 auto;
}

.checkout-consent span {
    line-height: 1.55;
    font-size: 13px;
}

.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

@media (max-width: 430px) {
    .checkout-cod-option {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .checkout-selected {
        grid-column: 1 / -1;
        text-align: center;
    }
}
/* =========================================================
   SHOPORA BLOG FRONTEND
   Add this at the end of assets/style.css
   ========================================================= */

.blog-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);
    gap: 24px;
    align-items: end;
    margin: 38px 0 24px;
    padding: 34px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            #fff1f4 0%,
            #ffffff 65%
        );
}

.blog-hero h1 {
    max-width: 760px;
    margin: 14px 0 12px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.blog-hero p {
    max-width: 720px;
    margin-bottom: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.blog-search-form {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.92);
}

.blog-search-form label {
    margin-top: 0;
}

.blog-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.blog-clear-search {
    display: inline-block;
    margin-top: 10px;
    color: #175cd3;
    font-size: 12px;
    font-weight: 800;
}

.blog-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 0 16px;
}

.blog-results-heading h2 {
    margin: 5px 0 0;
}

.blog-list-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.blog-card-image {
    height: 240px;
    display: block;
    overflow: hidden;
    background: #f4f6f8;
}

.blog-card-image img,
.blog-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image-placeholder {
    display: grid;
    place-items: center;
    padding: 20px;
    color: #667085;
    font-weight: 850;
    text-align: center;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.blog-card h2 {
    margin: 12px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.blog-card h2 a {
    color: #171717;
}

.blog-card-content > p {
    color: #667085;
    line-height: 1.65;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 11px;
}

.blog-card-footer span {
    color: #667085;
}

.blog-card-footer a {
    color: #175cd3;
    font-weight: 850;
}

.blog-empty-state {
    margin: 36px 0;
    text-align: center;
}

/* Single blog */

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 18px;
    color: #667085;
    font-size: 12px;
}

.blog-breadcrumb a {
    color: #344054;
    font-weight: 800;
}

.blog-post-layout {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.blog-post-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 54px 34px 35px;
    text-align: center;
}

.blog-post-header h1 {
    margin: 16px 0;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 0.98;
    letter-spacing: -2.5px;
}

.blog-post-lead {
    max-width: 760px;
    margin: 0 auto;
    color: #667085;
    font-size: 18px;
    line-height: 1.65;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
}

.blog-post-featured-image {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
}

.blog-post-featured-image img {
    width: 100%;
    max-height: 680px;
    border-radius: 18px;
    object-fit: cover;
}

.blog-post-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 42px 30px;
    color: #344054;
    font-size: 17px;
    line-height: 1.82;
}

.blog-post-content h2 {
    margin: 42px 0 14px;
    color: #171717;
    font-size: 31px;
    line-height: 1.18;
}

.blog-post-content h3 {
    margin: 30px 0 12px;
    color: #171717;
    font-size: 23px;
}

.blog-post-content p {
    margin: 0 0 19px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.blog-post-content li {
    margin: 8px 0;
}

.blog-post-content blockquote {
    margin: 28px 0;
    padding: 18px 20px;
    border-left: 4px solid #111111;
    background: #f8fafc;
    color: #475467;
}

.blog-post-content a {
    color: #175cd3;
    text-decoration: underline;
}

.blog-post-content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.blog-post-content th,
.blog-post-content td {
    padding: 12px;
    border: 1px solid #d0d5dd;
    text-align: left;
}

.blog-post-content th {
    background: #f8fafc;
}

.blog-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 26px 34px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.blog-post-footer p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 12px;
}

.related-blog-section {
    margin: 38px 0;
}

.related-blog-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-blog-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}

.related-blog-image {
    height: 180px;
    display: block;
    overflow: hidden;
}

.related-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-blog-card > div {
    padding: 17px;
}

.related-blog-card h3 {
    margin: 0 0 9px;
    font-size: 18px;
}

.related-blog-card h3 a {
    color: #171717;
}

.related-blog-card p {
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.related-blog-card > div > a {
    color: #175cd3;
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 950px) {
    .blog-hero {
        grid-template-columns: 1fr;
    }

    .blog-list-grid,
    .related-blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .blog-hero {
        margin-top: 18px;
        padding: 22px;
    }

    .blog-search-row,
    .blog-list-grid,
    .related-blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        height: 260px;
    }

    .blog-results-heading,
    .blog-post-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-post-header {
        padding: 36px 20px 26px;
    }

    .blog-post-featured-image {
        padding: 0 14px;
    }

    .blog-post-content {
        padding: 30px 20px;
        font-size: 16px;
    }

    .blog-post-footer {
        padding: 22px;
    }

    .blog-post-footer .btn {
        width: 100%;
    }
}
/* =========================================================
   FOOTER SOCIAL LINKS
   Add this at the end of assets/style.css
   ========================================================= */

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font-size: 11px;
    font-weight: 800;
}

.footer-social-links a:hover {
    border-color: #111111;
    color: #111111;
}