/*
Theme Name: GMG Spices Final V5
Theme URI: https://gmgspices.example/
Author: GMG Spices
Description: GMG Spices final WordPress block theme, faithfully aligned to the approved V5 HTML layout while keeping header, footer and page sections editable in the Site Editor.
Version: 5.4.1
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: gmg-spices-final-v5
*/
:root{--ink:#252525;--cream:#f8f3e9;--paper:#fffdf8;--gold:#c89435;--gold2:#e4bf78;--green:#66753a;--red:#a83d2f;--muted:#716d65;--line:#e8dfcf;--shadow:0 18px 55px rgba(39,29,15,.10)}
html{scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}.gmg-page{overflow-x:clip}.gmg-page .container,.gmg-page .gmg-container{width:min(1180px,92%);margin:auto}.gmg-container{width:min(1180px,92%);margin-inline:auto}.wp-site-blocks{padding:0!important}.wp-block-template-part{margin:0!important}.gmg-page p,.gmg-page h1,.gmg-page h2,.gmg-page h3,.gmg-page h4{margin-top:0}.gmg-page img{max-width:100%;height:auto}
/* Topbar */
.gmg-topbar{background:var(--red);color:#fff;min-height:38px;padding:0;font-size:11px;font-weight:700;letter-spacing:.04em}.gmg-topbar-inner{width:min(1180px,92%);margin:auto;min-height:38px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}.gmg-topbar-contact{display:flex;align-items:center;gap:16px;white-space:nowrap}.gmg-topbar-contact p{margin:0}.gmg-topbar-contact a{display:inline-flex;align-items:center;color:#fff;opacity:.96}.gmg-topbar-tag{text-align:center;text-transform:uppercase;letter-spacing:.14em;font-size:10px;white-space:nowrap}.gmg-topbar-social{display:flex;justify-content:flex-end;align-items:center;gap:7px}.gmg-topbar-social p{margin:0}.gmg-topbar-social a{width:24px;height:24px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.45);border-radius:50%;color:#fff;transition:.2s}.gmg-topbar-social a:hover{background:#fff;color:var(--red)}
/* Header */
.wp-block-template-part:has(.gmg-topbar){position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:100}.gmg-header{position:relative;z-index:100;background:rgba(255,253,248,.97);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);box-shadow:0 8px 28px rgba(39,29,15,.07)}.gmg-nav{width:min(1180px,92%);margin:auto;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:30px}.gmg-logo{width:108px;height:68px;object-fit:contain;display:block}.gmg-navlinks{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:750}.gmg-navlinks p{margin:0}.gmg-navlinks a{display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;border:1px solid transparent;border-radius:999px;color:var(--ink);transition:.22s;letter-spacing:.01em}.gmg-navlinks a:hover{background:var(--cream);border-color:var(--line);color:var(--red);transform:translateY(-1px)}.gmg-navlinks .gmg-active{background:var(--ink);color:#fff;padding-left:20px;padding-right:20px;box-shadow:0 7px 18px rgba(37,37,37,.16)}.gmg-navlinks .gmg-active:hover{background:var(--red);border-color:var(--red);color:#fff}
/* Hero */
.gmg-hero{position:relative;overflow:hidden;min-height:620px;padding:72px 0 66px;background:radial-gradient(ellipse at 78% 42%,rgba(222,168,47,.14),transparent 28%),radial-gradient(ellipse at 8% 110%,rgba(255,255,255,.06),transparent 34%),linear-gradient(118deg,#123a2c 0%,#184533 48%,#28563f 100%);color:#fff}.gmg-hero:before{content:"";position:absolute;inset:0;opacity:.18;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.32) .7px,transparent .7px);background-size:24px 24px;mask-image:linear-gradient(90deg,black 0%,transparent 82%)}.gmg-hero-grid{width:min(1180px,92%);margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(500px,.95fr);gap:30px;align-items:center}.gmg-hero-copy{position:relative;z-index:8}.gmg-eyebrow{display:inline-flex;gap:11px;align-items:center;color:#f4ca62;font-size:12px;font-weight:800;letter-spacing:.22em;text-transform:uppercase}.gmg-eyebrow:before{content:"";width:34px;height:1px;background:#d9a932}.gmg-hero h1{max-width:680px;font-family:Georgia,serif;font-size:clamp(60px,6.1vw,86px);line-height:.98;letter-spacing:-.035em;margin:10px 0 24px;text-shadow:0 8px 28px rgba(0,0,0,.16)}.gmg-hero h1 em{color:#f2c54f;font-style:normal}.gmg-hero-copy>p{max-width:625px;color:rgba(255,255,255,.82);font-size:17px;line-height:1.75}.gmg-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.gmg-btn{border-radius:999px;padding:14px 22px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}.gmg-btn-gold{background:#f0c44f;color:#16372a;border:1px solid #f0c44f}.gmg-btn-outline{border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.045);color:#fff}.gmg-hero-note{display:flex;gap:20px;margin-top:25px;color:rgba(255,255,255,.72);font-size:12px;flex-wrap:wrap}.gmg-hero-note strong{color:#f0c44f}.gmg-hero-art{min-height:510px;position:relative;display:block}.gmg-plate{position:absolute;left:50%;bottom:7%;transform:translateX(-50%);width:min(500px,96%);height:112px;border-radius:50%;background:linear-gradient(180deg,#fff6dd 0%,#e2cf9e 45%,#b39c6c 100%);border:1px solid rgba(255,255,255,.55);box-shadow:0 35px 60px rgba(0,0,0,.30),inset 0 5px 0 rgba(255,255,255,.48),inset 0 -10px 18px rgba(91,67,28,.12)}.gmg-pouch{position:absolute;filter:drop-shadow(0 25px 19px rgba(0,0,0,.23));z-index:2}.gmg-pouch img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.gmg-pouch-one{left:7%;top:23%;width:154px;height:246px;transform:rotate(-8deg);z-index:3}.gmg-pouch-two{right:7%;top:18%;width:154px;height:246px;transform:rotate(9deg);z-index:2}.gmg-pouch-three{left:30%;bottom:17%;width:202px;height:320px;transform:rotate(1deg);z-index:4}
/* Sections */
.gmg-section{padding:84px 0}.gmg-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:32px}.gmg-section-head h2{font:500 clamp(36px,5vw,54px)/1.08 Georgia,serif;margin:0;letter-spacing:0}.gmg-section-head p{max-width:470px;color:var(--muted);font-size:14px;line-height:1.7;margin:0}.gmg-products{background:#f2efe5}.gmg-product-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}.gmg-product-card{width:auto!important;margin:0!important;background:#fff;border:1px solid #e5dfd0;border-radius:5px;overflow:hidden;box-shadow:0 8px 24px rgba(40,40,25,.06);transition:.25s}.gmg-product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.gmg-product-visual{height:300px;display:grid;place-items:center;position:relative;overflow:hidden}.gmg-product-visual.turmeric{background:linear-gradient(145deg,#f2d56f,#e4b843)}.gmg-product-visual.chilli{background:linear-gradient(145deg,#eaa18b,#c94e38)}.gmg-product-visual.coriander{background:linear-gradient(145deg,#c7c99a,#828c56)}.gmg-product-image{display:block!important;width:150px!important;height:240px!important;max-width:none!important;object-fit:cover!important;object-position:center top;border-radius:9px 9px 15px 15px;box-shadow:0 20px 35px rgba(43,30,8,.22);transform:rotate(-3deg);transition:transform .45s cubic-bezier(.2,.75,.25,1);transform-origin:center bottom}.gmg-product-card:hover .gmg-product-image{transform:translateY(-8px) rotate(1deg)}.gmg-product-info{padding:21px;text-align:center}.gmg-product-info h3{font:500 25px/1.15 Georgia,serif;margin:0 0 6px}.gmg-product-info p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}
/* About */
.gmg-about{background:linear-gradient(180deg,#fffdf9 0%,#f8f4ea 100%);padding:96px 0 104px}.gmg-story{display:grid;grid-template-columns:minmax(430px,.93fr) minmax(0,1.07fr);gap:64px;align-items:center}.gmg-story-art{min-height:500px;border-radius:14px;padding:38px 40px 34px;background:radial-gradient(circle at 72% 22%,rgba(222,177,60,.10),transparent 22%),linear-gradient(145deg,#0b2e22 0%,#103b2d 58%,#174b37 100%);box-shadow:0 26px 65px rgba(13,53,39,.18);color:#fff;position:relative;overflow:hidden}.gmg-story-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 38%,rgba(0,0,0,.22));pointer-events:none}.gmg-story-art h3{position:relative;z-index:1;margin:112px 0 0;max-width:500px;font:500 54px/.98 Georgia,serif;letter-spacing:-.035em}.gmg-story-art .gold{color:#f0c348}.gmg-about-sub{position:relative;z-index:1;margin-top:20px;font-size:14px;line-height:1.65;color:rgba(255,255,255,.74)}.gmg-story-copy{padding:4px 0 0}.gmg-story-copy .gmg-eyebrow{color:#d19e2d;font-size:10.5px;letter-spacing:.22em;margin-bottom:18px}.gmg-story-copy .gmg-eyebrow:before{background:#d9a82f}.gmg-story-copy h2{font:500 57px/1.01 Georgia,serif;letter-spacing:-.042em;max-width:680px;margin:0 0 20px;color:#16382c}.gmg-story-copy>p{max-width:690px;font-size:15.5px;line-height:1.82;color:#68726c;margin-bottom:27px}.gmg-feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gmg-feature{min-height:148px;padding:19px 17px 18px;border-left:2px solid #dca82e;border-radius:7px;background:linear-gradient(145deg,#f7f2e7,#f1ecdf);box-shadow:0 10px 26px rgba(41,47,40,.045);font-size:12.5px;line-height:1.55;color:#4e554f}.gmg-feature strong{display:block;font-size:13.5px;line-height:1.25;margin-bottom:7px;color:#18392e}
/* Mission */
.gmg-mission{background:#fbf7ef}.gmg-mission .gmg-section-head{max-width:720px;margin-bottom:28px;display:block}.gmg-mission .gmg-section-head h2{margin-top:14px}.gmg-mission .gmg-section-head p{margin-top:16px}.gmg-mv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.gmg-mv-card{padding:28px 30px;background:#f7f2e8;border-left:3px solid var(--gold);border-radius:4px}.gmg-mv-number{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--gold);margin-bottom:10px}.gmg-mv-card h3{font:500 30px/1.1 Georgia,serif;margin:0 0 12px}.gmg-mv-card p{color:var(--muted);line-height:1.75;margin:0}
/* Contact */
.gmg-contact{position:relative;overflow:hidden;padding:72px 0;background:radial-gradient(circle at 8% 15%,rgba(255,255,255,.42),transparent 28%),radial-gradient(circle at 92% 85%,rgba(184,132,38,.12),transparent 30%),linear-gradient(135deg,#f3c447 0%,#edbb36 52%,#e7ae2d 100%)}.gmg-contact:before{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:linear-gradient(90deg,#b62f22 0 32%,#e3ae28 32% 68%,#194d3a 68% 100%)}.gmg-contact-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:30px 34px;border:1px solid rgba(22,45,35,.13);border-radius:18px;background:rgba(255,251,239,.30);box-shadow:0 18px 45px rgba(74,49,8,.12)}.gmg-contact-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;color:#f4c544;background:#15372b}.gmg-contact-icon span{font-size:25px}.gmg-contact-kicker{display:block;color:#795d20;font-size:10px;font-weight:900;letter-spacing:.22em;margin-bottom:9px}.gmg-contact-copy h2{font:500 46px/1.04 Georgia,serif;margin:0 0 10px;color:#18372b}.gmg-contact-copy p{display:inline;color:#5f5b51;font-size:14px;line-height:1.6;margin:0}.gmg-contact-copy .contact-email{color:#18372b;font-weight:850;margin-left:4px}.gmg-contact-button{display:inline-flex;align-items:center;gap:13px;padding:15px 20px;border-radius:999px;background:#15372b;color:#fff;font-weight:850;box-shadow:0 12px 25px rgba(21,55,43,.20)}.gmg-contact-arrow{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f4c544;color:#15372b}
/* Footer */
.gmg-footer{background:#142c22;color:#fff;padding:55px 0 25px}.gmg-footer .gmg-container{position:relative;z-index:1}.gmg-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:28px;align-items:start}.gmg-footer-grid>div{min-width:0}.gmg-footer-grid>div:first-child{padding-right:20px}.gmg-footer-brand img{display:block;width:95px;height:auto;background:transparent;border-radius:3px;padding:0;margin:0 0 10px}.gmg-footer p,.gmg-footer a{color:#bfc9c1;font-size:13px;line-height:1.75}.gmg-footer h4{font-size:13px;font-weight:800;color:#fff;margin:0 0 12px}.gmg-footer h4:after{content:"";display:block;width:24px;height:2px;background:#dca82f;margin-top:8px;border-radius:3px}.gmg-footer-links p{margin:0 0 8px}.gmg-footer-links a{display:block;width:max-content;max-width:100%;margin:0 0 8px;color:#bfc9c1;text-decoration:none}.gmg-footer-links a:hover{color:#f5d477;transform:translateX(3px)}.gmg-footer-email{display:inline-flex!important;align-items:center;gap:8px;padding:10px 13px;border:1px solid rgba(220,168,47,.28);background:rgba(220,168,47,.08);border-radius:8px;color:#f5d477!important;font-weight:700;transform:none!important}.gmg-social{display:flex;gap:10px;flex-wrap:wrap}.gmg-social a{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.035);border-radius:4px;color:#e9eee9;transition:all .22s ease}.gmg-social a:hover{background:#dca82f;border-color:#dca82f;color:#102f24;transform:translateY(-3px)}.gmg-copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:48px;padding-top:20px;color:#84938a;font-size:11px;display:flex;justify-content:space-between;align-items:center;gap:20px}.gmg-copyright p{margin:0;color:#84938a;font-size:11px}.gmg-copyright p:last-child{color:#aeb9b2;letter-spacing:.04em}
/* Editor/admin */
body.admin-bar .wp-block-template-part:has(.gmg-topbar){top:32px}@media(max-width:782px){body.admin-bar .wp-block-template-part:has(.gmg-topbar){top:46px}}
/* Responsive */
@media(max-width:1000px){.gmg-hero{min-height:auto;padding:65px 0 55px}.gmg-hero-grid{grid-template-columns:1fr;gap:12px}.gmg-hero-copy{max-width:760px}.gmg-hero-art{min-height:430px;margin-top:-5px}.gmg-story{grid-template-columns:1fr;gap:48px}.gmg-story-art{min-height:500px}.gmg-feature-row{grid-template-columns:repeat(3,1fr)}.gmg-footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:32px}.gmg-footer-brand{grid-row:span 2}.gmg-contact-card{grid-template-columns:auto 1fr}.gmg-contact-button{grid-column:2;justify-self:start}}
@media(max-width:700px){.gmg-topbar-inner{grid-template-columns:1fr auto}.gmg-topbar-tag{display:none}.gmg-nav{min-height:70px;gap:10px}.gmg-logo{width:94px;height:60px}.gmg-navlinks{gap:3px;flex-wrap:wrap;justify-content:flex-end}.gmg-navlinks a{padding:9px 10px;font-size:11px}.gmg-navlinks .gmg-active{padding-left:10px;padding-right:10px}.gmg-hero-grid{width:min(1180px,92%)}.gmg-hero-art{min-height:400px}.gmg-hero h1{font-size:54px}.gmg-product-grid,.gmg-mv-grid{grid-template-columns:1fr 1fr}.gmg-story-copy h2{font-size:48px}.gmg-feature-row{grid-template-columns:1fr}.gmg-contact-card{grid-template-columns:1fr}.gmg-contact-button{grid-column:auto}.gmg-footer-grid{grid-template-columns:1fr 1fr}.gmg-footer-brand{grid-column:1/-1;grid-row:auto}.gmg-copyright{display:block}.gmg-copyright p+p{margin-top:6px}}
@media(max-width:560px){.gmg-topbar{font-size:9px}.gmg-topbar-contact{gap:10px}.gmg-topbar-social{display:none}.gmg-nav{height:auto;min-height:68px;align-items:center}.gmg-navlinks{gap:0}.gmg-navlinks a{padding:8px 7px;font-size:10px}.gmg-navlinks .gmg-active{padding-left:8px;padding-right:8px}.gmg-hero{padding:46px 0 30px}.gmg-hero h1{font-size:48px;line-height:1;margin:12px 0 20px}.gmg-hero-copy>p{font-size:14px;line-height:1.65}.gmg-actions{margin-top:22px}.gmg-hero-note{margin-top:18px;gap:8px 14px;font-size:10.5px}.gmg-hero-art{min-height:295px;margin-top:5px}.gmg-plate{bottom:5%;width:92%;height:64px}.gmg-pouch-one{left:1%;top:23%;width:98px;height:157px}.gmg-pouch-two{right:1%;top:21%;width:98px;height:157px}.gmg-pouch-three{left:30%;bottom:14%;width:128px;height:203px}.gmg-section{padding:65px 0}.gmg-section-head{display:block}.gmg-section-head p{margin-top:15px}.gmg-product-grid,.gmg-mv-grid{grid-template-columns:1fr}.gmg-product-visual{height:270px}.gmg-product-image{height:235px!important}.gmg-about{padding:64px 0 72px}.gmg-story-art{min-height:455px;padding:30px 27px}.gmg-story-art h3{font-size:43px;margin-top:104px}.gmg-story-copy h2{font-size:41px}.gmg-story-copy>p{font-size:14px}.gmg-contact{padding:52px 0}.gmg-contact-card{padding:24px}.gmg-contact-copy h2{font-size:38px}.gmg-footer{padding:52px 0 22px}.gmg-footer-grid{grid-template-columns:1fr}.gmg-footer-brand{grid-column:auto}.gmg-copyright{margin-top:34px;line-height:1.7}}

/* FINAL V5 ALIGNMENT FIX — product artwork + footer */
.gmg-products .gmg-container{width:min(1180px,92%);margin-inline:auto}
.gmg-products .gmg-product-grid{width:100%;margin:0}
.gmg-products .gmg-product-card{min-width:0}
.gmg-products .gmg-product-visual figure{margin:0}
.gmg-products .gmg-product-image{margin:0 auto!important}
.gmg-footer .gmg-footer-links>p{margin:0 0 8px}
.gmg-footer .gmg-footer-links>p a{margin:0}
@media(max-width:900px){.gmg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gmg-footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:32px}.gmg-footer-brand{grid-row:span 2}}
@media(max-width:560px){.gmg-product-grid{grid-template-columns:1fr!important}.gmg-product-visual{height:270px}.gmg-product-image{width:140px!important;height:224px!important}.gmg-footer-grid{grid-template-columns:1fr 1fr;gap:30px 22px}.gmg-footer-brand{grid-column:1/-1;grid-row:auto;padding-right:0!important}.gmg-footer-grid>div:nth-child(4),.gmg-footer-grid>div:nth-child(5){grid-column:1/-1}.gmg-copyright{display:block;margin-top:34px;line-height:1.7}.gmg-copyright p+p{margin-top:6px}}

/* GMG V5.2 content updates */
.gmg-contact-address{display:block!important;max-width:720px;margin:10px 0 0!important;color:#5f5b51;font-size:13px;line-height:1.65}
.gmg-footer-address{max-width:220px;color:#bfc9c1!important;line-height:1.6!important;margin-top:10px!important}
.gmg-social a{font-weight:800;text-decoration:none!important}

/* V5.3 layout + approved About visual restoration */
.gmg-story{width:min(1180px,92%);margin-inline:auto}
.gmg-story-art{isolation:isolate}
.gmg-story-art .spice-display{position:absolute;z-index:2;left:38px;right:28px;bottom:-4px;height:185px;pointer-events:none}
.gmg-story-art .spice-bowl{position:absolute;bottom:12px;width:150px;height:70px;border-radius:0 0 75px 75px;background:linear-gradient(180deg,#5b331c,#29180e);box-shadow:0 18px 25px rgba(0,0,0,.30),inset 0 7px 8px rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12)}
.gmg-story-art .spice-bowl:before{content:"";position:absolute;left:5px;right:5px;top:-22px;height:48px;border-radius:50%;background:radial-gradient(ellipse at 50% 42%,var(--spice) 0 56%,rgba(65,36,19,.96) 58% 69%,transparent 70%);box-shadow:inset 0 5px 7px rgba(255,255,255,.16)}
.gmg-story-art .spice-bowl:after{content:"";position:absolute;left:28px;right:28px;top:4px;height:8px;border-radius:50%;background:rgba(255,255,255,.08);filter:blur(3px)}
.gmg-story-art .spice-bowl.b1{left:2%;--spice:#d39a12;transform:scale(.82);z-index:1}
.gmg-story-art .spice-bowl.b2{left:30%;--spice:#a8231e;transform:scale(1.13);z-index:3}
.gmg-story-art .spice-bowl.b3{right:2%;--spice:#bcae72;transform:scale(.86);z-index:2}
.gmg-story-art .spice-leaf{position:absolute;bottom:65px;width:55px;height:22px;border-radius:100% 0 100% 0;background:linear-gradient(135deg,#5d873d,#193f2d);transform:rotate(-28deg);opacity:.9;filter:drop-shadow(0 5px 4px rgba(0,0,0,.16))}
.gmg-story-art .spice-leaf.l1{left:7%;bottom:104px}.gmg-story-art .spice-leaf.l2{left:78%;bottom:94px;transform:rotate(28deg) scale(.8)}.gmg-story-art .spice-leaf.l3{left:62%;bottom:132px;transform:rotate(55deg) scale(.62)}
@media(max-width:1000px){.gmg-story{width:min(1180px,92%)} }
@media(max-width:560px){.gmg-story{width:92%;margin-inline:auto}.gmg-story-art .spice-display{left:2px;right:0;transform:scale(.76);transform-origin:bottom center}.gmg-pouch-one{left:1%;top:23%}.gmg-pouch-two{right:1%;top:21%}.gmg-pouch-three{left:30%;bottom:14%}}

/* V5.4.1 sticky topbar + navigation as one unit + click-only navigation state */
#home,#products,#about,#mission-vision,#contact{scroll-margin-top:96px}
.gmg-navlinks a.gmg-active{background:var(--ink);color:#fff;border-color:var(--ink);box-shadow:0 7px 18px rgba(37,37,37,.16)}
.gmg-navlinks a.gmg-active:hover{background:var(--red);border-color:var(--red);color:#fff}



/* V5.4.3 mobile fix: keep About illustration below the copy */
@media(max-width:560px){
  .gmg-story-art{min-height:520px;padding-bottom:28px}
  .gmg-story-art h3{font-size:39px;line-height:1.02;margin-top:92px;max-width:100%;position:relative;z-index:3}
  .gmg-story-art .gmg-about-sub{max-width:100%;position:relative;z-index:3;margin-top:16px;padding-bottom:110px}
  .gmg-story-art .spice-display{left:0;right:0;bottom:0;height:112px;transform:none;z-index:1}
  .gmg-story-art .spice-bowl{bottom:0;width:118px;height:55px}
  .gmg-story-art .spice-bowl:before{top:-17px;height:37px}
  .gmg-story-art .spice-bowl.b1{left:0;transform:scale(.72)}
  .gmg-story-art .spice-bowl.b2{left:30%;transform:scale(.96)}
  .gmg-story-art .spice-bowl.b3{right:0;transform:scale(.74)}
  .gmg-story-art .spice-leaf{width:38px;height:15px;bottom:56px}
  .gmg-story-art .spice-leaf.l1{left:12%;bottom:48px}
  .gmg-story-art .spice-leaf.l2{left:76%;bottom:43px;transform:rotate(28deg) scale(.68)}
  .gmg-story-art .spice-leaf.l3{left:58%;bottom:66px;transform:rotate(55deg) scale(.5)}
}

/* V5.4.5: mobile navigation layout — logo row + balanced link grid */
@media(max-width:560px){
  .gmg-header .gmg-nav{
    width:94%;
    min-height:0;
    height:auto;
    padding:9px 0 11px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
  }
  .gmg-logo-wrap{margin:0 auto!important;flex:0 0 auto}
  .gmg-logo{width:88px;height:55px}
  .gmg-navlinks{
    width:100%;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    align-items:stretch;
    justify-content:stretch;
    gap:3px;
    font-size:11px;
  }
  .gmg-navlinks p{min-width:0;text-align:center}
  .gmg-navlinks p:nth-child(1){grid-column:1 / span 2}
  .gmg-navlinks p:nth-child(2){grid-column:3 / span 2}
  .gmg-navlinks p:nth-child(3){grid-column:5 / span 2}
  .gmg-navlinks p:nth-child(4){grid-column:2 / span 2}
  .gmg-navlinks p:nth-child(5){grid-column:4 / span 2}
  .gmg-navlinks a,
  .gmg-navlinks .gmg-active{
    width:100%;
    min-height:34px;
    box-sizing:border-box;
    padding:7px 3px;
    font-size:10.5px;
    line-height:1.15;
    white-space:normal;
    text-align:center;
    border-radius:999px;
  }
  .gmg-navlinks .gmg-active{padding-left:3px;padding-right:3px}
  #home,#products,#about,#mission-vision,#contact{scroll-margin-top:150px}
}
@media(max-width:360px){
  .gmg-navlinks a,.gmg-navlinks .gmg-active{font-size:9.5px;padding-left:2px;padding-right:2px}
}
