/* =============================================
   Pethalalfood — Master Stylesheet
   Palette: Emerald · Gold · Cream · Islamic geometry
   ============================================= */

:root {
    --emerald-950: #052e1a;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;

    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;

    --rose-100: #ffe4e6;
    --rose-700: #be123c;

    --sky-100: #e0f2fe;
    --sky-700: #0369a1;

    --cream:      #faf7f0;
    --slate-900:  #0f172a;
    --slate-700:  #334155;
    --slate-600:  #475569;
    --slate-500:  #64748b;
    --slate-200:  #e2e8f0;
    --slate-100:  #f1f5f9;

    --radius: 14px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 6px 24px rgba(2,44,34,.08);
    --shadow-lg: 0 24px 60px rgba(2,44,34,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--cream);
    color: var(--slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}
img { max-width: 100%; display: block; }
a { color: var(--emerald-700); text-decoration: none; transition: color .15s; }
a:hover { color: var(--emerald-900); }
h1,h2,h3,h4 { font-weight: 700; color: var(--emerald-950); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }

/* ============ Announcement bar ============ */
.topbar {
    background: var(--emerald-950); color: var(--amber-300);
    text-align: center; font-size: 12px; letter-spacing: .06em;
    padding: 8px 20px;
}
.topbar strong { color: #fff; }

/* ============ Navbar ============ */
.navbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--emerald-100);
}
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; max-width: 1200px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--emerald-950); }
.brand:hover { color: var(--emerald-950); }
.brand-logo {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    display: grid; place-items: center;
    color: var(--amber-300); font-size: 22px;
    box-shadow: 0 4px 14px rgba(4,120,87,.25);
    position: relative; overflow: hidden;
}
.brand-logo::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44'><path d='M22 4 L26 14 L36 14 L28 20 L31 30 L22 24 L13 30 L16 20 L8 14 L18 14 Z' fill='none' stroke='%23fcd34d' stroke-width='.6' opacity='.4'/></svg>");
    pointer-events: none;
}
.brand-name { font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: -.02em; }
.brand-name .accent { color: var(--amber-500); }
.brand-tag { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--emerald-700); opacity: .7; margin-top: 4px; }

.nav-links { display: none; gap: 4px; align-items: center; }
.nav-links a {
    padding: 8px 14px; border-radius: var(--radius-full);
    color: var(--emerald-900); font-size: 14px; font-weight: 500;
}
.nav-links a:hover { background: var(--emerald-50); }
.nav-links a.active { background: var(--emerald-100); color: var(--emerald-900); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-mobile {
    display: flex; gap: 4px; overflow-x: auto;
    padding: 8px 20px;
    border-top: 1px solid var(--emerald-100);
    scrollbar-width: none;
}
.nav-mobile::-webkit-scrollbar { display: none; }
.nav-mobile a {
    padding: 6px 12px; border-radius: var(--radius-full);
    font-size: 13px; font-weight: 500;
    color: var(--emerald-900); white-space: nowrap;
}
.nav-mobile a.active { background: var(--emerald-100); }
@media (min-width: 900px) { .nav-mobile { display: none; } }

/* ============ Buttons ============ */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 22px; border-radius: var(--radius-full);
    font-size: 14px; font-weight: 600;
    border: 1px solid transparent; cursor: pointer;
    text-decoration: none; transition: all .15s;
    line-height: 1;
}
.btn-primary { background: var(--emerald-700); color: #fff; }
.btn-primary:hover { background: var(--emerald-800); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--amber-400); color: var(--emerald-950); box-shadow: 0 6px 20px rgba(245,158,11,.28); }
.btn-gold:hover { background: var(--amber-300); color: var(--emerald-950); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--emerald-900); border-color: var(--emerald-100); }
.btn-outline:hover { background: var(--emerald-50); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 15px; }

