﻿:root {
    --bg: #ffffff;
    --text: #0f172a;
    --muted: #6b7280;
    --line: #eaeef3;
    --green: #16a34a;
    --green-600: #15803d;
    --card: #ffffff;
    --shadow: 0 14px 45px rgba(2, 6, 23, .10);
    --shadow2: 0 8px 25px rgba(2, 6, 23, .08);
    --radius: 18px;
    --radius2: 16px;
    --max: 1280px;
    --footer-bg: linear-gradient(180deg, #0f2e1d, #0b2618);
    --footer-text: rgba(255,255,255,.86);
    --footer-border: rgba(255,255,255,.06);
    --footer-muted: rgba(255,255,255,.72);
    --footer-muted-2: rgba(255,255,255,.52);
    --footer-heading: rgba(255,255,255,.92);
    --footer-chip-bg: rgba(255,255,255,.06);
    --footer-chip-border: rgba(255,255,255,.08);
    --footer-accent: #22c55e;
    --footer-accent-strong: #16a34a;
    --footer-shadow: 0 14px 30px rgba(34,197,94,.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(800px 400px at 20% -10%, rgba(22,163,74,.10), transparent 60%), radial-gradient(900px 450px at 90% 0%, rgba(59,130,246,.08), transparent 55%), var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max), calc(100% - 10px));
    margin: 0 auto;
}

/* ===== Header ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 120px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 10px 25px rgba(22,163,74,.25);
    user-select: none;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: auto;
    scrollbar-width: none;
}

    nav::-webkit-scrollbar {
        display: none;
    }

.navlinks {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(15,23,42,.03);
    border: 1px solid rgba(2,6,23,.06);
}

    .navlinks a {
        padding: 9px 14px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
        color: rgba(15,23,42,.72);
        white-space: nowrap;
        transition: .2s ease;
    }

        .navlinks a:hover {
            background: rgba(15,23,42,.06);
        }

        .navlinks a.active {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: #fff;
            box-shadow: 0 10px 25px rgba(22,163,74,.22);
        }

            .navlinks a.active i {
                margin-right: 7px;
            }

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    justify-content: flex-end;
}

.iconbtn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(15,23,42,.04);
    border: 1px solid rgba(2,6,23,.06);
    cursor: pointer;
    transition: .2s ease;
    position: relative;
}

    .iconbtn:hover {
        transform: translateY(-1px);
        background: rgba(15,23,42,.06);
    }

.badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background: var(--green);
    color: white;
    font-size: 11px;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid !important;
    place-items: center;
    border: 3px solid rgba(255,255,255,.95);
}

/* ===== Banner (NO TEXT / NO BUTTON) ===== */


.hero {
    padding: 22px 0 18px;
}

.banner {
    border-radius: 22px;
    box-shadow: var(--shadow);
    /*border: 1px solid rgba(2,6,23,.06);*/
    overflow: hidden;
    height: 460px;
    position: relative;
    /*background: radial-gradient(800px 500px at 15% 20%, rgba(34,197,94,.22), transparent 60%), radial-gradient(900px 600px at 85% 15%, rgba(59,130,246,.14), transparent 55%), linear-gradient(135deg, #0b1220 0%, #0c1a2f 35%, #0a1220 100%);*/
}

.banner__slides {
    position: absolute;
    inset: 0;
}

/* two slides stacked */
.banner__slide {
    position: absolute;
    inset: 0;
    background-size: cover; /* ✅ "fit" without stretch */
    background-position: center; /* ✅ keep centered */
    background-repeat: no-repeat;
    opacity: 0;
    animation: bannerFade 8s ease-in-out infinite;
    will-change: opacity;
}

    /* 2 images => 8s total => each gets 4s window */
    .banner__slide:nth-child(1) {
        animation-delay: 0s;
    }

    .banner__slide:nth-child(2) {
        animation-delay: 4s;
    }

/* Fade in → hold → fade out */
@keyframes bannerFade {
    0% {
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    62% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* overlays */
.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, rgba(2,6,23,.10), rgba(2,6,23,.30));
    opacity: .95;*/
    pointer-events: none;
    z-index: 2;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: radial-gradient(700px 350px at 20% 20%, rgba(34,197,94,.28), transparent 55%), radial-gradient(700px 350px at 80% 40%, rgba(59,130,246,.18), transparent 55%);
    mix-blend-mode: screen;*/
    pointer-events: none;
    z-index: 3;
}

