/* ============================================================
   TAQWA MEAT — Homepage Sections v3
   All new section styles: Hero, Deals, Popular, App Download
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   SHARED SECTION UTILITIES
   ───────────────────────────────────────────────────────────── */
:root {
    --tm-green:      #1B4332;
    --tm-green-mid:  #2D6A4F;
    --tm-green-lt:   #40916C;
    --tm-green-pale: #D8F3DC;
    --tm-gold:       #D4AF37;
    --tm-gold-lt:    #F8E27A;
    --tm-gold-dk:    #A87B2F;
    --tm-cream:      #FAFAF5;
    --tm-cream-mid:  #F2EDE4;
    --tm-red:        #C8102E;
    --tm-charcoal:   #1a1a1a;
    --tm-gray:       #888888;
    --tm-border:     #e5e0d6;
    --tm-shadow-sm:  0 2px 12px rgba(27,67,50,0.08);
    --tm-shadow-md:  0 6px 24px rgba(27,67,50,0.12);
    --tm-shadow-lg:  0 16px 48px rgba(27,67,50,0.18);
    --tm-ease:       0.32s cubic-bezier(0.4,0,0.2,1);
    --tm-radius:     16px;
    --tm-radius-sm:  8px;
    --tm-radius-pill:50px;
}

/* Common section spacing */
.tm-hero, .tm-deals, .tm-popular, .tm-app,
.section-categories, .mm-products-section,
.section-testimonials, .section-newsletter,
section[id^="section-"] {
    position: relative;
    overflow: hidden;
}

/* Section header shared layout */
.tm-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tm-section-head__left { flex: 1; min-width: 240px; }
.tm-section-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 900;
    color: var(--tm-charcoal);
    line-height: 1.15;
    margin: 6px 0 10px;
}
.tm-section-title .tm-accent { color: var(--tm-green); }
.tm-section-desc {
    font-size: 15px;
    color: var(--tm-gray);
    max-width: 480px;
    line-height: 1.6;
}

/* Shared tag/pill labels */
.tm-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px;
    border-radius: var(--tm-radius-pill);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
}
.tm-tag--green  { background: var(--tm-green-pale); color: var(--tm-green); }
.tm-tag--gold   { background: #fdf6dc; color: var(--tm-gold-dk); }
.tm-tag--red    { background: #fde8ec; color: var(--tm-red); }
.tm-tag--fire   { background: #fff3e0; color: #e65100; }

/* Shared buttons */
.tm-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    border-radius: var(--tm-radius-sm);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 14px; font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    cursor: pointer; border: 2px solid transparent;
    transition: all var(--tm-ease);
    white-space: nowrap;
}
.tm-btn--gold {
    background: var(--tm-gold); color: var(--tm-green);
    border-color: var(--tm-gold);
    box-shadow: 0 4px 16px rgba(212,175,55,0.35);
}
.tm-btn--gold:hover {
    background: var(--tm-gold-lt); border-color: var(--tm-gold-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.4);
}
.tm-btn--green { background: var(--tm-green); color: #fff; border-color: var(--tm-green); }
.tm-btn--green:hover { background: var(--tm-green-mid); transform: translateY(-2px); }
.tm-btn--outline-green {
    background: transparent; color: var(--tm-green);
    border-color: var(--tm-green);
}
.tm-btn--outline-green:hover { background: var(--tm-green); color: #fff; transform: translateY(-1px); }
.tm-btn--outline-dark {
    background: transparent; color: var(--tm-charcoal);
    border-color: rgba(26,26,26,0.3);
}
.tm-btn--outline-dark:hover {
    border-color: var(--tm-green); color: var(--tm-green);
    background: rgba(27,67,50,0.05);
}
.tm-btn--white { background: #fff; color: var(--tm-green); border-color: #fff; }
.tm-btn--white:hover { background: var(--tm-cream); transform: translateY(-1px); }
.tm-btn--sm { padding: 9px 18px; font-size: 13px; }


/* ─────────────────────────────────────────────────────────────
   01 · HERO SECTION
   ───────────────────────────────────────────────────────────── */
.tm-hero {
    background: var(--tm-cream);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Background dot pattern */
.tm-hero__pattern {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    opacity: 0.7;
}

/* Decorative blobs */
.tm-hero__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.tm-hero__blob--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(27,67,50,0.07) 0%, transparent 70%);
    top: -100px; right: -80px;
}
.tm-hero__blob--2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, transparent 70%);
    bottom: 60px; left: 10%;
}

/* Main container */
.tm-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative; z-index: 1;
    min-height: 100vh;
}

/* ── Left: text content ── */
.tm-hero__content { display: flex; flex-direction: column; gap: 0; }

/* Brand identity row */
.tm-hero__brand {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 28px;
}
.tm-hero__brand-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--tm-green);
    overflow: hidden;
}
.tm-hero__brand-icon img, .tm-hero__brand-icon svg { width: 44px; height: 44px; }
/* Hide WP custom logo img inside the icon wrapper */
.tm-hero__brand-icon .custom-logo-link { display: flex; align-items: center; justify-content: center; }
.tm-hero__brand-icon .custom-logo-link img { width: 44px; height: 44px; object-fit: contain; }