/* ============ HERO ============ */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-950) 0%, var(--emerald-800) 55%, var(--emerald-700) 100%);
    color: #fff;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><g fill='none' stroke='%23fcd34d' stroke-width='1' opacity='.14'><path d='M45 4 L54 27 L77 27 L58 42 L65 68 L45 54 L25 68 L32 42 L13 27 L36 27 Z'/><circle cx='45' cy='45' r='20'/><path d='M0 45 L90 45 M45 0 L45 90'/></g></svg>");
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; top: -160px; right: -160px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(251,191,36,.28), transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; gap: 48px;
    padding: 80px 20px 90px;
    max-width: 1200px; margin: 0 auto;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 1fr; padding: 110px 20px 120px; align-items: center; } }

.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(252,211,77,.4);
    background: rgba(252,211,77,.1);
    color: var(--amber-300);
    font-size: 11px; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase;
    padding: 7px 14px; border-radius: var(--radius-full);
}
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: #fff; line-height: 1.02; margin: 22px 0 0;
    font-weight: 800; letter-spacing: -.02em;
}
.hero h1 .accent {
    background: linear-gradient(90deg, var(--amber-200,#fde68a), var(--amber-300), var(--amber-500));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    display: block;
}
.hero p.lead {
    font-size: 1.1rem; color: rgba(236,253,245,.88);
    max-width: 560px; margin: 22px 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(4,120,87,.5); max-width: 520px; }
.hero-stats dt { font-size: 2rem; font-weight: 800; color: var(--amber-300); line-height: 1; }
.hero-stats dd { font-size: 11px; margin: 6px 0 0; color: rgba(236,253,245,.75); text-transform: uppercase; letter-spacing: .1em; }

/* Hero photo card */
.hero-photo {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(2,20,15,.5);
    aspect-ratio: 4/5;
    max-width: 480px;
    margin: 0 auto;
    border: 6px solid rgba(255,255,255,.08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5,46,26,.55) 100%);
}
.hero-photo-caption {
    position: absolute; left: 20px; bottom: 20px; right: 20px;
    color: #fff; font-size: 14px; z-index: 2;
    background: rgba(5,46,26,.5); backdrop-filter: blur(8px);
    padding: 14px 18px; border-radius: 16px;
    border: 1px solid rgba(252,211,77,.3);
}
.hero-photo-caption strong { color: var(--amber-300); }

.badge-float {
    position: absolute; background: #fff; color: var(--emerald-950);
    border-radius: 16px; padding: 12px 16px; font-size: 12px;
    box-shadow: var(--shadow-lg); z-index: 3;
    display: flex; align-items: center; gap: 10px;
}
.badge-float.tl { top: -14px; right: -14px; background: var(--amber-300); font-weight: 800; }
.badge-float.bl { bottom: 40px; left: -14px; }

/* Marquee */
.marquee {
    position: relative; overflow: hidden;
    background: rgba(2,20,15,.4);
    border-top: 1px solid rgba(4,120,87,.5);
    color: rgba(236,253,245,.7);
    padding: 14px 0; font-size: 14px;
}
.marquee-track {
    display: flex; gap: 40px; white-space: nowrap; width: max-content;
    animation: marquee 50s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Cards ============ */
.card {
    background: #fff; border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: 24px;
}
.card-hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #a7f3d0; }

/* ============ Grid ============ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2,1fr); }
.grid-6 { grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2,1fr); }
    .grid-3 { grid-template-columns: repeat(2,1fr); }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-6 { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 900px) {
    .grid-3 { grid-template-columns: repeat(3,1fr); }
    .grid-4 { grid-template-columns: repeat(4,1fr); }
    .grid-6 { grid-template-columns: repeat(6,1fr); }
}
@media (min-width: 1100px) { .grid-4-wide { grid-template-columns: repeat(4,1fr); } }

/* ============ Value props ============ */
.value-card { padding: 26px; }
.value-card .icon {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
    color: var(--emerald-800); font-size: 1.5rem;
}
.value-card h3 { margin-top: 16px; font-size: 1.05rem; }
.value-card p { margin: 6px 0 0; font-size: 14px; color: var(--slate-600); }

/* ============ Category card with image ============ */
.cat-card {
    position: relative; overflow: hidden;
    display: block;
    background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--emerald-100);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    aspect-ratio: 4/5;
    transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .thumb {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .4s;
}
.cat-card:hover .thumb { transform: scale(1.06); }
.cat-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5,46,26,.75) 100%);
}
.cat-card .label {
    position: absolute; left: 14px; right: 14px; bottom: 14px;
    z-index: 2; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cat-card .name { font-weight: 700; font-size: 15px; }
.cat-card .arrow {
    background: var(--amber-400); color: var(--emerald-950);
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.cat-card .emoji {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center; font-size: 18px;
}

/* ============ Product card ============ */
.product-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
    color: inherit;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.product-thumb {
    position: relative; height: 220px; overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body .rating { color: var(--amber-500); font-size: 13px; }
.product-body .rating .count { color: var(--slate-500); margin-left: 6px; }
.product-body .name { font-size: 15px; font-weight: 700; color: var(--emerald-950); margin: 4px 0 2px; line-height: 1.3; }
.product-body .tagline { font-size: 13px; color: var(--slate-600); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 12px; }
.product-price { font-size: 1.2rem; font-weight: 800; color: var(--emerald-800); }
.product-weight { font-size: 12px; color: var(--slate-500); }
.product-cta { background: var(--emerald-700); color: #fff; padding: 7px 14px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; }

.chip {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 11px; border-radius: var(--radius-full);
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    z-index: 2;
}
.chip-emerald { background: var(--emerald-100); color: var(--emerald-800); }
.chip-amber   { background: var(--amber-100); color: #92400e; }
.chip-rose    { background: var(--rose-100); color: var(--rose-700); }
.chip-sky     { background: var(--sky-100); color: var(--sky-700); }

.bg-emerald-soft { background: var(--emerald-50); }
.bg-amber-soft   { background: #fffbeb; }
.bg-rose-soft    { background: #fff1f2; }
.bg-sky-soft     { background: #f0f9ff; }

.sold-out {
    position: absolute; top: 12px; right: 12px;
    padding: 5px 11px; border-radius: var(--radius-full);
    background: rgba(15,23,42,.8); color: #fff;
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    z-index: 2;
}

/* ============ Section headers ============ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 12px; }
.section-head .kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--amber-600); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--slate-600); font-size: 15px; }
.section-head .link { font-size: 14px; font-weight: 700; color: var(--emerald-700); }

/* ============ Dark section (Halal promise) ============ */
.dark-section {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-950), var(--emerald-900));
    color: #fff; padding: 80px 0;
}
.dark-section::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><g fill='none' stroke='%23fcd34d' stroke-width='1' opacity='.1'><path d='M45 4 L54 27 L77 27 L58 42 L65 68 L45 54 L25 68 L32 42 L13 27 L36 27 Z'/><circle cx='45' cy='45' r='20'/></g></svg>");
    pointer-events: none;
}
.dark-section > .container { position: relative; z-index: 1; }
.dark-section h1, .dark-section h2, .dark-section h3 { color: #fff; }
.pillar-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
.pillar {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(6,95,70,.6);
    border-radius: 20px; padding: 22px;
    backdrop-filter: blur(6px);
}
.pillar .n { color: var(--amber-300); font-weight: 800; font-size: 12px; }
.pillar .t { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 6px 0; }
.pillar .d { color: rgba(236,253,245,.8); font-size: 14px; margin: 0; }

/* ============ Testimonials ============ */
.testimonial {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg); padding: 26px;
    box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--amber-500); font-size: 14px; }
.testimonial blockquote { font-size: 14px; color: var(--slate-700); margin: 12px 0 0; flex: 1; line-height: 1.7; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--emerald-50); }
.avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
    color: var(--emerald-800);
    display: grid; place-items: center; font-weight: 700;
}
.testimonial .who { font-size: 14px; font-weight: 700; color: var(--emerald-950); margin: 0; }
.testimonial .where { font-size: 12px; color: var(--slate-500); margin: 0; }

/* ============ CTA banner ============ */
.cta-banner {
    background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
    color: var(--emerald-950);
    border-radius: 32px; padding: 52px;
    box-shadow: var(--shadow-lg);
    display: grid; gap: 24px;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><g fill='none' stroke='%23052e1a' stroke-width='.6' opacity='.15'><path d='M30 3 L36 18 L51 18 L39 27 L44 45 L30 36 L16 45 L21 27 L9 18 L24 18 Z'/></g></svg>");
    pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
@media (min-width: 800px) { .cta-banner { grid-template-columns: 1fr 1fr; align-items: center; } }
.cta-banner h2 { color: var(--emerald-950); font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ============ Footer ============ */
.footer {
    margin-top: 100px;
    background: linear-gradient(180deg, var(--emerald-950), #021e12);
    color: #ecfdf5; position: relative; overflow: hidden;
}
.footer::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><g fill='none' stroke='%23fcd34d' stroke-width='.5' opacity='.08'><path d='M30 3 L36 18 L51 18 L39 27 L44 45 L30 36 L16 45 L21 27 L9 18 L24 18 Z'/></g></svg>");
    pointer-events: none;
}
.footer-inner {
    position: relative; z-index: 1;
    display: grid; gap: 40px;
    padding: 64px 20px 40px;
    max-width: 1200px; margin: 0 auto;
}
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.5fr; } }
.footer h4 { color: var(--amber-300); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #d1fae5; font-size: 14px; }
.footer a:hover { color: var(--amber-300); }
.footer .brand-logo { background: linear-gradient(135deg, var(--amber-400), var(--amber-500)); color: var(--emerald-950); }
.footer p { color: rgba(209,250,229,.75); font-size: 14px; }

.footer-bar {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(6,78,59,.6);
    padding: 16px 20px; max-width: 1200px; margin: 0 auto;
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    font-size: 12px; color: rgba(209,250,229,.7);
}
.footer-bar .badges span { margin-right: 14px; }

.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input {
    flex: 1; min-width: 0;
    padding: 11px 16px; border-radius: var(--radius-full);
    border: 1px solid rgba(4,120,87,.5);
    background: rgba(2,20,15,.5); color: #fff; font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(209,250,229,.5); }
.newsletter-form input:focus { outline: none; border-color: var(--amber-300); box-shadow: 0 0 0 3px rgba(252,211,77,.25); }
.newsletter-form button {
    padding: 11px 20px; border-radius: var(--radius-full);
    background: var(--amber-400); color: var(--emerald-950);
    border: none; font-weight: 800; font-size: 14px; cursor: pointer;
}
.newsletter-form button:hover { background: var(--amber-300); }

.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; }
.flash-ok { background: var(--emerald-50); color: var(--emerald-800); border: 1px solid var(--emerald-100); }
.flash-err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ============ Product detail ============ */
.breadcrumb { font-size: 12px; color: rgba(6,95,70,.7); margin-bottom: 12px; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--emerald-900); }
.breadcrumb span { margin: 0 8px; }

.product-detail { display: grid; gap: 40px; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1.05fr 1fr; } }
.product-detail .hero-thumb {
    position: relative; height: 480px;
    border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow);
}
.product-detail .hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-top: 12px; }
.pet-tag {
    display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
    background: var(--emerald-100); color: var(--emerald-800);
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
    margin-right: 10px;
}
.price-row { display: flex; align-items: flex-end; gap: 12px; margin: 22px 0; }
.price-main { font-size: 2.1rem; font-weight: 800; color: var(--emerald-800); line-height: 1; }
.price-strike { color: var(--slate-500); text-decoration: line-through; font-size: 15px; }
.save-tag { background: var(--rose-100); color: var(--rose-700); padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 800; }