/* slides under overlays */
.banner__slides, .banner__slide {
    z-index: 1;
}

/* optional pause */
/*.banner:hover .banner__slide {
    animation-play-state: paused;
}*/

/* accessibility */
@media (prefers-reduced-motion: reduce) {
    .banner__slide {
        animation: none;
        opacity: 1;
    }

        .banner__slide:nth-child(2) {
            display: none;
        }
}
/*
@media (max-width: 640px) {
    .banner {
        height: calc(100vw * 9 / 16);
        min-height: 184px;
        max-height: 340px;
    }

    .banner__slide {
        background-size: contain;
        background-position: center;
        background-color: #0a1220;
    }
}*/

/* ===== Filters ===== */
.filters {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0 8px;
}

    .filters .label {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(15,23,42,.72);
        font-weight: 700;
        font-size: 14px;
    }

.select {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(2,6,23,.08);
    box-shadow: 0 6px 18px rgba(2,6,23,.05);
    min-width: 170px;
}

    .select select {
        border: 0;
        outline: 0;
        width: 100%;
        font-weight: 600;
        background: transparent;
        color: rgba(15,23,42,.82);
        appearance: none;
    }

    .select i {
        color: rgba(15,23,42,.45);
    }

/* ===== Products Grid ===== */
.products {
    padding: 18px 0 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: stretch;
}

.card {
    background: var(--card);
    border: 1px solid rgba(2,6,23,.07);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(2,6,23,.06);
    display: flex;
    flex-direction: column;
    /*min-height: 340px;*/
}

.card-top {
    position: relative;
    height: 180px;
    background: linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.03));
}

.rating {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(2,6,23,.06);
    font-weight: 800;
    font-size: 12px;
    color: rgba(15,23,42,.85);
    box-shadow: 0 8px 20px rgba(2,6,23,.08);
}

    .rating i {
        color: #f59e0b;
    }

.tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(34,197,94,.14);
    border: 1px solid rgba(34,197,94,.20);
    color: var(--green-600);
    font-weight: 800;
    font-size: 12px;
}

.card-body {
    padding:0px 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.price {
    color: rgba(15,23,42,.62);
    font-weight: 600;
    font-size: 12.5px;
}

.card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.variant {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(2,6,23,.10);
    background: #fff;
    box-shadow: 0 6px 18px rgba(2,6,23,.05);
}

    .variant select {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        font-weight: 700;
        font-size: 12.5px;
        color: rgba(15,23,42,.86);
        appearance: none;
    }

    .variant i {
        color: rgba(15,23,42,.40);
    }
/*--------------    adjustment form small device*/
.variant {
    position: relative;
}

    .variant select {
        position: relative;
        z-index: 2;
    }
    /* select is above */
    .variant i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none; /* <— IMPORTANT */
        z-index: 1;
    }
    /*----------------end*/
.add {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(22,163,74,.22);
    transition: .2s ease;
}

    .add:hover {
        transform: translateY(-1px);
    }

/* ===== Footer ===== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
}

.footer-wrap {
    padding: 44px 10px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.fbrand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.flogo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-accent-strong));
    box-shadow: var(--footer-shadow);
}

.fbrand h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.02em;
}

    .fbrand h3 span {
        color: var(--footer-accent);
    }

.ftext {
    margin: 0 0 16px;
    color: rgba(255,255,255,.70);
    line-height: 1.6;
    max-width: 44ch;
    font-weight: 500;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

    .social a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        background: var(--footer-chip-bg);
        border: 1px solid var(--footer-chip-border);
        color: var(--footer-text);
        transition: .2s ease;
    }

        .social a:hover {
            transform: translateY(-1px);
            background: rgba(255,255,255,.10);
        }

.footer-col h4 {
    margin: 6px 0 14px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.01em;
    color: var(--footer-heading);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--footer-muted);
    font-weight: 600;
}

    .links a:hover {
        color: #fff;
    }

.contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--footer-muted);
    font-weight: 600;
}

    .contact .row {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .contact i {
        width: 18px;
        color: var(--footer-accent);
    }

.footline {
    margin-top: 26px;
    border-top: 1px solid var(--footer-chip-border);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--footer-muted-2);
    font-weight: 600;
    font-size: 12.5px;
}

.dev {
    color: var(--footer-muted-2);
}

    .dev b {
        color: var(--footer-accent);
        font-weight: 900;
    }


/*--------------------------- Responsive */
    .banner {
        height: 520px;
    }

    @media (max-width: 1200px) {
        .banner {
            height: 384px;
        }
    }

    @media (max-width: 980px) {
        .banner {
            height: 284px;
        }
    }

    @media (max-width: 680px) {
        .banner {
            height: 220px;
        }
    }

    @media (max-width: 580px) {
        .banner {
            height: 184px;
        }
    }
    @media (max-width: 480px) {
        .banner {
            height: 154px;
        }
    }
