/*
Theme Name: AL MIQDAAD Luxury Complete
Theme URI: https://almiqdaad.com
Author: AL MIQDAAD
Description: Luxury packaging brand theme for AL MIQDAAD Premium Packaging — converted from the original Next.js design. Includes a Products post type with a Pouch/Jar/Tin format switcher, a Factory page template with video, and a Quote enquiry form that opens WhatsApp.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: almiqdaad
*/

:root{--emerald:#062f28;--deep:#021b17;--gold:#c9a24c;--gold2:#ead59a;--ivory:#f4efe5;--paper:#fbf8f1;--ink:#17231f;--muted:#6f7974;--line:rgba(23,35,31,.14)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;margin:0;font-weight:500}
.header{position:fixed;z-index:50;top:0;left:0;right:0;height:92px;padding:0 4.5vw;display:flex;align-items:center;justify-content:space-between;color:white;transition:.35s}.header.scrolled{height:76px;background:rgba(2,27,23,.91);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.11)}.brandLogo{width:190px;height:80px;display:flex;align-items:center}.brandLogo img{width:100%;height:68px;object-fit:contain;filter:drop-shadow(0 4px 16px rgba(0,0,0,.2))}.nav{display:flex;align-items:center;gap:27px;font-size:12px;letter-spacing:.04em}.nav>a:not(.button){opacity:.82}.nav>a:hover{opacity:1}.menu{display:none;border:0;background:none;color:white;font-size:27px;cursor:pointer}.button{display:inline-flex;align-items:center;justify-content:center;padding:15px 23px;background:var(--gold);border:1px solid var(--gold);color:#17231f;font-size:12px;font-weight:700;letter-spacing:.06em;transition:.28s;cursor:pointer}.button:hover{background:var(--gold2);transform:translateY(-2px)}.button.small{padding:11px 16px}.button.ghost{background:transparent;color:white;border-color:rgba(255,255,255,.65)}
.luxuryHero{height:100vh;min-height:760px;position:relative;color:white;overflow:hidden}.luxuryHero img{object-fit:cover;animation:heroZoom 16s ease-out both}.cinemaShade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,22,18,.94),rgba(2,22,18,.56) 50%,rgba(2,22,18,.12)),linear-gradient(0deg,rgba(2,22,18,.55),transparent 45%)}.heroContent{position:absolute;left:7vw;top:50%;transform:translateY(-43%);max-width:820px}.kicker,.eyebrow{font-size:10px;letter-spacing:.3em;font-weight:700;color:var(--gold2);margin:0 0 19px}.kicker.dark{color:#8b6d29}.heroContent h1{font-size:clamp(56px,7.4vw,105px);line-height:.91;letter-spacing:-.045em}.heroContent>p:not(.kicker){max-width:640px;font-size:16px;line-height:1.8;color:rgba(255,255,255,.78);margin:28px 0}.actions{display:flex;gap:12px;flex-wrap:wrap}.scrollMark{position:absolute;left:7vw;bottom:26px;font-size:9px;letter-spacing:.3em;color:rgba(255,255,255,.66)}@keyframes heroZoom{from{transform:scale(1.06)}to{transform:scale(1)}}
.manifesto{padding:150px 12vw;text-align:center;background:var(--ivory)}.manifesto h2{max-width:1050px;margin:auto;font-size:clamp(44px,6vw,78px);line-height:1.04}.manifesto>p:last-child{max-width:720px;margin:30px auto 0;color:var(--muted);line-height:1.9}
.section{padding:120px 7vw}.sectionHead{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:54px}.sectionHead h2,.storyText h2,.processLuxury h2,.quoteCall h2{font-size:clamp(44px,5.5vw,72px);line-height:1}.textLink{font-size:12px;color:#7e6327;font-weight:700}.luxuryGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.luxuryCard{background:#f2ece0;border:1px solid var(--line);overflow:hidden;transition:.35s}.luxuryCard:hover{transform:translateY(-9px);box-shadow:0 24px 60px rgba(8,43,35,.13)}.luxuryImage{position:relative;aspect-ratio:4/5;overflow:hidden}.luxuryImage img{width:100%;height:100%;object-fit:cover;transition:.65s}.luxuryCard:hover img{transform:scale(1.035)}.luxuryCard>div:last-child{padding:24px}.luxuryCard span{font-family:Georgia;font-size:19px;color:#9b7a2e}.luxuryCard p{font-size:9px;letter-spacing:.2em;color:#8b6d29;font-weight:700}.luxuryCard h3{font-size:29px}
.storyShowcase{display:grid;grid-template-columns:1.05fr .95fr;min-height:820px;background:var(--ivory)}.storyVisual{position:relative;min-height:650px}.storyVisual img{object-fit:cover}.storyText{padding:110px 8vw;display:flex;flex-direction:column;justify-content:center}.storyText>p:not(.kicker){color:var(--muted);line-height:1.85}.storyText ul{list-style:none;padding:0;margin-top:25px;border-top:1px solid var(--line)}.storyText li{display:grid;grid-template-columns:170px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.storyText li span{color:var(--muted);line-height:1.6}
.processLuxury{padding:120px 7vw;background:var(--deep);color:white}.processLuxury>div:first-child{max-width:780px}.processSteps{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:65px;background:rgba(255,255,255,.12)}.processSteps article{padding:32px;background:var(--deep)}.processSteps span{font-family:Georgia;font-size:26px;color:var(--gold)}.processSteps h3{font-size:31px;margin-top:32px}.processSteps p{color:rgba(255,255,255,.55);line-height:1.7;font-size:13px}
.brandGallery{height:720px;position:relative;color:white}.brandGallery img{object-fit:cover}.brandGallery:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,27,23,.9),rgba(2,27,23,.18))}.brandGalleryText{position:absolute;z-index:2;left:7vw;top:50%;transform:translateY(-50%);max-width:600px}.brandGalleryText h2{font-size:clamp(48px,6vw,80px)}.brandGalleryText p:last-child{color:rgba(255,255,255,.66)}
.quoteCall{text-align:center;padding:140px 8vw;background:#f0e6cf}.quoteCall h2{max-width:900px;margin:0 auto 35px}
.section video.wide{background:#000;box-shadow:0 30px 70px rgba(8,43,35,.18)}
.pageHero{min-height:590px;padding:170px 7vw 85px;background:var(--deep);color:white;display:flex;align-items:end}.pageHero h1{font-size:clamp(52px,7vw,92px)}.pageHero p{max-width:700px;color:rgba(255,255,255,.68);line-height:1.8}.catalog{display:grid;gap:90px}.catalog article{display:grid;grid-template-columns:1fr 1fr;gap:7vw;align-items:center}.catalog article img{width:100%;max-height:760px;object-fit:cover}.catalog article p,.long{color:var(--muted);line-height:1.85}.wide{width:100%;margin-top:35px}.quoteForm{display:grid;gap:18px;max-width:980px}.formRow{display:grid;grid-template-columns:1fr 1fr;gap:18px}.quoteForm label{display:grid;gap:8px;font-size:11px;font-weight:700;letter-spacing:.04em}.quoteForm input,.quoteForm select,.quoteForm textarea{padding:16px;border:1px solid var(--line);background:white;font:inherit}
footer{background:#011713;color:white}.footerTop{padding:75px 7vw;display:grid;grid-template-columns:1.3fr .7fr .8fr 1fr;gap:50px}.footerTop img{width:230px;height:110px;object-fit:contain}.footerTop h4{font-size:10px;letter-spacing:.22em;color:var(--gold2)}.footerTop a,.footerTop p{display:block;color:rgba(255,255,255,.58);font-size:12px;line-height:1.85;margin:0 0 5px}.footerBottom{padding:18px 7vw;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;color:rgba(255,255,255,.38);font-size:9px;letter-spacing:.16em}
@media(max-width:1000px){.menu{display:block}.nav{display:none;position:absolute;top:76px;left:0;right:0;padding:28px 7vw;background:var(--deep);flex-direction:column;align-items:stretch}.nav.open{display:flex}.luxuryGrid,.processSteps{grid-template-columns:1fr 1fr}.storyShowcase{grid-template-columns:1fr}.storyVisual{min-height:650px}.footerTop{grid-template-columns:1fr 1fr}.catalog article{grid-template-columns:1fr}}
@media(max-width:650px){.header{height:72px}.brandLogo{width:150px}.brandLogo img{height:58px}.luxuryHero{min-height:730px}.cinemaShade{background:linear-gradient(0deg,rgba(2,22,18,.96),rgba(2,22,18,.12) 82%)}.heroContent{left:6vw;right:6vw;top:auto;bottom:82px;transform:none}.heroContent h1{font-size:50px}.heroContent>p:not(.kicker){font-size:14px}.manifesto{padding:95px 7vw}.section{padding:82px 6vw}.sectionHead{display:block}.sectionHead .textLink{display:inline-block;margin-top:18px}.luxuryGrid,.processSteps,.formRow,.footerTop{grid-template-columns:1fr}.storyText{padding:80px 6vw}.storyText li{grid-template-columns:1fr}.brandGallery{height:620px}.pageHero{padding:140px 6vw 70px}.footerBottom{display:grid;gap:8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.productDetail{min-height:100vh;padding-top:92px;display:grid;grid-template-columns:1fr 1fr;background:var(--ivory)}.detailImage{position:relative;min-height:850px}.detailImage img{object-fit:cover}.detailCopy{padding:110px 8vw;display:flex;flex-direction:column;justify-content:center}.detailCopy h1{font-size:clamp(52px,7vw,92px);line-height:.95}.detailCopy>p:not(.kicker){color:var(--muted);line-height:1.85}.detailCopy dl{margin:28px 0;border-top:1px solid var(--line)}.detailCopy dl div{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}.detailCopy dt{font-size:11px;font-weight:700;letter-spacing:.06em}.detailCopy dd{margin:0;color:var(--muted)}.specNote{font-size:12px;padding:16px;border-left:3px solid var(--gold);background:rgba(255,255,255,.48)}.legal{max-width:920px}.legal h2{font-size:38px;margin-top:40px}.legal p{color:var(--muted);line-height:1.9}@media(max-width:900px){.productDetail{grid-template-columns:1fr}.detailImage{min-height:650px}.detailCopy{padding:80px 7vw}}@media(max-width:650px){.productDetail{padding-top:72px}.detailImage{min-height:520px}.detailCopy dl div{grid-template-columns:1fr}.detailCopy{padding:65px 6vw}}
.formatTabs{position:absolute;z-index:3;left:24px;bottom:24px;display:flex;gap:8px;background:rgba(2,27,23,.55);backdrop-filter:blur(10px);padding:6px;border-radius:2px}.formatTab{padding:9px 18px;border:1px solid rgba(255,255,255,.28);background:transparent;color:rgba(255,255,255,.75);font-size:11px;font-weight:700;letter-spacing:.08em;cursor:pointer;transition:.25s}.formatTab:hover{color:#fff;border-color:rgba(255,255,255,.55)}.formatTab.active{background:var(--gold);border-color:var(--gold);color:#17231f}
@media(max-width:650px){.formatTabs{left:14px;bottom:14px}.formatTab{padding:8px 12px;font-size:10px}}