.ingredients {
    background: #fff; border: 1px solid var(--emerald-100);
    border-radius: 16px; padding: 20px; margin: 22px 0;
}
.ingredients h3 { color: var(--emerald-800); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 10px; }
.ingredients p { font-size: 14px; margin: 0; color: var(--slate-700); }

.qty {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--emerald-100); background: #fff;
    padding: 6px 12px; border-radius: var(--radius-full);
}
.qty button { border: none; background: var(--emerald-50); color: var(--emerald-800); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-weight: 800; font-size: 15px; }

.promise-list { display: grid; gap: 10px; background: linear-gradient(135deg, var(--emerald-50), #fff); border: 1px solid var(--emerald-100); border-radius: 16px; padding: 18px; color: var(--emerald-900); font-size: 14px; }

/* ============ Filters ============ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-chip {
    padding: 9px 18px; border-radius: var(--radius-full);
    border: 1px solid var(--emerald-100);
    background: #fff; color: var(--emerald-900);
    font-size: 13px; font-weight: 600;
    text-decoration: none;
}
.filter-chip:hover { background: var(--emerald-50); color: var(--emerald-900); }
.filter-chip.on { background: var(--emerald-700); border-color: var(--emerald-700); color: #fff; }

/* ============ Sub hero ============ */
.subhero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
    color: #fff; padding: 64px 0;
}
.subhero::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><g fill='none' stroke='%23fcd34d' stroke-width='.5' opacity='.12'><path d='M30 3 L36 18 L51 18 L39 27 L44 45 L30 36 L16 45 L21 27 L9 18 L24 18 Z'/></g></svg>");
    pointer-events: none;
}
.subhero > .container { position: relative; z-index: 1; }
.subhero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0; }
.subhero .kicker { color: var(--amber-300); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.subhero p { color: rgba(236,253,245,.85); max-width: 700px; font-size: 1.05rem; }

/* ============ Forms ============ */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-grid label { font-size: 14px; font-weight: 600; color: var(--emerald-950); display: block; }
.form-grid input, .form-grid select, .form-grid textarea {
    display: block; width: 100%; margin-top: 6px;
    padding: 11px 14px; border: 1px solid #d1fae5;
    border-radius: 12px; background: #fff;
    font-size: 14px; font-family: inherit;
    color: var(--slate-900);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
    outline: none; border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(5,150,105,.15);
}
.form-grid .span-2 { grid-column: 1 / -1; }

/* ============ FAQ ============ */
.faq { background: #fff; border: 1px solid var(--emerald-100); border-radius: 24px; overflow: hidden; }
.faq details { padding: 20px 26px; border-bottom: 1px solid var(--emerald-50); }
.faq details:last-child { border-bottom: none; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--emerald-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--emerald-600); margin-left: 12px; transition: transform .2s; font-size: 1.4rem; font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--slate-600); font-size: 14px; line-height: 1.7; }