.tm-hero__brand-text { display: flex; flex-direction: column; }
.tm-hero__brand-name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 18px; font-weight: 900;
    color: var(--tm-green);
    letter-spacing: 2px;
    line-height: 1;
}
.tm-hero__brand-line {
    font-size: 11px; color: var(--tm-gold-dk);
    font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Eyebrow */
.tm-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius-pill);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--tm-green);
    margin-bottom: 24px;
    width: fit-content;
    box-shadow: var(--tm-shadow-sm);
}
.tm-hero__eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--tm-green);
    animation: hero-dot-pulse 2s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

/* Headline */
.tm-hero__title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1px;
    color: var(--tm-charcoal);
    margin-bottom: 20px;
    display: flex; flex-direction: column;
}
.tm-hero__title-line { color: var(--tm-charcoal); }
.tm-hero__title-accent {
    color: var(--tm-green);
    position: relative;
    display: inline-block;
}
/* Decorative underline on "Fresh Meat" */
.tm-hero__title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--tm-gold) 0%, var(--tm-gold-lt) 100%);
    border-radius: 3px;
    z-index: -1;
    opacity: 0.5;
}

/* Description */
.tm-hero__desc {
    font-size: 16px;
    color: var(--tm-gray);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 24px;
}

/* Trust pills */
.tm-hero__trust {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 32px;
}
.tm-hero__trust-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: var(--tm-green-pale);
    border-radius: var(--tm-radius-pill);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 12px; font-weight: 700;
    color: var(--tm-green);
}
.tm-hero__trust-pill svg { stroke: var(--tm-green); }

/* CTA buttons */
.tm-hero__actions {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Stats */
.tm-hero__stats {
    display: flex; align-items: center; gap: 0;
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    padding: 16px 24px;
    width: fit-content;
    box-shadow: var(--tm-shadow-sm);
}
.tm-hero__stat { text-align: center; padding: 0 20px; }
.tm-hero__stat-val {
    display: block;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 26px; font-weight: 900;
    color: var(--tm-green);
    line-height: 1;
}
.tm-hero__stat-val span { font-size: 18px; color: var(--tm-gold); }
.tm-hero__stat-lbl {
    display: block;
    font-size: 11px; color: var(--tm-gray);
    margin-top: 4px; font-weight: 500;
}
.tm-hero__stat-div {
    width: 1px; height: 40px;
    background: var(--tm-border);
}

/* ── Right: visual composition ── */
.tm-hero__visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    height: 540px;
}

/* Large green circle backdrop */
.tm-hero__circle {
    position: absolute;
    width: 440px; height: 440px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tm-green) 0%, var(--tm-green-mid) 100%);
    opacity: 0.08;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Main image frame */
