/* ============================================================================
   modern-v5.css — v0.1.73 (additive) · REFERENCE REPLICA LAYER for the public
   website, built from the user's SABJISTORE Fresh Farm Grocery homepage
   reference image. Adds what the reference shows that the site was missing and
   re-skins existing blocks toward the reference — without touching a single
   menu item, section, handler or line of existing code:

     1. md73- PRODUCTS SHOWCASE (new, reference block: "Fresh Vegetables for
        You" — six priced cards with Fresh badge, heart, Add to Cart)
     2. md73- CATEGORY CARDS (new circular photo cards appended to the
        EXISTING category grid — Leafy Greens, Tomatoes, Potatoes, Onions,
        Carrots, Cauliflower, Other Veggies) + "View All Categories" link
     3. md73- HERO ACCENTS (script "Farm Fresh" line + "Healthy food. Happy
        life." tagline, added INSIDE the existing hero copy column)
     4. USP PILL BAR (the reference's rounded white 4-item strip — pure CSS
        re-skin of the existing md70-features container and children)
     5. WHY-CHOOSE CIRCULAR BADGES (existing trust badges re-skinned as the
        reference's circular green icon bubbles + additive "Best Prices
        Always" badge + decorative "100% trusted" round badge)
     6. TESTIMONIAL / BLOG polish (avatar bubbles, card lift)
     7. responsive + motion safety

   Palette stays 100% inside the green family (package-asserted: no amber or
   yellow hex anywhere). Load order: AFTER modern-v4.css on every public page.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. PRODUCTS SHOWCASE — reference block "Our Featured Picks / Fresh
      Vegetables for You" (new md73- markup, inserted after the category
      section on the homepage; Add to Cart links to the real shop)
   --------------------------------------------------------------------------- */
.md73-products {
    max-width: var(--md72-max, 1600px);
    margin: 26px auto 0;
    padding: 64px 28px 34px;
    background: #ffffff;
    position: relative;
}
.md73-products-head {
    position: relative;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}