/* Article & Blog */
.article-body { max-width: 720px; margin: 32px auto; }
.article-body p { color: var(--slate-800); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.2em; }
.article-tag { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
    background: var(--emerald-100); color: var(--emerald-800);
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.article-hero {
    position: relative; overflow: hidden;
    height: 320px; border-radius: 24px; margin-bottom: 24px;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-image {
    height: 180px; overflow: hidden;
    border-radius: 16px; margin-bottom: 16px;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-hover:hover .blog-card-image img { transform: scale(1.06); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 32px 0; }
.timeline .item { background: linear-gradient(135deg, var(--emerald-50), #fff); border: 1px solid var(--emerald-100); border-radius: 20px; padding: 24px; text-align: center; }
.timeline .y { font-size: 1.7rem; font-weight: 800; color: var(--emerald-800); }
.timeline .t { font-size: 12px; color: rgba(6,78,59,.7); margin-top: 6px; }

/* Table */
.table-wrap { border: 1px solid var(--emerald-100); border-radius: 24px; overflow: hidden; background: #fff; }
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.table thead { background: var(--emerald-50); color: var(--emerald-900); }
.table th, .table td { padding: 16px 20px; }
.table tbody tr + tr td { border-top: 1px solid var(--emerald-50); }
.table td:first-child { font-weight: 700; color: var(--emerald-900); }
.table td:last-child { font-weight: 800; color: var(--emerald-800); }

/* About story split */
.story-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 800px) { .story-split { grid-template-columns: 1fr 1fr; } }
.story-image {
    aspect-ratio: 4/5; border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow);
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }

/* Cart shell */
.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart .emoji { font-size: 4rem; }

/* Utility */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; }
.text-center { text-align: center; }
.text-slate { color: var(--slate-600); }
.text-amber { color: var(--amber-500); }