.tm-hero__img-main {
    position: absolute;
    width: 340px; height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(27,67,50,0.22), 0 4px 16px rgba(0,0,0,0.12);
    top: 50%; left: 50%;
    transform: translate(-55%, -50%);
    background: var(--tm-cream-mid);
    animation: hero-float 6s ease-in-out infinite;
    z-index: 3;
}
.tm-hero__img-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder */
.tm-hero__img-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f2ede4 0%, #e8ddd0 100%);
    position: relative;
}
.tm-hero__img-placeholder--main .tm-hero__meat-svg { width: 85%; height: 85%; }
.tm-hero__img-hint {
    position: absolute;
    bottom: 8px;
    font-size: 9px; color: var(--tm-gray);
    text-align: center; padding: 0 12px;
    opacity: 0.7;
}

/* Secondary smaller image */
.tm-hero__img-sec {
    position: absolute;
    width: 190px; height: 170px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(27,67,50,0.18), 0 2px 8px rgba(0,0,0,0.10);
    bottom: 40px; right: 0;
    background: #fff;
    animation: hero-float 6s ease-in-out infinite;
    animation-delay: 1.5s;
    z-index: 4;
    border: 3px solid #fff;
}
.tm-hero__img-placeholder--sec { background: linear-gradient(135deg, #fdf2dc 0%, #f5e0a0 100%); }
.tm-hero__img-placeholder--sec svg { width: 85%; height: 85%; }

/* Mini third image */
.tm-hero__img-mini {
    position: absolute;
    width: 120px; height: 110px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    top: 30px; right: 30px;
    background: #fff;
    animation: hero-float 6s ease-in-out infinite;
    animation-delay: 3s;
    z-index: 5;
    border: 3px solid #fff;
}
.tm-hero__img-placeholder--mini { background: linear-gradient(135deg, #d4c4b0 0%, #c0a080 100%); }
.tm-hero__img-placeholder--mini svg { width: 80%; height: 80%; }

@keyframes hero-float {
    0%, 100% { transform: translate(-55%, -50%) translateY(0px); }
    50% { transform: translate(-55%, -50%) translateY(-12px); }
}
.tm-hero__img-sec {
    animation-name: hero-float-sec;
}
@keyframes hero-float-sec {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.tm-hero__img-mini {
    animation-name: hero-float-mini;
}
@keyframes hero-float-mini {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

/* Floating badge chips */
.tm-hero__float {
    position: absolute;
    display: flex; align-items: center; gap: 8px;
    background: #fff;
    border-radius: var(--tm-radius-pill);
    padding: 8px 16px;
    box-shadow: 0 6px 20px rgba(27,67,50,0.14);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 12px; font-weight: 700;
    color: var(--tm-green);
    white-space: nowrap;
    z-index: 6;
    border: 1.5px solid rgba(27,67,50,0.10);
    animation: badge-bob 4s ease-in-out infinite;
}
.tm-hero__float--halal { top: 80px; left: 0; animation-delay: 0s; }
.tm-hero__float--fresh { bottom: 100px; left: 10px; animation-delay: 1.3s; }
.tm-hero__float--delivery { bottom: 20px; left: 55%; transform: translateX(-50%); animation-delay: 0.7s; }
.tm-hero__float svg { color: var(--tm-green); stroke: var(--tm-green); }

@keyframes badge-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.tm-hero__float--delivery { animation-name: badge-bob-center; }
@keyframes badge-bob-center {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* Scroll indicator */
.tm-hero__scroll {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 2;
}
.tm-hero__scroll-line {
    width: 2px; height: 40px;
    background: linear-gradient(to bottom, var(--tm-green) 0%, transparent 100%);
    border-radius: 2px;
    animation: scroll-fade 1.6s ease-in-out infinite;
    opacity: 0.5;
}
@keyframes scroll-fade {
    0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { transform: scaleY(1); opacity: 0.6; }
}

/* ─────────────────────────────────────────────────────────────
   02 · BEST DEALS SECTION
   ───────────────────────────────────────────────────────────── */
.tm-deals {
    background: #fff;
    padding: 88px 0;
}

/* Deals grid */
.tm-deals__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Deal card */
.tm-deal-card {
    background: var(--tm-cream);
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-border);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--tm-ease), box-shadow var(--tm-ease);
    position: relative;
}
.tm-deal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tm-shadow-lg);
}
.tm-deal-card__inner {
    display: flex; flex-direction: column; flex: 1;
    text-decoration: none; color: inherit;
    padding: 0;
}
/* Discount badge */
.tm-deal-card__badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--tm-red); color: #fff;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 11px; font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px; border-radius: var(--tm-radius-pill);
}
/* Deal type tag */
.tm-deal-card__tag {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    background: var(--tm-gold); color: var(--tm-green);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 9px; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
}
/* Image zone */
.tm-deal-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--tm-cream-mid);
    display: flex; align-items: center; justify-content: center;
}
.tm-deal-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.tm-deal-card:hover .tm-deal-card__img img { transform: scale(1.06); }
.tm-deal-card__img-ph {
    font-size: 52px;
    background: linear-gradient(135deg, var(--deal-color, #1B4332) 0%, color-mix(in srgb, var(--deal-color, #1B4332) 60%, #fff) 100%);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
/* Card info */
.tm-deal-card__info { padding: 16px 16px 12px; flex: 1; }
.tm-deal-card__cat {
    display: block;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--tm-gold-dk);
    margin-bottom: 4px;
}
.tm-deal-card__name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 14px; font-weight: 700;
    color: var(--tm-charcoal);
    line-height: 1.3; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tm-deal-card__desc {
    font-size: 12px; color: var(--tm-gray);
    line-height: 1.5; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tm-deal-card__price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.tm-deal-card__price-now {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 17px; font-weight: 800; color: var(--tm-green);
}
.tm-deal-card__price-now .woocommerce-Price-amount { color: inherit; font-weight: inherit; font-size: inherit; }
.tm-deal-card__price-was {
    font-size: 13px; color: var(--tm-gray);
    text-decoration: line-through;
}
.tm-deal-card__expires {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; color: var(--tm-red);
    font-weight: 600;
}
/* Add to cart */
.tm-deal-card__atc {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px;
    background: var(--tm-green); color: #fff;
    border: none; cursor: pointer;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 13px; font-weight: 700;
    transition: background var(--tm-ease);
    text-decoration: none;
}
.tm-deal-card__atc:hover { background: var(--tm-green-mid); color: #fff; }

/* Combo banner */
.tm-deals__banner {
    background: linear-gradient(135deg, var(--tm-green) 0%, var(--tm-green-mid) 100%);
    border-radius: var(--tm-radius);
    padding: 40px 48px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
    overflow: hidden;
    position: relative;
}
.tm-deals__banner::before {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.tm-deals__banner-left { flex: 1; min-width: 280px; }
.tm-deals__banner-tag {
    display: inline-block;
    background: var(--tm-gold);
    color: var(--tm-green);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 10px; font-weight: 800; letter-spacing: 3px;
    padding: 4px 12px; border-radius: var(--tm-radius-pill);
    margin-bottom: 12px;
}
.tm-deals__banner-left h3 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(22px, 3vw, 30px); font-weight: 900;
    color: #fff; margin-bottom: 10px;
}
.tm-deals__banner-left p { color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.tm-deals__banner-right {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    flex-shrink: 0;
}
.tm-deals__banner-badge {
    background: var(--tm-gold);
    color: var(--tm-green);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 28px; font-weight: 900;
    padding: 12px 24px; border-radius: 12px;
    line-height: 1;
}
.tm-deals__banner-icons {
    display: flex; align-items: center; gap: 8px;
    font-size: 28px;
    color: rgba(255,255,255,0.6);
}
.tm-deals__banner-icons span:nth-child(even) { font-size: 16px; font-weight: 700; }


/* ─────────────────────────────────────────────────────────────
   03 · POPULAR ITEMS — Horizontal Scroll
   ───────────────────────────────────────────────────────────── */
.tm-popular {
    background: var(--tm-cream);
    padding: 88px 0;
}

/* Horizontal scrollable track */
.tm-popular__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    margin-bottom: 24px;
    /* Hide scrollbar */
    scrollbar-width: none;
}
.tm-popular__track::-webkit-scrollbar { display: none; }

/* Individual pop card */
.tm-pop-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-border);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--tm-ease), box-shadow var(--tm-ease);
}
.tm-pop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tm-shadow-lg);
}

