/*
Theme Name: Mataram @999 App Style V8.1 FIXED
Description: Mobile-first fashion marketplace theme for Mataram @999 with long-form shopping-app homepage, photo categories, promotional banners and WooCommerce product rails.
Version: 8.1.0
Author: Mataram @999
*/
:root{--orange:#ff5b00;--orange2:#ff7b18;--green:#075d52;--ink:#171717;--muted:#6d6d6d;--cream:#fffaf4;--line:#ece7e1;--pink:#f8d9e5;--mint:#dff3ee;--blue:#dceef4}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#f1f1f1;color:var(--ink);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}
body{font-size:15px}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.m9-wrap{max-width:1200px;margin:auto;background:#fff;min-height:100vh;overflow:hidden}
.m9-top{height:36px;background:linear-gradient(90deg,#ff5600,#ff7a16);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;font-weight:900;letter-spacing:.25px;padding:0 10px}
.m9-head{display:flex;align-items:center;gap:18px;padding:15px 22px 11px;background:#fff}
.m9-logo{font-size:30px;font-weight:950;white-space:nowrap;letter-spacing:-.7px}
.m9-logo i{font-style:normal;color:var(--orange)}
.m9-search{height:48px;flex:1;display:flex;align-items:center;gap:10px;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:26px;padding:0 16px}
.m9-search svg{width:20px;flex:none}
.m9-search input{border:0;outline:0;background:transparent;width:100%;font-size:15px}
.m9-actions{display:flex;gap:13px}
.m9-action{font-size:28px;line-height:1}
.m9-quick{display:flex;gap:10px;overflow:auto;padding:0 14px 12px;scrollbar-width:none}
.m9-quick::-webkit-scrollbar{display:none}
.m9-q{flex:0 0 122px;height:60px;border-radius:14px;display:grid;place-items:center;text-align:center;font-size:13px;font-weight:900;background:#eef0ed}
.m9-q:nth-child(2n){background:#f3e5d9}.m9-q:nth-child(3n){background:#e2eef0}
.m9-q-deals{background:#ffe2cc!important;color:#c84b00}.m9-q-all{background:#e1f1ec!important;color:#075d52}

.m9-main{background:#fff}
.m9-hero{position:relative;margin:0 14px 14px;height:390px;border-radius:20px;overflow:hidden;background:#ef9aae url("assets/images/women.jpg") center/cover no-repeat}
.m9-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,132,160,.97) 0%,rgba(246,132,160,.82) 38%,rgba(246,132,160,.18) 72%,rgba(246,132,160,0) 100%)}
.m9-hero-copy{position:relative;z-index:2;padding:56px 48px;max-width:58%}
.m9-kicker{font-size:14px;font-weight:950;letter-spacing:.5px}
.m9-hero h1{font-size:56px;line-height:.96;margin:10px 0 12px;letter-spacing:-1.5px}
.m9-hero p{font-size:18px;font-weight:700;line-height:1.4;margin:0 0 12px}
.m9-btn{display:inline-flex;padding:12px 21px;border-radius:26px;background:#fff;color:#d95712;font-weight:950}

.m9-cat-rail{display:flex;gap:13px;overflow:auto;padding:6px 18px 19px;scrollbar-width:none}
.m9-cat-rail::-webkit-scrollbar{display:none}
.m9-cat{flex:0 0 92px;text-align:center;font-size:12px;font-weight:900}
.m9-cat-img{width:86px;height:86px;border-radius:50%;overflow:hidden;background:#f1f2ef;margin:auto;box-shadow:0 2px 7px #00000012}
.m9-cat-img img{width:100%;height:100%;object-fit:cover}
.m9-cat span{display:block;margin-top:7px;line-height:1.15}

.m9-section{padding:0 18px 21px}
.m9-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:25px;font-weight:950;margin:2px 0 13px}
.m9-more{color:var(--orange);font-size:14px;font-weight:900;white-space:nowrap}

.m9-promo{margin:0 18px 22px;border-radius:17px;overflow:hidden;min-height:190px;padding:12px;display:flex;gap:11px;align-items:stretch}
.m9-promo.orange{background:linear-gradient(90deg,#ff6a00,#ff4a00);color:#fff}
.m9-promo.pink{background:#f4d5e3}
.m9-promo.mint{background:#d8eee9}
.m9-promo.blue{background:#d9edf2}
.m9-promo.green{background:#075d52;color:#fff}
.m9-promo-pics{width:52%;display:flex;gap:8px}
.m9-promo-pics img{width:50%;height:100%;object-fit:cover;border-radius:12px}
.m9-promo-copy{flex:1;align-self:center;padding:4px 7px}
.m9-tag{display:inline-block;background:#ffffff40;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:950}
.m9-promo-copy h2{font-size:29px;line-height:1.02;margin:8px 0}
.m9-promo-copy p{font-size:14px;font-weight:700;line-height:1.35;margin:0}

.m9-brands{display:flex;gap:10px;overflow:auto;scrollbar-width:none}
.m9-brands::-webkit-scrollbar{display:none}
.m9-brand{flex:0 0 145px;height:75px;border:1px solid #b9d7c7;border-radius:14px;display:grid;place-items:center;text-align:center;font-weight:950;font-size:13px;background:#fff}
.m9-brand small{display:block;font-weight:600;color:#777;margin-top:3px}

.m9-product-wrap{background:var(--green);color:#fff;padding:22px 18px 24px}
.m9-product-wrap .m9-heading{margin-top:0}
.m9-product-wrap .m9-more{color:#ffd49c}
.m9-products{display:flex;gap:11px;overflow:auto;scrollbar-width:none}
.m9-products::-webkit-scrollbar{display:none}
.m9-card{flex:0 0 205px;background:#fff;color:#111;border-radius:14px;overflow:hidden;position:relative;box-shadow:0 2px 9px #0002}
.m9-card-img{height:210px;background:#f2f2f2}
.m9-card-img img{width:100%;height:100%;object-fit:cover}
.m9-heart{position:absolute;right:8px;top:8px;width:31px;height:31px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:20px;z-index:2}
.m9-body{padding:9px 10px 11px}
.m9-deal{display:inline-block;background:#ef3d3d;color:#fff;border-radius:5px;padding:3px 5px;font-size:9px;font-weight:950}
.m9-name{font-size:13px;font-weight:800;margin:6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m9-stars{font-size:11px;color:#f39a00}
.m9-price{font-size:17px;font-weight:950;color:#df3838}
.m9-old{font-size:11px;color:#888;text-decoration:line-through;margin-left:4px}
.m9-add{display:block;background:var(--orange);color:#fff;text-align:center;border-radius:8px;padding:8px;margin-top:8px;font-size:12px;font-weight:950}

.m9-dealgrid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.m9-dealbox{border-radius:14px;overflow:hidden;min-height:180px;position:relative;background:#f3eee7}
.m9-dealbox img{width:100%;height:100%;object-fit:cover}
.m9-dealbox:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.65))}
.m9-dealtext{position:absolute;z-index:2;left:12px;right:12px;bottom:11px;color:#fff}
.m9-dealtext b{font-size:10px}.m9-dealtext h3{margin:3px 0;font-size:21px}.m9-dealtext span{font-size:11px}

.m9-shopcats{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.m9-shopcat{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}
.m9-shopcat img{width:100%;height:125px;object-fit:cover}
.m9-shopcat b{display:block;padding:9px 9px 10px;font-size:12px}

.m9-review-rail{display:flex;gap:11px;overflow:auto;scrollbar-width:none}
.m9-review-rail::-webkit-scrollbar{display:none}
.m9-review{flex:0 0 245px;border:1px solid #eee;border-radius:13px;overflow:hidden;background:#fff}
.m9-review img{width:100%;height:205px;object-fit:cover}
.m9-review div{padding:9px}.m9-review b{font-size:13px}.m9-review p{font-size:11px;color:#666;margin:5px 0}

.m9-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;padding:2px 18px 22px}
.m9-benefit{display:flex;gap:9px;align-items:center}
.m9-benefit .ico{width:44px;height:44px;border-radius:50%;background:#fff0e5;display:grid;place-items:center;font-size:21px;flex:none}
.m9-benefit b{font-size:12px}.m9-benefit span{display:block;font-size:10px;color:#777;margin-top:2px}

.m9-news{margin:0 18px 95px;padding:22px;border-radius:17px;background:linear-gradient(135deg,#075d52,#0a786a);color:#fff;position:relative;overflow:hidden}
.m9-news:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-50px;top:-80px;background:#ffffff18}
.m9-news h2{font-size:27px;margin:6px 0}.m9-news p{margin:0 0 12px;font-size:13px}.m9-news a{display:inline-block;background:#fff;color:#075d52;border-radius:22px;padding:10px 16px;font-weight:950;font-size:12px}

.m9-bottom{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(1200px,100%);display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #ddd;z-index:100;box-shadow:0 -4px 18px #0002}
.m9-bottom a{text-align:center;padding:8px 3px 6px;font-size:11px;color:#666}
.m9-bottom a.active{color:var(--orange);font-weight:900}
.m9-bottom svg{width:24px;height:24px;display:block;margin:0 auto 2px}

@media(max-width:760px){
 .m9-top{height:34px;font-size:9px}
 .m9-head{padding:10px 10px 8px;gap:9px;flex-wrap:wrap}
 .m9-logo{font-size:24px}.m9-actions{margin-left:auto}.m9-action{font-size:24px}
 .m9-search{order:3;flex-basis:100%;height:43px}.m9-search input{font-size:13px}
 .m9-quick{padding:0 10px 9px}.m9-q{flex-basis:102px;height:53px;font-size:11px;border-radius:11px}
 .m9-hero{height:315px;margin:0 10px 12px;border-radius:15px}
 .m9-hero-copy{padding:35px 18px;max-width:78%}.m9-kicker{font-size:10px}
 .m9-hero h1{font-size:36px;margin:9px 0}.m9-hero p{font-size:12px}.m9-btn{font-size:12px;padding:10px 15px}
 .m9-cat-rail{gap:9px;padding:4px 10px 16px}.m9-cat{flex-basis:72px;font-size:10px}.m9-cat-img{width:66px;height:66px}
 .m9-section{padding:0 11px 16px}.m9-heading{font-size:20px;margin-bottom:10px}.m9-more{font-size:12px}
 .m9-promo{margin:0 10px 15px;min-height:145px;padding:8px;border-radius:13px;gap:7px}
 .m9-promo-pics{height:129px;width:50%;gap:5px}.m9-promo-pics img{border-radius:9px}
 .m9-promo-copy h2{font-size:22px}.m9-promo-copy p{font-size:10px}.m9-tag{font-size:8px}
 .m9-brands{gap:8px}.m9-brand{flex-basis:118px;height:62px;font-size:11px}
 .m9-product-wrap{padding:17px 11px 19px}.m9-card{flex-basis:158px}.m9-card-img{height:165px}.m9-body{padding:8px}.m9-name{font-size:11px}.m9-price{font-size:14px}
 .m9-dealgrid{gap:8px}.m9-dealbox{min-height:145px}.m9-dealtext h3{font-size:17px}
 .m9-shopcats{grid-template-columns:repeat(2,1fr);gap:8px}.m9-shopcat img{height:135px}
 .m9-review{flex-basis:205px}.m9-review img{height:165px}
 .m9-benefits{grid-template-columns:1fr 1fr;padding:2px 11px 18px}
 .m9-news{margin:0 10px 86px;padding:18px}.m9-news h2{font-size:22px}
}
@media(min-width:761px){.m9-bottom{display:none}}

/* V8.1 navigation fix */
.m9-bottom a.active{color:#f36b0a !important;font-weight:700;}
