/*
Theme Name: Magik Nectar V5.4
Version: 5.4.0
Description: Custom catalogue-first framework for Magik Nectar.
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: magik-nectar
*/
:root{--green:#153d2e;--dark:#09291e;--gold:#d7b66a;--cream:#fff0c8}*{box-sizing:border-box}body{margin:0;background:var(--green);color:var(--gold);font:17px/1.65 system-ui,sans-serif}a{color:var(--gold)}a:hover{color:var(--cream)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #fff0c8;outline-offset:4px}h1,h2,h3,.nav{font-family:'Ink Free','Segoe Print','Bradley Hand',cursive;font-weight:500;line-height:1.2}h1{font-size:clamp(2.7rem,6vw,5.5rem);margin:.2em 0}h2{font-size:clamp(1.8rem,4vw,3rem)}img{max-width:100%;height:auto}.wrap{max-width:1240px;margin:auto;padding:0 24px}.header{background:var(--dark);border-bottom:1px solid #a68b50}.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.brand img{width:105px;display:block}.nav{display:flex;gap:22px;flex-wrap:wrap;align-items:center}.nav a{text-decoration:none;font-size:17px}.hero{display:grid;grid-template-columns: .9fr 1.1fr;min-height:460px;align-items:center;background:radial-gradient(ellipse at right,#41652c,var(--dark) 70%);overflow:hidden}.hero-copy{padding:clamp(24px,5vw,80px)}.hero-photo{width:100%;height:100%;min-height:400px;object-fit:cover;animation:arrive 1.3s ease both}.eyebrow{letter-spacing:.18em;text-transform:uppercase;font-size:.75rem}.button,button,input[type=submit]{display:inline-block;background:var(--gold);color:var(--dark);padding:12px 24px;border:0;border-radius:30px;text-decoration:none;font-weight:700}.button:hover{background:var(--cream);color:var(--dark)}.section{padding:48px 0}.center{text-align:center}.banner{display:block;width:100%;max-height:420px;object-fit:contain;background:var(--dark)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:18px}.tile{background:#0d3024;border:1px solid #806e42;border-radius:14px;padding:22px}.tile h3{font-size:1.55rem;margin:8px 0}.tile summary{cursor:pointer;font-weight:600}.tile p{font-size:.95rem}.sizes{font-size:.85rem;color:var(--cream)}.footer{background:var(--dark);padding:30px 0;border-top:1px solid #806e42}.social{display:flex;gap:18px;flex-wrap:wrap}.note{font-size:.85rem}.content{max-width:850px;margin:auto}.content input,.content textarea,.woocommerce input,.woocommerce textarea,.woocommerce select{color:#153d2e;background:#fff;padding:10px;max-width:100%}.woocommerce a.button{color:#153d2e}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;background:#fff;color:#000;z-index:9999}@keyframes arrive{from{opacity:0;transform:translateX(25px)}to{opacity:1;transform:none}}@media(max-width:760px){.hero{grid-template-columns:1fr}.hero-photo{min-height:0;height:auto}.nav{gap:12px}.header .wrap{justify-content:center}.hero-copy{text-align:center}.section{padding:30px 0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.header .wrap{max-width:1500px}.nav a{font-size:clamp(19px,1.45vw,25px);font-weight:700}.nav{gap:clamp(14px,1.5vw,28px)}.hero-logo{width:clamp(120px,13vw,205px);display:block;margin:0 0 12px}.hero h1{font-size:clamp(2.5rem,4.4vw,4.8rem)}.hero-copy{padding:clamp(24px,4vw,64px)}.page-banner{position:relative;width:100%;border-top:1px solid var(--gold);border-bottom:1px solid var(--gold);background:var(--dark)}.banner-photo{display:block;width:100%;height:auto}.banner-brand{position:absolute;left:4%;top:50%;transform:translateY(-50%);width:15%;max-height:90%;object-fit:contain}.header{border-bottom:0}.hero{border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}.banner{border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}@media(max-width:760px){.hero-logo{margin:0 auto 12px}.nav a{font-size:19px}.page-banner{min-height:100px;display:flex;align-items:center}.banner-photo{min-height:100px;object-fit:cover;object-position:right}.banner-brand{width:16%}}

.header .wrap{max-width:none;flex-wrap:nowrap}.brand{order:3}.brand img{width:100px}.nav{flex:1;justify-content:center}.nav a{font-size:clamp(19px,1.6vw,27px)}.hero-logo{width:min(410px,85%)}.hero-photo{object-fit:contain}.full-collection{width:100%;padding:0}.full-collection img{width:100%;display:block;border-block:1px solid var(--gold)}.page-banner{display:grid;grid-template-columns:18% 82%;align-items:center}.banner-brand{position:static;transform:none;width:85%;margin:auto}.banner-photo{grid-column:2;grid-row:1;width:100%;height:clamp(140px,26vw,480px);object-fit:contain}.banner-brand{grid-column:1;grid-row:1}.tile img{width:100%;height:260px;object-fit:contain}.tile a{text-decoration:none}.categories{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:28px}.latest .tile{animation:arrive 1s both}.latest .tile:nth-child(2){animation-delay:.15s}.latest .tile:nth-child(3){animation-delay:.3s}.content{max-width:900px}.content h2{font-size:2rem}@media(max-width:760px){.header .wrap{flex-wrap:wrap}.nav{flex-basis:75%}.brand img{width:70px}.hero-logo{width:min(330px,85%)}.page-banner{grid-template-columns:20% 80%}}

/* V4: edge-to-edge imagery, responsive brand lockup. */
.page-banner{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;overflow:hidden;isolation:isolate;background:var(--dark)}
.banner-photo{grid-area:1/1;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain;display:block}
.banner-identity{grid-area:1/1;z-index:1;align-self:start;justify-self:start;display:flex;align-items:center;gap:clamp(8px,1.5vw,24px);padding:clamp(10px,2vw,32px);max-width:54%;background:linear-gradient(110deg,rgba(5,29,20,.96),rgba(5,29,20,.84) 75%,rgba(5,29,20,.45));border-radius:0 0 24px 0}
.banner-identity .banner-brand{position:static;transform:none;width:clamp(72px,12vw,220px);height:auto;margin:0;flex-shrink:0;max-height:none}
.banner-identity span,.hero-identity h1{font-family:'Ink Free','Segoe Print','Bradley Hand',cursive;color:var(--gold);font-size:clamp(1.3rem,3vw,3.5rem);line-height:1.15;text-shadow:0 2px 4px #09291e;margin:0}
.hero{position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;min-height:0;isolation:isolate;background:var(--dark)}
.hero-photo{grid-area:1/1;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;animation:none}
.hero-copy{grid-area:1/1;z-index:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:46%;padding:clamp(20px,3vw,56px);background:linear-gradient(90deg,rgba(5,29,20,.97),rgba(5,29,20,.88) 78%,rgba(5,29,20,.35));min-height:clamp(360px,47vw,760px)}
.hero-identity{display:flex;align-items:center;gap:clamp(10px,2vw,30px);width:100%}.hero-identity .hero-logo{width:48%;margin:0;flex-shrink:0}.hero-identity h1{font-size:clamp(1.6rem,3.2vw,4rem)}
.full-collection .banner{max-height:none;height:auto;object-fit:contain}
@media(max-width:760px){.page-banner{display:flex;flex-direction:column}.banner-identity{order:-1;max-width:none;width:100%;border-radius:0;justify-content:center;background:var(--dark)}.banner-photo{width:100%;height:auto}.hero{display:flex;flex-direction:column}.hero-copy{width:100%;min-height:0;background:var(--dark);align-items:center;text-align:center}.hero-identity{justify-content:center}.hero-identity .hero-logo{width:min(42%,180px)}.hero-photo{height:auto;object-fit:contain}.hero-identity h1{font-size:clamp(1.5rem,5vw,2.5rem)}}

/* V4.1: larger editorial typography, responsive on small screens. */
.content{max-width:1120px;width:100%;font-size:30px;line-height:1.55;overflow-wrap:break-word}
.content h2{font-size:56px;line-height:1.2;margin:1em 0 .55em}
.content h3{font-size:42px;line-height:1.25}
.content p,.content li{font-size:inherit;line-height:inherit}
.content p{margin:0 0 1.15em}
.content ul,.content ol{padding-inline-start:1.4em}
@media(max-width:760px){.content{font-size:clamp(21px,4.6vw,27px);line-height:1.55}.content h2{font-size:clamp(32px,7vw,46px)}.content h3{font-size:clamp(27px,6vw,36px)}}
/* V5 catalogue and softer image treatment */
.hero-copy,.banner-identity{background:linear-gradient(90deg,rgba(5,29,20,.94),rgba(5,29,20,.78) 65%,rgba(5,29,20,0));border-radius:0;padding-right:5%}.hero-photo{object-fit:contain;height:auto;align-self:center}.hero-copy{min-height:0}.banner-identity{max-width:55%}.woocommerce ul.products li.product img,.mn-product-image{width:100%;height:auto;object-fit:contain;display:block}.woocommerce div.product div.images{max-width:480px}.woocommerce div.product .mn-product-image{max-width:480px}.mn-product-details{font-size:clamp(18px,1.5vw,25px);line-height:1.55}.woocommerce ul.products li.product h2{font-size:clamp(22px,2vw,32px)}@media(max-width:760px){.hero-copy,.banner-identity{background:var(--dark);max-width:none;padding:20px}.woocommerce div.product div.images{max-width:100%}}

.woocommerce ul.products li.product img.mn-product-image{aspect-ratio: 4 / 5;object-fit:contain;background:var(--dark);height:auto;width:100%;}

/* V5.2 responsive navigation and page titles */
.menu-toggle{display:none}.nav a[aria-current="page"]{color:var(--cream);text-decoration:underline;text-underline-offset:7px}.page-title-band{background:var(--dark);padding:18px 24px;text-align:center;border-top:1px solid var(--gold)}.page-title-band h1{font-size:clamp(1.8rem,4vw,3.5rem);margin:0}.page-banner{display:block;min-height:0}.banner-photo{width:100%;height:auto;min-height:0;object-fit:contain}.hero-copy{background:linear-gradient(90deg,rgba(5,29,20,.94),rgba(5,29,20,.60) 55%,transparent)}.woocommerce ul.products li.product a.button{background:var(--gold);color:var(--dark);border-radius:24px;padding:12px 20px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(18px,1.6vw,26px)}.woocommerce ul.products li.product img.mn-product-image{background:transparent}.section.wrap{padding-inline:24px}
@media(max-width:1050px){.header .wrap{display:grid;grid-template-columns:1fr auto;gap:8px;padding:8px 16px;align-items:center}.brand{order:0;justify-self:start}.brand img{width:52px}.menu-ready .menu-toggle{display:inline-flex;align-items:center;gap:8px;justify-self:end;padding:9px 16px;font-size:16px}.menu-toggle span{font-size:21px}.header .nav{grid-column:1/-1;display:flex;flex-direction:column;align-items:stretch;gap:0}.menu-ready .menu-toggle[aria-expanded="false"]+.nav{display:none}.nav a{padding:10px 6px;font-size:19px;border-top:1px solid #806e42}.header .social{grid-column:1/-1;justify-content:center}.header .social:empty{display:none}}
@media(max-width:760px){.hero{display:flex;flex-direction:column}.hero-photo{order:-1;width:100%;height:auto;object-fit:contain}.hero-copy{background:var(--dark);padding:18px 16px 24px;gap:8px}.hero-identity{gap:12px}.hero-identity .hero-logo{width: min(29%,100px)}.hero-identity h1{font-size:clamp(1.35rem,5vw,2rem)}.hero-copy p{margin:4px 0;font-size:16px}.hero-copy .eyebrow{font-size:11px}.hero-copy .button{padding:10px 20px;font-size:16px}.section.wrap{padding-inline:16px}.content{font-size:18px}.content h2{font-size:29px}.content h3{font-size:24px}.categories{gap:8px}.categories .button{font-size:13px;padding:8px 12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px}.woocommerce ul.products li.product a.button{font-size:14px;padding:9px 12px}.page-title-band{padding:14px 12px}.page-title-band h1{font-size:26px}}

/* V5.3 motion, progressive enhancement */
.mn-rotator{position:relative;display:grid;grid-area:1/1;align-self:center;overflow:hidden;width:100%;isolation:isolate}.mn-rotator img{grid-area:1/1;width:100%;height:auto;display:block;opacity:0;transition:opacity 1.1s ease;pointer-events:none}.mn-rotator img.is-current{opacity:1}.mn-motion-toggle{position:absolute;right:12px;bottom:12px;z-index:2;font-size:14px;padding:8px 14px}.mn-motion-toggle[hidden]{display:none}.hero-copy{pointer-events:none}.hero-copy a{pointer-events:auto}.mn-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;transition-delay:var(--mn-delay,0ms)}.mn-reveal.is-visible,.mn-reveal:focus-within{opacity:1;transform:none}.latest .tile{animation:none}.woocommerce ul.products li.product img,.latest .tile img{transition:transform .35s ease}.woocommerce ul.products li.product a:hover img,.latest .tile a:hover img{transform:scale(1.025)}.button,.woocommerce a.button{transition:background-color .25s,color .25s}.mn-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.mn-featured .tile img{height:auto;aspect-ratio:4/5;object-fit:contain}.mn-featured .tile{padding:12px}@media(max-width:760px){.mn-rotator{order:-1}.mn-featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mn-featured .tile h3{font-size:1.1rem}}@media(prefers-reduced-motion:reduce){.mn-reveal{opacity:1;transform:none}.mn-rotator img{transition:none}}

/* V5.4: animate imagery only; keep links and descriptions interactive. */
.mn-rotator img{opacity:0;transform:translateX(12%);transition:none;z-index:0}.mn-rotator img.is-current{opacity:1;transform:none;z-index:1;animation:mn-side-in 2.8s ease-in-out both}.mn-rotator img.is-leaving{z-index:0;animation:mn-side-out 2.8s ease-in-out both}.mn-motion-toggle{z-index:3}.hero-copy{z-index:2}.mn-arrive{animation:mn-side-in 1.8s ease-out both}@keyframes mn-side-in{from{opacity:0;transform:translateX(12%)}to{opacity:1;transform:translateX(0)}}@keyframes mn-side-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-12%)}}
.woocommerce ul.products li.product{opacity:1;transform:none;pointer-events:auto}.woocommerce ul.products li.product a{pointer-events:auto;touch-action:manipulation}.woocommerce ul.products li.product a.button{position:relative;z-index:2;min-height:44px;display:inline-flex;align-items:center}.mn-mobile-details{display:none}
@media(max-width:760px){.hero{overflow:hidden}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:100%!important;max-width:100%;clear:both}.woocommerce div.product .summary,.mn-product-details{display:block!important;visibility:visible!important;opacity:1!important;overflow-wrap:anywhere}.mn-mobile-details{display:block;margin:10px 0;color:var(--cream);font-size:15px;line-height:1.5}.mn-mobile-details summary{cursor:pointer;padding:10px 0;color:var(--gold);min-height:44px}.mn-mobile-details p{margin:6px 0}.woocommerce ul.products li.product{overflow:visible}}
@media(prefers-reduced-motion:reduce){.mn-rotator img.is-current{transform:none;opacity:1}.mn-rotator img.is-leaving{opacity:0}.mn-arrive{opacity:1;transform:none}}