/* Image wrap */
.tm-pop-card__img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--tm-cream-mid);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.tm-pop-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.tm-pop-card:hover .tm-pop-card__img-wrap img { transform: scale(1.07); }
.tm-pop-card__img-ph { font-size: 52px; }
.tm-pop-card__fire {
    position: absolute; top: 8px; right: 8px;
    font-size: 18px; line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Card body */
.tm-pop-card__body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.tm-pop-card__cat {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--tm-gold-dk);
    margin-bottom: 4px;
}
.tm-pop-card__name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 14px; font-weight: 700;
    color: var(--tm-charcoal); margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tm-pop-card__name a { color: inherit; text-decoration: none; }
.tm-pop-card__name a:hover { color: var(--tm-green); }
.tm-pop-card__stars { display: flex; align-items: center; gap: 2px; margin-bottom: 10px; }
.tm-pop-card__reviews { font-size: 11px; color: var(--tm-gray); margin-left: 4px; }

/* Footer: price + ATC */
.tm-pop-card__footer {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--tm-border);
}
.tm-pop-card__price {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 16px; font-weight: 800; color: var(--tm-green);
}
.tm-pop-card__price .woocommerce-Price-amount { color: inherit; font-weight: inherit; font-size: inherit; }
.tm-pop-card__atc {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--tm-green); color: #fff;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--tm-ease), transform 0.18s;
    text-decoration: none;
    padding: 0;
    font-size: 12px; font-weight: 700;
    font-family: var(--font-heading, 'Poppins', sans-serif);
}
.tm-pop-card__atc:hover { background: var(--tm-green-mid); transform: scale(1.08); color: #fff; }
.tm-pop-card__sold {
    font-size: 11px; color: var(--tm-gray);
    font-weight: 600;
}

/* Scroll nav arrows */
.tm-popular__nav {
    display: flex; justify-content: flex-end; gap: 10px;
}
.tm-popular__arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--tm-border);
    background: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--tm-green);
    transition: all var(--tm-ease);
}
.tm-popular__arrow:hover {
    background: var(--tm-green); color: #fff;
    border-color: var(--tm-green);
    transform: scale(1.05);
}


