/* Mconnect_NewArrivals — frontend listing page */
.na-page { max-width: 1280px; margin: 0 auto; padding: 36px 20px 72px; }

/* ---------- page header (eyebrow / title / gold rule / sub) ---------- */
.na-page-head { text-align: left; margin-bottom: 28px; }
.na-eyebrow {
    font-family: 'Mada', sans-serif;
    color: #c0392b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.na-title {
    font-family: 'Mada', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}
.na-rule {
    display: block;
    width: 68px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    margin-bottom: 14px;
}
.na-page-head .na-sub {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}
.na-page-head .na-sub strong { color: #1f2937; font-weight: 700; }

.na-page-empty {
    background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 6px;
    padding: 36px; text-align: center; color: #6b7280;
}

/* ---------- product grid ---------- */
.na-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

/* ---------- new "na2" card design (matches reference) ---------- */
.na2-card {
    display: flex; flex-direction: column;
    background: #fff;
    padding: 12px 12px 16px;
    border-radius: 6px;
    transition: box-shadow .2s ease, transform .2s ease;
    position: relative;
}
.na2-card:hover {
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

/* image area */
.na2-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #f7f7f5;
    border-radius: 4px;
    overflow: hidden;
}
.na2-media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

/* blue corner ribbon — category name */
.na2-ribbon {
    position: absolute;
    top: 12px; right: 0;
    background: #1e3a8a;
    color: #fff;
    font-family: 'Mada', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 5px 12px 5px 14px;
    max-width: 70%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
}
/* triangular folded tail on the bottom-left of the ribbon */
.na2-ribbon::after {
    content: "";
    position: absolute;
    left: -8px; bottom: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 24px 8px;
    border-color: transparent transparent #1e3a8a transparent;
}

/* product name */
.na2-name {
    display: block;
    margin: 14px 4px 6px;
    font-family: 'Mada', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    line-height: 1.35;
    min-height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.na2-name:hover { color: #1e3a8a; }

/* rating row */
.na2-rating { display: flex; align-items: center; gap: 6px; margin: 0 4px 6px; }
.na2-stars { color: #cbd2de; font-size: 14px; letter-spacing: 1px; }
.na2-reviews { color: #9ca3af; font-size: 12px; }

/* price */
.na2-price {
    margin: 0 4px 12px;
    font-family: 'Mada', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

/* primary CTA — blue outline pill */
.na2-cta {
    display: inline-block;
    align-self: flex-start;
    margin: 0 4px 14px;
    padding: 7px 18px;
    border: 1.5px solid #2563eb;
    border-radius: 4px;
    color: #2563eb;
    font-family: 'Mada', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
    background: #fff;
    transition: background .15s ease, color .15s ease;
}
.na2-cta:hover { background: #2563eb; color: #fff; }

/* icon row */
.na2-icons {
    display: flex;
    gap: 16px;
    padding: 0 4px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}
.na2-iconlink {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #6b7280;
    font-family: 'Mada', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    transition: color .15s ease;
}
.na2-iconlink .na2-ico { font-size: 16px; line-height: 1; }
.na2-iconlink:hover { color: #1e3a8a; }

/* ---------- footer Shop-All pill ---------- */
.na-page-foot { text-align: center; margin-top: 36px; }
.na-shopall {
    display: inline-block;
    padding: 12px 36px;
    border: 1.5px solid #10b981;
    border-radius: 999px;
    color: #047857;
    font-family: 'Mada', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.na-shopall:hover { background: #047857; color: #fff; border-color: #047857; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .na-page-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
    .na-page { padding: 24px 14px 48px; }
    .na-title { font-size: 30px; }
    .na-page-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .na2-cta { font-size: 12px; padding: 6px 14px; }
    .na2-icons { gap: 10px; }
}