@media (max-width: 380px) {
    .banner {
        height: 144px;
    }
}

@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters {
        flex-wrap: wrap;
    }

    .select {
        min-width: 160px;
    }

    .banner__slide {
        /*background-size: contain;*/
        background-position: center;
        background-color: #0a1220; /* fallback to avoid white gaps */
    }
}

/*-------------------------second step*/


.filters .btn {
    padding: 6px 12px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
}

    .filters .btn.active {
        background: #16a34a;
        color: #fff;
    }

/*-----------------------Product details */


.product-details .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px
}

.pd-grid {
    /*padding: 20px;*/
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start
}

.pd-image {
    position: relative;
    background: #f8fafc;
    border-radius: calc(var(--radius) + 0px);
    overflow: hidden;
    box-shadow: var(--shadow)
}

    .pd-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

.pd-info {
    padding: 4px 0
}

    .pd-info .badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 9999px;
        background: rgba(34,197,94,.12);
        color: var(--green);
        font-weight: 800;
        margin-bottom: 10px;
        border: 1px solid rgba(22,163,74,.18)
    }

.pd-title {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.02em;
    margin: 6px 0 10px
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    margin-bottom: 10px
}

    .pd-rating b {
        font-weight: 900
    }

    .pd-rating span {
        color: var(--muted)
    }

.pd-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 12px
}

    .pd-price .val {
        font-size: 30px;
        font-weight: 900;
        color: var(--green)
    }

    .pd-price .unit {
        color: var(--muted);
        font-weight: 700
    }

.pd-desc {
    color: #334155;
    margin: 8px 0 14px;
    font-weight: 500
}

.pd-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

    .pd-form .form-row {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap
    }

    .pd-form label {
        min-width: 120px;
        color: var(--text);
        font-weight: 800
    }

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

    .qty button {
        width: 40px;
        height: 42px;
        border: 0;
        background: #f1f5f9;
        font-size: 18px;
        cursor: pointer
    }

    .qty input {
        width: 74px;
        height: 42px;
        border: 0;
        text-align: center;
        outline: none;
        font-weight: 700;
        color: var(--text);
        background: #fff
    }

.line-total {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px
}

    .line-total .label {
        color: var(--muted);
        font-weight: 800
    }

    .line-total .amount {
        color: var(--green);
        font-size: 18px;
        font-weight: 900
    }

.btn-add {
    font-size:18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    background: var(--green);
    color: #fff;
    border: 0;
    font-weight: 900;
    transition: .15s ease;
    box-shadow: 0 12px 26px rgba(22,163,74,.20)
}

    .btn-add:hover {
        background: var(--green-600)
    }

    .btn-add.added {
        filter: saturate(1.15) brightness(1.05)
    }

.product-details a {
    color: var(--green);
    font-weight: 800;
    text-decoration: none
}

    .product-details a:hover {
        text-decoration: underline
    }