/* ─────────────────────────────────────────────────────────────
   04 · APP DOWNLOAD SECTION
   ───────────────────────────────────────────────────────────── */
.tm-app {
    background: linear-gradient(135deg, var(--tm-green) 0%, #0d2a1f 100%);
    padding: 88px 0;
    position: relative;
}

/* Decorative circles */
.tm-app__circle {
    position: absolute; border-radius: 50%;
    pointer-events: none;
    background: rgba(255,255,255,0.04);
}
.tm-app__circle--1 { width: 400px; height: 400px; top: -150px; right: 20%; }
.tm-app__circle--2 { width: 250px; height: 250px; bottom: -80px; left: 10%; }
.tm-app__circle--3 { width: 150px; height: 150px; top: 40px; left: 30%; border: 1px solid rgba(212,175,55,0.15); background: transparent; }

/* Inner layout */
.tm-app__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
    position: relative; z-index: 1;
}

/* Text content */
.tm-app__content { max-width: 520px; }
.tm-app__title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900; color: #fff;
    line-height: 1.1; margin: 14px 0 18px;
}
.tm-app__title span { color: var(--tm-gold); }
.tm-app__desc { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.tm-app__features {
    list-style: none; padding: 0; margin: 0 0 32px;
    display: flex; flex-direction: column; gap: 10px;
}
.tm-app__features li {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}
.tm-app__features li svg { stroke: var(--tm-gold); flex-shrink: 0; }

/* Store buttons */
.tm-app__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.tm-app__store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.10);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all var(--tm-ease);
    backdrop-filter: blur(8px);
}
.tm-app__store-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: var(--tm-gold);
    transform: translateY(-2px);
    color: #fff;
}
.tm-app__store-btn div { display: flex; flex-direction: column; }
.tm-app__store-btn span { font-size: 10px; opacity: 0.7; }
.tm-app__store-btn strong { font-family: var(--font-heading, 'Poppins', sans-serif); font-size: 16px; font-weight: 700; }

