
@import url("./premium-navbar.css?v=2");

:root{
--bg:#faf8f5;
--card:#fff;
--text:#1f1c19;
--muted:#756f69;
--brand:#8a5a3b;
--brand2:#b7835d;
--line:#e8e0d9;
--danger:#b42318;
--success:#147a43;
--shadow:0 10px 30px rgba(46,31,20,.08);
font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
img{max-width:100%}
.container{width:min(1180px,92%);margin:auto}

.topbar{
position:sticky;top:0;z-index:20;
background:rgba(250,248,245,.96);
backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);
border-bottom:1px solid var(--line)
}
.nav{min-height:68px;display:flex;align-items:center;gap:16px}
.brand{font-weight:900;letter-spacing:.08em;white-space:nowrap}
.navlinks{display:flex;gap:14px;margin-left:auto;align-items:center}
.navlinks a{color:var(--muted);font-size:14px;font-weight:600}
.navlinks a:hover{color:var(--text)}

.iconbtn,.btn{
border:0;border-radius:12px;padding:11px 16px;
cursor:pointer;font-weight:700;font-family:inherit
}
.btn{background:var(--brand);color:white}
.btn.secondary{background:#eee7e0;color:var(--text)}
.btn.danger{background:var(--danger);color:white}
.btn:disabled{opacity:.5;cursor:not-allowed}

.search{display:flex;gap:8px;flex:1;max-width:420px}
.input,.select,textarea{
width:100%;border:1px solid var(--line);
border-radius:12px;padding:12px;background:white;
font:inherit;outline:none
}
.input:focus,.select:focus,textarea:focus{
border-color:var(--brand2);
box-shadow:0 0 0 3px rgba(183,131,93,.10)
}

.hero{
margin:28px 0;padding:48px 30px;border-radius:24px;
background:linear-gradient(135deg,#efe3d8,#f9f6f2);
box-shadow:var(--shadow)
}
.hero h1{font-size:clamp(34px,6vw,64px);line-height:1;margin:0 0 14px}
.hero p{max-width:620px;color:var(--muted);font-size:18px}

.premium-hero{
background:#fbf7ef;border-radius:0;box-shadow:none;
padding:72px 10px 76px;margin:10px 0 38px
}
.hero-eyebrow{
color:#c58a08;font-size:14px;font-weight:900;
letter-spacing:.24em;margin-bottom:24px
}
.premium-hero h1{
max-width:900px;margin:0 0 30px;
font-family:Georgia,"Times New Roman",serif;
font-size:clamp(54px,8vw,96px);line-height:.96;
font-weight:700;letter-spacing:-.035em
}
.hero-highlight{color:#c88b00}
.premium-hero p{
max-width:760px;margin:0 0 34px;color:#756f69;
font-size:22px;line-height:1.55
}
.hero-btn{
display:inline-flex;align-items:center;justify-content:center;
min-width:165px;min-height:60px;padding:15px 28px;
border-radius:11px;background:#21170f;color:#fff;
font-size:18px;font-weight:800
}

.section{padding:28px 0}
.sectionhead{
display:flex;justify-content:space-between;
align-items:center;gap:12px;margin-bottom:16px
}
.category-section{padding-top:44px;padding-bottom:48px}
.category-heading{margin-bottom:26px}
.category-eyebrow{
color:#c58a08;font-size:13px;font-weight:900;
letter-spacing:.28em;margin-bottom:12px
}
.category-title-row{
display:flex;align-items:flex-end;
justify-content:space-between;gap:16px
}
.category-title-row h2{
margin:0;font-family:Georgia,"Times New Roman",serif;
font-size:clamp(36px,5vw,54px);line-height:1.05;
letter-spacing:-.02em
}
.category-shop-all{
color:#756f69;font-size:15px;font-weight:800;
white-space:nowrap;padding-bottom:5px;
transition:color .2s ease,transform .2s ease
}
.category-shop-all:hover{color:#8a5a3b;transform:translateX(2px)}
.category-grid{
display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px
}
.category-card{
position:relative;min-height:220px;display:flex;
flex-direction:column;align-items:center;justify-content:center;
gap:18px;padding:28px 18px;
background:linear-gradient(180deg,#ffffff,#fffdfb);
border:1px solid #e6ddd4;border-radius:24px;
text-align:center;overflow:hidden;
box-shadow:0 8px 28px rgba(46,31,20,.06);
transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
-webkit-tap-highlight-color:transparent
}
.category-card::before{
content:'';position:absolute;width:130px;height:130px;
top:-65px;right:-65px;border-radius:50%;
background:rgba(183,131,93,.08);pointer-events:none
}
.category-card:hover{
transform:translateY(-5px);border-color:rgba(183,131,93,.6);
box-shadow:0 16px 38px rgba(46,31,20,.11)
}
.category-card:active{transform:scale(.98)}
.category-icon{
width:84px;height:84px;display:flex;align-items:center;
justify-content:center;border-radius:22px;background:#fbf6f0;
border:1px solid #eee2d8;font-size:42px;
box-shadow:0 6px 16px rgba(46,31,20,.05);
transition:transform .22s ease,background .22s ease
}
.category-card:hover .category-icon{
transform:scale(1.06);background:#f8eee5
}
.category-name{
color:#1f1c19;font-size:21px;font-weight:850;line-height:1.2
}

.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{
background:var(--card);border:1px solid var(--line);
border-radius:18px;overflow:hidden;
box-shadow:0 5px 20px rgba(46,31,20,.04)
}
.cardbody{padding:14px}
.productimg{
width:100%;aspect-ratio:1/1;object-fit: contain;background:#eee
}
.price{font-weight:900;font-size:18px}
.old{
color:#aaa;text-decoration:line-through;margin-left:6px;font-size:13px
}
.muted{color:var(--muted)}
.pill{
display:inline-block;padding:5px 9px;border-radius:999px;
background:#f1e7df;font-size:12px
}
.form{
max-width:620px;margin:40px auto;background:white;
padding:24px;border-radius:20px;border:1px solid var(--line);
box-shadow:var(--shadow)
}
.form h1{margin-top:0}
.field{margin:14px 0}
.field label{
display:block;font-size:13px;font-weight:700;margin-bottom:7px
}
.message{
padding:12px;border-radius:10px;background:#f4eee8;margin:12px 0
}
.message.error{background:#feeceb;color:var(--danger)}
.message.success{background:#eaf8ef;color:var(--success)}

.cartrow,.orderrow{
display:grid;grid-template-columns:80px 1fr auto;
gap:14px;align-items:center;background:white;
border:1px solid var(--line);padding:12px;
border-radius:16px;margin:10px 0
}
.cartrow img{
width:80px;height:80px;object-fit:cover;border-radius:12px
}
.qty{display:flex;gap:8px;align-items:center}
.summary{
background:white;border:1px solid var(--line);
padding:18px;border-radius:18px
}
.summaryline{
display:flex;justify-content:space-between;gap:15px;margin:9px 0
}
.total{
font-size:22px;font-weight:900;border-top:1px solid var(--line);
padding-top:12px
}
.two{
display:grid;grid-template-columns:1.4fr .8fr;gap:20px
}
.gallery{
display:grid;grid-template-columns:80px 1fr;gap:12px
}
.thumbs img{
width:72px;height:72px;object-fit:cover;
border-radius:10px;margin-bottom:8px;cursor:pointer
}
.mainimage{
width:100%;max-height:600px;object-fit:contain;
background:#f1ece7;border-radius:18px
}
.bottomnav{display:none}
body.has-bottomnav{padding-bottom:0}
.timeline{
border-left:2px solid var(--line);padding-left:18px
}
.timelineitem{position:relative;margin:0 0 18px}
.timelineitem:before{
content:'';position:absolute;left:-25px;top:3px;
width:10px;height:10px;border-radius:50%;background:var(--brand)
}
.footer{padding:40px 0;color:var(--muted);text-align:center}
.empty{text-align:center;padding:50px;color:var(--muted)}

.modal{
position:fixed;inset:0;background:rgba(0,0,0,.65);
display:none;align-items:center;justify-content:center;
z-index:5000;padding:20px
}
.modal.show{display:flex}
.modalbox{
background:white;width:min(700px,92%);
max-height:90vh;overflow:auto;border-radius:20px;
padding:20px;box-shadow:0 25px 70px rgba(0,0,0,.28)
}
#cartSuccessPopup{z-index:6000}
#cartSuccessPopup .modalbox{
width:min(420px,92%);text-align:center
}

.adminnav{background:#211a15;color:white;padding:16px}
.adminnav a{margin-right:15px;color:#fff}
.adminmain{padding:24px}
.stats{
display:grid;grid-template-columns:repeat(4,1fr);gap:14px
}
.stat{
background:white;padding:20px;border:1px solid var(--line);
border-radius:16px
}
.stat b{font-size:28px;display:block;margin-top:8px}
.tablewrap{
overflow:auto;background:white;border:1px solid var(--line);
border-radius:16px
}
table{width:100%;border-collapse:collapse}
th,td{
padding:12px;border-bottom:1px solid var(--line);
text-align:left;font-size:14px
}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.hide{display:none!important}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.lightbox{
position:fixed;inset:0;background:rgba(0,0,0,.82);
display:flex;align-items:center;justify-content:center;
flex-direction:column;gap:16px;padding:20px;z-index:1000
}
.lightbox img{
max-width:min(92vw,900px);max-height:80vh;object-fit:contain
}

.product-card-open{
width:100%;padding:0;border:0;background:transparent;
color:inherit;text-align:left;cursor:pointer;font:inherit
}
/* Product quick-view popup: styled in js/app.js (MC UI styles) */

@media(max-width:850px){
body.has-bottomnav{padding-bottom:96px}
.grid{grid-template-columns:repeat(2,1fr)}
.two{grid-template-columns:1fr}
.navlinks{display:none}
.container{width:94%}
.premium-hero{padding:62px 12px 68px;margin:8px 0 32px}
.premium-hero h1{font-size:clamp(50px,9vw,76px)}
.premium-hero p{font-size:20px}
.category-grid{
grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
}
.category-card{min-height:195px}
.bottomnav{
position:fixed;left:10px;right:10px;bottom:10px;
z-index:3000;display:flex;align-items:center;
justify-content:space-around;gap:5px;padding:8px 7px;
background:rgba(255,255,255,.97);
border:1px solid rgba(232,224,217,.95);
border-radius:22px;
box-shadow:0 12px 35px rgba(46,31,20,.18);
backdrop-filter:blur(14px);
-webkit-backdrop-filter:blur(14px)
}
.bottomnav a{
flex:1;min-width:0;min-height:62px;
padding:7px 2px;border-radius:16px;
display:flex;flex-direction:column;align-items:center;
justify-content:center;gap:5px;color:#756f69;
text-align:center;
transition:background .2s ease,color .2s ease,
transform .2s ease,box-shadow .2s ease
}
.bottomnav a svg{
width:23px;height:23px;display:block;
flex-shrink:0;stroke:currentColor
}
.bottomnav a span{
display:block;width:100%;overflow:hidden;
text-overflow:ellipsis;white-space:nowrap;
font-size:11px;line-height:1;font-weight:800
}
.bottomnav a.active{
background:linear-gradient(180deg,#9b613c,#7e492a);
color:#fff;
box-shadow:0 8px 18px rgba(138,90,59,.25)
}
.bottomnav a:active{transform:scale(.95)}
.stats{grid-template-columns:repeat(2,1fr)}
.gallery{grid-template-columns:1fr}
.thumbs{display:flex;gap:8px;overflow:auto;padding-bottom:5px}
.cartrow{grid-template-columns:60px 1fr}
.cartrow img{width:60px;height:60px}
.cartrow .actions{grid-column:1/-1}
}

@media(max-width:700px){
}

@media(max-width:600px){
body.has-bottomnav{padding-bottom:94px}
.container{width:94%}
.grid{
grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.two{grid-template-columns:1fr}
.gallery{grid-template-columns:1fr}
.navlinks{display:none}
.nav{
min-height:60px;flex-wrap:wrap;gap:8px;padding:8px 0
}
.brand{width:100%;text-align:center;font-size:14px}
.search{width:100%;max-width:none}
.search .input{min-width:0}
.search .btn{flex-shrink:0;padding:10px 14px}
.premium-hero{
padding:54px 8px 60px;margin:6px 0 30px;
border-radius:0;background:#fbf7ef
}
.hero-eyebrow{
margin-bottom:20px;font-size:13px;letter-spacing:.20em
}
.premium-hero h1{
margin-bottom:28px;font-size:clamp(48px,13vw,60px);
line-height:.96
}
.premium-hero p{
margin-bottom:30px;font-size:18px;line-height:1.55
}
.hero-btn{
min-width:145px;min-height:56px;
padding:14px 24px;font-size:18px
}
.category-section{padding-top:30px;padding-bottom:34px}
.category-heading{margin-bottom:20px}
.category-eyebrow{
font-size:12px;letter-spacing:.24em;margin-bottom:9px
}
.category-title-row{align-items:flex-end}
.category-title-row h2{font-size:clamp(34px,9vw,44px)}
.category-shop-all{font-size:14px;padding-bottom:3px}
.category-grid{
grid-template-columns:repeat(2,minmax(0,1fr));gap:12px
}
.category-card{
min-height:170px;padding:20px 10px;
gap:14px;border-radius:20px
}
.category-icon{
width:66px;height:66px;border-radius:18px;font-size:34px
}
.category-name{font-size:16px}
.section{padding:20px 0}
.sectionhead h1,.sectionhead h2{margin:0}
.bottomnav{
left:7px;right:7px;bottom:7px;gap:2px;
padding:7px 5px;border-radius:19px
}
.bottomnav a{
min-height:58px;gap:4px;border-radius:14px;padding:6px 1px
}
.bottomnav a svg{width:22px;height:22px}
.bottomnav a span{font-size:10px;font-weight:800}
.cardbody{padding:11px}
.cardbody h3{font-size:14px;line-height:1.3}
.price{font-size:16px}
.card .actions{gap:6px}
.card .actions .btn{padding:10px 8px;font-size:12px}
.form{margin:22px auto;padding:18px;border-radius:18px}
.cartrow{gap:10px;padding:10px}
.summary{padding:15px}
.total{font-size:20px}
.empty{padding:35px 15px}
}

@media(max-width:380px){
.grid{grid-template-columns:1fr}
.premium-hero h1{font-size:44px}
.bottomnav a span{font-size:9px}
.category-grid{
grid-template-columns:repeat(2,minmax(0,1fr))
}
.category-card{min-height:150px}
.category-icon{width:58px;height:58px;font-size:30px}
.category-name{font-size:14px}
.category-title-row h2{font-size:31px}
}

@media(min-width:851px){
.navlinks{display:flex}
.bottomnav{display:none!important}
body.has-bottomnav{padding-bottom:0!important}
.grid{grid-template-columns:repeat(4,1fr)}
.two{grid-template-columns:1.4fr .8fr}
.gallery{grid-template-columns:80px 1fr}
}

@media(min-width:1200px){
.container{width:min(1180px,92%)}
.bottomnav{display:none!important}
body.has-bottomnav{padding-bottom:0!important}
.category-grid{grid-template-columns:repeat(3,1fr)}
}