.md73-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--md72-mist, #f0fdf4);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: var(--md72-deep, #14532d);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.md73-eyebrow i { color: var(--md72-green, #22c55e); }
.md73-products-head h2 {
    margin: 14px 0 6px;
    font-size: 34px;
    font-weight: 800;
    color: var(--md72-ink, #052e16);
    letter-spacing: -0.02em;
}
.md73-products-head .md73-sub {
    margin: 0;
    font-size: 15px;
    color: rgba(5, 46, 22, 0.6);
}
.md73-viewall {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: var(--md72-deep, #14532d);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease, gap 0.18s ease;
}
.md73-viewall i { font-size: 12px; color: var(--md72-green, #22c55e); }
.md73-viewall:hover { color: var(--md72-green, #22c55e); gap: 11px; }
.md73-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.md73-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(20, 83, 45, 0.10);
    border-radius: 18px;
    padding: 12px 12px 14px;
    box-shadow: 0 8px 22px rgba(20, 83, 45, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.md73-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 83, 45, 0.16);
    border-color: rgba(34, 197, 94, 0.4);
}
.md73-card-media {
    position: relative;
    margin: 0 0 12px;
    border-radius: 13px;
    overflow: hidden;
    background: #f7fbf5;
}
.md73-card-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.md73-card:hover .md73-card-media img { transform: scale(1.06); }
.md73-fresh {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--md72-green, #22c55e), var(--md72-leaf, #15803d));
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(20, 83, 45, 0.3);
}
.md73-heart {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(20, 83, 45, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(5, 46, 22, 0.45);
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.md73-card:hover .md73-heart {
    color: var(--md72-green, #22c55e);
    transform: scale(1.08);
    border-color: rgba(34, 197, 94, 0.4);
}
.md73-name {
    margin: 0 0 2px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--md72-ink, #052e16);
}
.md73-qty {
    margin: 0 0 8px;
    font-size: 12.5px;
    color: rgba(5, 46, 22, 0.55);
}
.md73-price {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 800;
    color: var(--md72-ink, #052e16);
    margin-top: auto;
}
.md73-price small {
    font-size: 12px;
    font-weight: 600;
    color: rgba(5, 46, 22, 0.55);
}
.md73-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--md72-green, #22c55e), var(--md72-leaf, #15803d));
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.md73-add:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.4);
}

/* ---------------------------------------------------------------------------
   2. CATEGORY CARDS + VIEW-ALL — polish for the EXISTING circular grid plus
      styling for the six additive photo cards appended to it
   --------------------------------------------------------------------------- */
.category-container {
    position: relative;
}
.category-container .md73-viewall {
    top: 4px;
    transform: none;
}
.cat-circle {
    box-shadow: 0 6px 16px rgba(20, 83, 45, 0.08);
    border: 2px solid rgba(34, 197, 94, 0.16);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.cat-item:hover .cat-circle {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 12px 26px rgba(20, 83, 45, 0.18);
}
.cat-item:hover .cat-circle img { transform: scale(1.08); }
.cat-item h3 { color: var(--md72-ink, #052e16); }

/* ---------------------------------------------------------------------------
   3. HERO ACCENTS — the reference's script line + tagline (additive spans
      inside the existing hero copy; existing eyebrow/headline/sub/CTAs/stats
      all keep their place and styling)
   --------------------------------------------------------------------------- */
.md73-script {
    display: block;
    font-family: 'Brush Script MT', 'Segoe Script', 'Lucida Handwriting', cursive;
    font-size: 36px;
    line-height: 1;
    color: var(--md71-pale, #d9f99d);
    text-shadow: 0 2px 10px rgba(5, 46, 22, 0.35);
    margin: 0 0 4px;
}
.md73-tagline {
    display: block;
    margin: 12px 0 0;
    font-size: 19px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    letter-spacing: 0.2px;
}
.md73-tagline i {
    color: var(--md72-mint, #4ade80);
    margin-right: 8px;
}

/* ---------------------------------------------------------------------------
   4. USP PILL BAR — the reference's rounded white strip. Pure CSS re-skin of
      the EXISTING md70-features container + md70-feature children (content,
      order and markup untouched).
   --------------------------------------------------------------------------- */
.md70-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #ffffff;
    border: 1px solid rgba(20, 83, 45, 0.10);
    border-radius: 999px;
    padding: 18px 26px;
    box-shadow: 0 16px 40px rgba(20, 83, 45, 0.12);
}
.md70-feature {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 4px 22px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.md70-feature + .md70-feature {
    border-left: 1px solid rgba(20, 83, 45, 0.12) !important;
}
.md70-feature > i {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 17px;
    color: var(--md72-deep, #14532d);
    background: var(--md72-mist, #f0fdf4);
    border: 1px solid rgba(34, 197, 94, 0.35);
    transition: background-color 0.22s ease, transform 0.22s ease;
}
.md70-feature:hover > i {
    background: rgba(34, 197, 94, 0.16);
    transform: scale(1.06);
}
.md70-feature h3 {
    margin: 0 0 2px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--md72-ink, #052e16);
}
.md70-feature p {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(5, 46, 22, 0.6);
}

/* ---------------------------------------------------------------------------
   5. WHY-CHOOSE CIRCULAR BADGES — the existing trust badges re-skinned as the
      reference's circular icon bubbles; additive fifth badge + round
      "100% trusted" badge styled here
   --------------------------------------------------------------------------- */
.trust-badge-container { position: relative; }
.trust-badge {
    background: transparent !important;
    width: auto !important;
    padding: 10px 18px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.trust-badge i {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--md72-mist, #f0fdf4);
    border: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 6px 16px rgba(20, 83, 45, 0.10);
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}
.trust-badge:hover i {
    transform: translateY(-4px) scale(1.05);
    background: rgba(34, 197, 94, 0.16);
    box-shadow: 0 12px 24px rgba(20, 83, 45, 0.18);
}
.trust-badge p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--md72-ink, #052e16);
}
.md73-trusted {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--md72-green, #22c55e), var(--md72-deep, #14532d));
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 12px 28px rgba(20, 83, 45, 0.35);
    transform: rotate(6deg);
    transition: transform 0.25s ease;
}
.md73-trusted:hover { transform: rotate(0deg) scale(1.05); }
.md73-trusted i { font-size: 18px; margin-bottom: 4px; }

/* ---------------------------------------------------------------------------
   6. TESTIMONIAL + BLOG POLISH — avatar bubbles and card lift toward the
      reference's review cards
   --------------------------------------------------------------------------- */
.review-card {
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(20, 83, 45, 0.10);
    box-shadow: 0 10px 26px rgba(20, 83, 45, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(20, 83, 45, 0.14);
    border-color: rgba(34, 197, 94, 0.35);
}
.user-initials {
    background: linear-gradient(135deg, var(--md72-green, #22c55e), var(--md72-deep, #14532d)) !important;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(20, 83, 45, 0.25);
}
.md71-post {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.md71-post:hover { transform: translateY(-5px); }

/* ---------------------------------------------------------------------------
   7. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1280px) {
    .md73-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .md70-features {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 26px;
        row-gap: 14px;
        padding: 18px 20px;
    }
    .md70-feature + .md70-feature { border-left: none !important; }
    .md73-products-head h2 { font-size: 29px; }
}
@media (max-width: 768px) {
    .md73-products { padding: 44px 18px 20px; }
    .md73-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
    .md73-products-head h2 { font-size: 24px; }
    .md73-viewall {
        position: static;
        transform: none;
        display: inline-flex;
        margin-top: 10px;
    }
    .category-container .md73-viewall { position: static; margin-top: 12px; }
    .md73-script { font-size: 30px; }
    .md73-tagline { font-size: 16.5px; }
    .md70-features {
        grid-template-columns: 1fr;
        border-radius: 22px;
        padding: 14px 16px;
    }
    .md70-feature { padding: 8px 4px; }
    .md70-feature + .md70-feature {
        border-left: none !important;
        border-top: 1px solid rgba(20, 83, 45, 0.10) !important;
        padding-top: 12px;
    }
    .md70-feature h3 { font-size: 14px; }
    .md70-feature p { font-size: 11.5px; }
    .trust-badge i { width: 56px; height: 56px; }
    .md73-trusted { width: 78px; height: 78px; font-size: 11px; }
}

/* ---------------------------------------------------------------------------
   8. MOTION SAFETY
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .md73-card,
    .md73-card-media img,
    .md73-add,
    .md73-heart,
    .md73-viewall,
    .cat-circle,
    .cat-circle img,
    .md70-feature > i,
    .trust-badge i,
    .md73-trusted,
    .review-card,
    .user-initials,
    .md71-blog-card {
        transition: none !important;
    }
    .md73-card:hover .md73-card-media img,
    .cat-item:hover .cat-circle img { transform: none; }
}