/* QR hint */
.tm-app__qr-hint {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: rgba(255,255,255,0.45);
}
.tm-app__qr-hint svg { stroke: rgba(255,255,255,0.4); }

/* Phone mockup */
.tm-app__mockup { position: relative; padding: 20px 0; }
.tm-app__phone {
    width: 240px;
    background: #0d0d0d;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}
.tm-app__phone-inner {
    border-radius: 26px;
    overflow: hidden;
    background: #FAFAF5;
    aspect-ratio: 220/380;
}
.tm-app__screen { display: block; width: 100%; }
.tm-app__phone-notch {
    position: absolute;
    top: 18px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 26px;
    background: #0d0d0d;
    border-radius: 14px;
    z-index: 10;
}

/* Floating app stats */
.tm-app__stat {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; align-items: center;
}
.tm-app__stat--1 { top: 20px; right: -24px; text-align: center; }
.tm-app__stat--2 {
    bottom: 60px; left: -32px;
    flex-direction: row; gap: 8px;
    font-size: 12px; font-weight: 700; color: var(--tm-green);
}
.tm-app__stat--2 svg { stroke: var(--tm-green); }
.tm-app__stat-val {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 22px; font-weight: 900; color: var(--tm-green);
}
.tm-app__stat-stars { color: var(--tm-gold); font-size: 12px; }
.tm-app__stat-lbl { font-size: 10px; color: var(--tm-gray); font-weight: 600; }


/* ─────────────────────────────────────────────────────────────
   UPDATED SHARED SECTION STYLES
   (Categories, Testimonials, Newsletter polish)
   ───────────────────────────────────────────────────────────── */

/* Section header shared update */
.section-header { margin-bottom: 48px; text-align: center; }
.section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 16px;
    background: var(--tm-green-pale);
    border-radius: var(--tm-radius-pill);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--tm-green);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900; color: var(--tm-charcoal);
    line-height: 1.15; margin-bottom: 12px;
}
.section-title span { color: var(--tm-green); }
.section-subtitle { font-size: 15px; color: var(--tm-gray); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* Categories section */
.section-categories { background: #fff; padding: 88px 0; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    position: relative;
    border-radius: var(--tm-radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
    text-decoration: none;
    background: #1a1a1a;
    transition: transform var(--tm-ease), box-shadow var(--tm-ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--tm-shadow-lg); }
.category-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(27,67,50,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    transition: opacity var(--tm-ease);
}
.category-card:hover .category-card__overlay { opacity: 0.9; }
.category-card__body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 18px;
}
.category-card__name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 18px; font-weight: 800; color: #fff;
    margin-bottom: 4px;
}
.category-card__count { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.category-card__btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 14px;
    background: var(--tm-gold); color: var(--tm-green);
    border-radius: var(--tm-radius-pill);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 11px; font-weight: 700;
    transition: background var(--tm-ease);
}
.category-card:hover .category-card__btn { background: var(--tm-gold-lt); }