.related {
    padding:20px;
}

    .related h3 {
        font-size: 18px;
        font-weight: 900;
        margin-bottom: 12px;
        color: var(--text)
    }

    .related .grid {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 18px
    }

    .related .card {
        background: var(--card);
        border: 1px solid rgba(2,6,23,.07);
        border-radius: var(--radius2);
        box-shadow: var(--shadow2);
        padding: 14px;
        display: flex;
        flex-direction: column;
        gap: 8px
    }

    .related .card-top {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .related .rating {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 800;
        color: var(--green);
        position: static;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0
    }

    .related .tag {
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(34,197,94,.14);
        border: 1px solid rgba(34,197,94,.20);
        color: var(--green-600);
        font-weight: 800;
        font-size: 12px;

            /*background: #f1f5f9;
            color: var(--text);
            padding: 4px 10px;
            border-radius: 9999px;
            font-size: 12px;
            font-weight: 700;
            border: 1px solid rgba(2,6,23,.06)*/
    }
    @media (max-width: 640px) {
        .card-image .tag {
            padding: 4px 8px;
            top: 4px !important;
            right: 4px !important;
        }
    }
    .related .title {
        font-size: 15px;
        font-weight: 900;
        color: var(--text);
        margin: 4px 0
    }

    .related .price {
        color: #334155;
        font-weight: 700
    }

@media (max-width:1200px) {
    .pd-title {
        font-size: 30px
    }
}

@media (max-width:980px) {
    .pd-grid {
        grid-template-columns: 1fr
    }

    .pd-title {
        font-size: 28px
    }

    .related .grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media (max-width:680px) {
    .pd-title {
        font-size: 24px
    }

    .line-total {
        margin-left: 0
    }

    .related .grid {
        grid-template-columns: repeat(2,1fr)
    }
}


.pd-desc {
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden
}

    .pd-desc.expanded {
        -webkit-line-clamp: unset
    }

.read-more {
    color: var(--green);
    font-weight: 800;
    cursor: pointer;
    margin-top: 4px;
    display: inline-block
}


/* =========================
   COD Modal (clean + scoped)
   ========================= */

.modal__panel.cod {
    border-radius: 18px;
    overflow: hidden;
}

.cod .cod__head {
    background: linear-gradient(90deg, rgba(22,163,74,.12), rgba(34,197,94,.06));
}

.cod .cod__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
}

    .cod .cod__title i {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: rgba(22,163,74,.12);
        color: #16a34a;
    }

.cod .cod__hint {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 12px;
}

.cod .cod__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .cod .cod__grid {
        grid-template-columns: 1fr;
    }
}

/* Inputs (scoped only inside COD modal so no duplication with other pages) */
.cod .bn-label {
    font-weight: 800;
    color: #0f172a;
}

.cod .bn-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .cod .bn-input:focus {
        outline: none;
        border-color: rgba(22,163,74,.65);
        box-shadow: 0 0 0 4px rgba(22,163,74,.12);
    }

/* Shipping radio cards */
.cod .cod__ship .radio-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}

    .cod .cod__ship .radio-item:hover {
        border-color: rgba(22,163,74,.35);
        box-shadow: 0 10px 25px rgba(2,6,23,.06);
    }

.cod .radio-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cod input[type="radio"] {
    accent-color: #16a34a;
}

/* Items list in modal */
.cod .cod-items {
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.cod .cod-items__title {
    font-weight: 900;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.cod .cod-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
}

    .cod .cod-item:last-child {
        border-bottom: 0;
    }

.cod .cod-item__thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

    .cod .cod-item__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.cod .cod-item__name {
    font-weight: 900;
}

.cod .cod-item__unit {
    font-size: 12px;
    color: #64748b;
}

.cod .cod-item__price {
    font-weight: 900;
    color: #16a34a;
    white-space: nowrap;
}

/* Summary */
.cod .cod__summary {
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff;
}

    .cod .cod__summary .srow {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 7px 0;
        border-bottom: 1px dashed #e2e8f0;
        font-weight: 700;
        color: #0f172a;
    }

        .cod .cod__summary .srow:last-child {
            border-bottom: 0;
        }

        .cod .cod__summary .srow.total {
            font-size: 18px;
            color: #16a34a;
        }

/* Footer */
.cod .cod__foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cod .cod__small {
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
}

/* No shake inside modal */
/*#codModal .shake {
    animation: none;
}*/


/*    Deatis page css*/
/* works for home + related */
.card-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: #f1f5f9;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .card-image .tag {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
    }

/* Details page help buttons */
.pd-help {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.helpbtn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 900;
    text-decoration: none;
    border: 0;
    color: #fff !important;
    background: #0b1220;
    box-shadow: 0 12px 24px rgba(2,6,23,.18);
    transition: .15s ease;
}

    .helpbtn i {
        font-size: 18px;
    }

    .helpbtn:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
    }

.helpbtn--messenger {
    background: var(--green);
}

.helpbtn--whatsapp {
    background: var(--green);
}