/* Testimonials update */
.section-testimonials { background: var(--tm-cream); padding: 88px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: #fff;
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-border);
    border-top: 3px solid var(--tm-gold);
    padding: 28px 24px;
    display: flex; flex-direction: column;
    transition: transform var(--tm-ease), box-shadow var(--tm-ease);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--tm-shadow-md); }
.testimonial-card__rating { color: var(--tm-gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card__text {
    font-size: 14px; line-height: 1.7; color: #555;
    flex: 1; margin-bottom: 20px; font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--tm-green) 0%, var(--tm-green-mid) 100%);
    color: #fff;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 18px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.testimonial-card__name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 14px; font-weight: 700; color: var(--tm-charcoal);
}
.testimonial-card__location { font-size: 12px; color: var(--tm-gray); margin-top: 2px; }

/* Newsletter update */
.section-newsletter { background: var(--tm-green); padding: 72px 0; }
.newsletter-content { text-align: center; max-width: 560px; margin: 0 auto; }


/* ─────────────────────────────────────────────────────────────
   WHY TAQWA MEAT — Colorful Feature Cards
   ───────────────────────────────────────────────────────────── */
.section-features {
    background: #fff;
    padding: 88px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #FAF9F6;
    border-radius: 14px;
    border: 1px solid #e8e4dc;
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.11);
}

/* Icon wrapper */
.feature-card__icon-wrap {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: rgba(27, 67, 50, 0.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-card__icon {
    font-size: 26px;
    line-height: 1;
}

/* Title */
.feature-card__title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 15px;
    font-weight: 800;
    color: #1B4332;
    margin: 0;
    line-height: 1.3;
}

/* Description */
.feature-card__text {
    font-size: 14px;
    color: #000000;
    line-height: 1.65;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */

/* Tablet: ≤1024px */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .tm-hero__container { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; padding-bottom: 60px; }
    .tm-hero { min-height: auto; }
    .tm-hero__visual { height: 360px; margin-top: 16px; }
    .tm-hero__img-main { width: 260px; height: 240px; transform: translate(-50%, -50%); }
    @keyframes hero-float { 0%,100%{transform:translate(-50%,-50%) translateY(0);} 50%{transform:translate(-50%,-50%) translateY(-10px);} }
    .tm-hero__img-sec { width: 150px; height: 135px; right: 20px; }
    .tm-hero__img-mini { width: 100px; height: 90px; }
    .tm-deals__grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .tm-app__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .tm-app__content { max-width: 100%; }
    .tm-app__btns { justify-content: center; }
    .tm-app__features { align-items: center; }
    .tm-app__qr-hint { justify-content: center; }
    .tm-app__mockup { order: -1; }
    .tm-app__stat--1, .tm-app__stat--2 { display: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .tm-hero__container { gap: 32px; padding-top: 100px; }
    .tm-hero__title { font-size: clamp(32px, 9vw, 48px); }
    .tm-hero__visual { height: 280px; }
    .tm-hero__img-main { width: 200px; height: 180px; }
    .tm-hero__img-sec { display: none; }
    .tm-hero__img-mini { display: none; }
    .tm-hero__float--fresh, .tm-hero__float--delivery { display: none; }
    .tm-hero__stats { flex-direction: column; width: 100%; align-items: flex-start; }
    .tm-hero__stat-div { display: none; }
    .tm-hero__stat { padding: 8px 0; }
    .tm-deals__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .tm-deals__banner { padding: 28px 24px; }
    .tm-deals__banner-right { display: none; }
    .tm-popular__track { gap: 14px; }
    .tm-pop-card { flex: 0 0 180px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .tm-section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .tm-hero__brand { margin-bottom: 16px; }
    .tm-app__phone { width: 180px; }
}

/* Small mobile: ≤480px */
@media (max-width: 480px) {
    .tm-hero__visual { height: 220px; }
    .tm-hero__img-main { width: 160px; height: 148px; }
    .tm-hero__float--halal { display: none; }
    .tm-deals__grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
}
