
:root{
  --green:#82bd2d;
  --green-dark:#6ea91d;
  --orange:#ff8700;
  --purple:#a875d7;
  --text:#404040;
  --heading:#202020;
  --muted:#8a8a8a;
  --line:#e8e8e8;
  --soft:#f4f5f7;
  --white:#fff;
  --shadow:0 4px 18px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{width:100%;min-height:100%;}
body{margin:0;background:#fff;color:var(--text);font-family:Poppins,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}
body:before{content:"";display:block;position:fixed;inset:0;pointer-events:none;z-index:-1}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
img{display:block;max-width:100%}
.site-wide{width:min(1180px,100%);margin:0 auto}
.site-header{background:#fff;position:relative;z-index:120}
.social-strip{height:41px;background:var(--green);color:#fff}
.social-inner{height:100%;display:flex;align-items:center;justify-content:center;gap:13px}
.social-inner a{font-size:14px;line-height:1;display:grid;place-items:center;width:16px;height:18px;color:#fff}
.main-nav{height:60px;background:#fff;border-bottom:1px solid var(--line)}
.nav-inner{height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 16px;position:relative}
.nav-left{display:flex;align-items:center;gap:10px}
.menu-trigger{border:0;background:transparent;width:22px;height:25px;padding:2px;display:flex;flex-direction:column;justify-content:center;gap:4px;cursor:pointer}
.menu-trigger span{display:block;width:18px;height:2px;background:#292929;border-radius:2px}
.menu-label{font-size:14px;color:#242424}
.brand-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;line-height:1;color:#2d2d2d;font-size:15px;font-weight:700;letter-spacing:-.35px;white-space:nowrap;max-width:55%;overflow:hidden;text-overflow:ellipsis;text-align:center}
.brand-word{line-height:1}
.cart-top{position:relative;width:34px;height:34px;display:grid;place-items:center;font-size:20px;color:#272727}
.cart-top b{position:absolute;right:-1px;top:0;background:var(--green);color:#fff;border-radius:50%;min-width:16px;height:16px;display:grid;place-items:center;font-size:9px;font-weight:700}
.mobile-menu-panel{display:none;position:absolute;left:0;right:0;top:101px;background:#fff;border-bottom:1px solid #dedede;box-shadow:var(--shadow);z-index:115}
.menu-open .mobile-menu-panel{display:block}
.menu-inner{display:grid;grid-template-columns:repeat(3,1fr);padding:6px 16px}
.mobile-menu-panel a{padding:12px 13px;border-bottom:1px solid #f2f2f2;font-size:13px}
.mobile-menu-panel a i{width:18px;color:#777;margin-right:4px}
.store-shell{width:min(1180px,100%);margin:0 auto;padding:0 16px 95px}
.search-area{background:var(--soft);padding:16px 13px 8px;margin-top:30px}
.search-box{height:46px;background:#fff;border:1px solid #e6e8ec;box-shadow:0 3px 12px rgba(0,0,0,.05);display:flex;align-items:center;padding:0 10px 0 17px}
.search-box input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:18px;color:#6b6b6b;font-weight:500}
.search-box input::placeholder{color:#747474;opacity:1}
.search-box button{width:42px;height:42px;border:0;background:transparent;color:var(--orange);font-size:30px;cursor:pointer}
.sort-row{height:47px;display:flex;align-items:center;position:relative}
.sort-button{border:0;background:transparent;color:#3c3c3c;font-size:22px;width:32px;height:32px;display:grid;place-items:center;cursor:pointer;padding:0}
.sort-menu{display:none;position:absolute;left:0;top:38px;background:#fff;border:1px solid #ddd;box-shadow:var(--shadow);min-width:190px;z-index:20}
.sort-menu.show{display:block}
.sort-menu a{display:block;padding:10px 13px;border-bottom:1px solid #f0f0f0;font-size:12px}
.category-row{display:flex;gap:8px;overflow:auto;padding:0 0 17px;scrollbar-width:none}
.category-row::-webkit-scrollbar{display:none}
.category-chip{white-space:nowrap;border:1px solid #ddd;padding:6px 11px;border-radius:18px;font-size:11px;background:#fff;color:#555}
.category-chip.active{background:var(--green);border-color:var(--green);color:#fff}
.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px;row-gap:24px}
.shop-card{min-width:0;background:#fff;border:1px solid #e7ebe4;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px rgba(35,45,30,.10);transition:transform .15s ease,box-shadow .15s ease}
.shop-card:hover{transform:translateY(-2px);box-shadow:0 7px 20px rgba(35,45,30,.14)}
.shop-image{position:relative;display:block;aspect-ratio:1.05;background:#f7f7f7;overflow:hidden;border-bottom:1px solid #f0f0f0}
.shop-image>img{width:100%;height:100%;object-fit:contain;background:#fff}
.sale-circle{position:absolute;left:6px;top:7px;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-size:9px;font-weight:800;z-index:2}
.shop-info{text-align:center;padding:12px 9px 14px;background:#fff}
.shop-title{display:block;color:#444;font-size:15px;line-height:1.25;font-weight:500;min-height:38px}
.shop-subtitle{font-size:12px;line-height:1.3;color:#595959;min-height:16px;margin-top:2px}
.shop-price{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:5px}
.old-price{color:#aaa;text-decoration:line-through;font-size:12px}
.current-price{color:#73af23;font-size:14px;font-weight:700}
.product-section{min-height:100px}
.support-strip{margin-top:38px;background:#f8f8f8;border-top:1px solid #ededed;border-bottom:1px solid #ededed;padding:18px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.support-copy{display:flex;flex-direction:column;gap:2px}
.support-copy strong{font-size:14px}
.support-copy span{font-size:11px;color:#777}
.support-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.support-links a{padding:9px 14px;border:1px solid #ddd;background:#fff;font-size:11px;border-radius:4px;font-weight:600;white-space:nowrap}
.support-links .wa{color:#1dae56}.support-links .tg{color:#168dcc}
.empty-store{padding:55px 15px;text-align:center;color:#888;border:1px dashed #ddd;margin:20px 0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}
.empty-store i{font-size:27px;margin-bottom:5px}
.empty-store strong{color:#555}
.store-footer{text-align:center;border-top:1px solid #eee;padding:20px 10px 82px;color:#777;font-size:12px}
.floating-support{position:fixed;right:18px;bottom:82px;z-index:225;display:flex;flex-direction:column;gap:10px}
.floating-support-btn{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:24px;box-shadow:0 8px 20px rgba(0,0,0,.17);border:3px solid rgba(255,255,255,.96);transition:transform .16s ease,box-shadow .16s ease}
.floating-support-btn:hover{transform:translateY(-2px);box-shadow:0 10px 23px rgba(0,0,0,.2)}
.floating-support-btn.whatsapp{background:#25d366}
.floating-support-btn.telegram{background:#229ed9}
.store-footer strong{color:#333}
.mobile-bottom-nav{position:fixed;z-index:220;left:0;right:0;bottom:0;height:61px;background:#fff;border-top:1px solid #e6e6e6;display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom)}
.mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#454545}
.mobile-bottom-nav .nav-icon{font-size:19px;line-height:1;position:relative}
.mobile-bottom-nav small{font-size:9px}
.mobile-bottom-nav em{position:absolute;right:-8px;top:-5px;min-width:13px;height:13px;padding:0 3px;border-radius:50%;background:var(--green);color:#fff;font-size:7px;font-style:normal;display:grid;place-items:center}
.ds-toast{position:fixed;left:50%;bottom:82px;transform:translate(-50%,15px);background:#222;color:#fff;padding:9px 13px;border-radius:4px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:300}
.ds-toast.show{opacity:1;transform:translate(-50%,0)}

.product-page{padding-top:23px}
.product-layout{display:grid;grid-template-columns:1fr;gap:24px}
.product-media{min-width:0}
.product-hero-image{position:relative;background:#f7f7f7;min-height:290px}
.product-hero-image>img{width:100%;max-height:420px;object-fit:contain}
.detail-sale{left:auto;right:13px;top:13px}
.image-expand{position:absolute;left:17px;bottom:11px;width:43px;height:43px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.13);color:#777;display:grid;place-items:center;cursor:pointer}
.product-gallery{display:flex;gap:8px;padding:9px 0;overflow:auto;scrollbar-width:none}
.product-gallery::-webkit-scrollbar{display:none}
.product-gallery button{width:66px;height:66px;flex:0 0 66px;padding:0;border:1px solid #dedede;background:#fff;cursor:pointer}
.product-gallery button.active{border:2px solid var(--green)}
.product-gallery img{width:100%;height:100%;object-fit:contain;background:#fff}
.breadcrumbs{display:flex;align-items:center;gap:7px;color:#666;font-size:12px;margin-top:25px}
.breadcrumbs a{color:#666}
.breadcrumbs strong{font-weight:500;color:#333}
.crumb-icons{margin-left:auto;display:flex;gap:10px;align-items:center;color:#666}
.product-copy h1{font-size:22px;line-height:1.28;color:var(--heading);font-weight:600;margin:22px 0 10px}
.detail-price{display:flex;align-items:center;gap:5px;margin-bottom:22px;font-size:20px}
.detail-price .old-price{font-size:16px}
.detail-short{font-size:13px;color:#777;margin:0 0 17px}
.description-content{font-size:14px;line-height:2.35;color:#616161}
.product-actions{display:flex;align-items:center;gap:10px;margin-top:23px}
.qty{display:flex;height:41px;border:1px solid #ddd}
.qty button{width:30px;border:0;background:#fff;color:#777;cursor:pointer}
.qty span{width:30px;display:grid;place-items:center;color:#777;border-left:1px solid #eee;border-right:1px solid #eee}
.add-cart-btn{height:41px;background:var(--green);border:0;color:#fff;font-weight:700;padding:0 18px;cursor:pointer}
.whatsapp-buy{width:95px;height:49px;margin-top:20px;background:#25d366;color:#fff;border-radius:5px;display:grid;place-items:center;font-size:27px}
.compare-row{display:flex;gap:24px;margin-top:17px;padding-bottom:26px;font-size:13px}
.compare-row a{color:#414141}
.accordion-group{border-top:1px solid #e2e2e2}
.accordion-item{border-bottom:1px solid #e2e2e2}
.accordion-item button{width:100%;padding:22px 0;border:0;background:#fff;display:flex;justify-content:space-between;align-items:center;text-align:left;font-weight:800;color:#1f1f1f;font-size:14px;cursor:pointer}
.accordion-content{display:none;padding:0 0 20px;color:#777;font-size:13px;line-height:1.8}
.accordion-item.open .accordion-content{display:block}
.accordion-item.open button span i{transform:rotate(180deg)}
.related-section{padding-top:46px}
.related-section h2{font-size:22px;margin:0;color:#232323}
.green-line{width:39px;height:2px;background:var(--green);margin:14px 0 20px}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px 13px}
.related-card .shop-image{aspect-ratio:1.25}
.related-title{font-size:13px;line-height:1.25;text-align:left;margin-top:7px;color:#444}
.related-card .shop-price{justify-content:flex-start}

.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.87);z-index:500;align-items:center;justify-content:center;padding:20px}
.lightbox.show{display:flex}
.lightbox img{max-width:min(100%,1000px);max-height:90vh;object-fit:contain}
.lightbox-close{position:absolute;top:18px;right:18px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#333;font-size:18px;cursor:pointer}

.utility-page h1{font-size:27px;margin-top:28px;color:#222}
.cart-app{padding-bottom:30px}
.cart-row{display:grid;grid-template-columns:76px 1fr 32px;align-items:center;gap:12px;border-bottom:1px solid #eee;padding:12px 0}
.cart-row img{width:76px;height:60px;object-fit:cover}
.cart-row div{display:flex;flex-direction:column;gap:4px}
.cart-row div span{font-size:12px;color:#777}
.cart-row button{border:0;background:#f4f4f4;border-radius:50%;width:30px;height:30px}
.cart-total{display:flex;justify-content:space-between;margin-top:18px;padding-top:15px;border-top:1px solid #ddd;font-weight:700}

.auth-shell{width:min(520px,100%);margin:35px auto;padding:0 16px 90px}
.auth-card{background:#fff;border:1px solid #ececec;padding:25px;box-shadow:0 5px 20px rgba(0,0,0,.05)}
.auth-card h1{margin:5px 0 7px;color:#222}.auth-card p{color:#777}
.auth-foot a{color:var(--green-dark);font-weight:700}

.container{width:min(1180px,100%);margin:0 auto}
.page-space{padding:35px 16px 95px}
.account-card{border:1px solid #e8e8e8;padding:28px;max-width:600px}

.btn{border:0;border-radius:4px;padding:11px 16px;cursor:pointer}.btn-primary{background:var(--green);color:#fff}.btn-outline{background:#fff!important;color:#4a5345!important;border:1px solid #d9e0d4!important}.full{width:100%}
.stack{display:grid;gap:14px}.stack label{display:grid;gap:6px;font-size:13px;font-weight:700}.stack input{width:100%;height:44px;border:1px solid #d9ded4;border-radius:4px;padding:0 12px;outline:0}
.alert{padding:11px 12px;border-radius:4px;margin:12px 0}.alert.error{background:#fff1f1;color:#b02020}.alert.success{background:#edf8e5;color:#4f891e}

.admin-bg{background:#f4f7f0}
.admin-login{min-height:100vh;display:grid;place-items:center;padding:20px}
.admin-login-card{width:min(450px,100%);background:#fff;border:1px solid #e5eadf;border-radius:14px;padding:28px;box-shadow:0 16px 50px rgba(80,95,50,.11)}
.admin-brand{display:flex;gap:8px;align-items:center;color:#333;margin-bottom:18px}
.admin-login-card h1{margin:0 0 7px}.admin-login-card p{color:#777}
.admin-body{display:flex;min-height:100vh;color:#2e352b}
.sidebar{width:240px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;gap:5px;padding:18px 14px;background:#26351f;color:#dfe9d8;overflow:auto}
.sidebar .brand{display:flex;align-items:center;gap:9px;padding:10px 9px 18px;color:#fff;font-weight:800}.sidebar .brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--green);color:#fff}
.sidebar>a:not(.brand){padding:11px 12px;border-radius:7px;font-size:13px}.sidebar>a:not(.brand):hover{background:#35482c;color:#fff}
.admin-main{margin-left:240px;flex:1;min-width:0}
.admin-top{height:67px;background:#fff;border-bottom:1px solid #e4e9e0;display:flex;align-items:center;justify-content:space-between;padding:0 25px;position:sticky;top:0;z-index:20}
.admin-user{font-size:13px;font-weight:700}.admin-content{padding:25px}
.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.admin-heading h1{margin:5px 0 0;font-size:29px}.eyebrow{color:#73806e;font-size:11px;font-weight:800;letter-spacing:1.5px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.stat-card,.panel{background:#fff;border:1px solid #e1e7dc;border-radius:12px;box-shadow:0 3px 10px rgba(40,60,30,.045)}
.stat-card{padding:18px}.stat-card span{display:block;color:#7c8779;font-size:12px}.stat-card strong{display:block;font-size:29px;margin-top:5px;color:#2f3d29}
.panel{padding:18px;margin-bottom:18px}.panel h2{font-size:17px;margin:0 0 15px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf1ea;font-size:13px;vertical-align:middle}th{color:#788374;font-size:10px;letter-spacing:1px;text-transform:uppercase}
.table-product{display:flex;align-items:center;gap:10px}.table-product img{width:52px;height:42px;object-fit:cover;border-radius:6px}.table-product small{display:block;color:#969f91;font-size:11px;margin-top:2px}
.actions{display:flex;gap:11px}.danger-link{color:#d13b3b}.status{display:inline-block;padding:4px 8px;border-radius:30px;font-size:11px;font-weight:800}.status.on{background:#eaf7df;color:#528e1b}.status.off{background:#f1f3ef;color:#81877f}
.inline-search,.inline-form{display:flex;gap:8px}.inline-search input{min-width:260px}.inline-form input{flex:1}
.admin-form .form-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}
.admin-form label{display:grid;gap:6px;margin-bottom:13px;font-size:12px;font-weight:700;color:#566052}.admin-form input,.admin-form textarea,.admin-form select{width:100%;border:1px solid #d9e0d4;border-radius:7px;padding:10px;outline:0;background:#fff}
.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{border-color:#9ac95d;box-shadow:0 0 0 3px #edf7e4}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkbox{display:flex!important;align-items:center;gap:8px!important}.checkbox input{width:auto!important}
.admin-preview{width:180px;max-height:180px;aspect-ratio:1.3;object-fit:contain;background:#fff;margin-top:10px;border-radius:7px;border:1px solid #ddd}.mini-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.mini-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}.mini-gallery a{font-size:10px;color:#d13b3b}
.muted{color:#8a9485;font-size:12px}

@media(min-width:700px){
  .nav-inner{padding-left:28px;padding-right:28px}
  .store-shell{padding-left:24px;padding-right:24px}
  .search-area{margin-top:30px}
  .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 18px}
  .shop-title{font-size:15px}
  .mobile-bottom-nav{display:none}
  .store-footer{padding-bottom:25px}
  .product-layout{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);align-items:start;gap:45px}
  .product-hero-image{min-height:460px}
  .product-hero-image>img{max-height:460px}
  .product-copy{padding-top:5px}
  .product-copy h1{font-size:30px}
  .related-grid{grid-template-columns:repeat(4,1fr)}
  .menu-inner{grid-template-columns:repeat(5,1fr)}
}

@media(min-width:1100px){
  .store-shell{padding-left:0;padding-right:0}
  .search-area{padding-left:13px;padding-right:13px}
}

@media(max-width:699px){
  .mobile-menu-panel{top:101px}
  .menu-inner{grid-template-columns:repeat(2,1fr)}
  .store-shell{padding-left:16px;padding-right:16px}
  }

@media(max-width:480px){
  .shop-card{border-radius:10px;box-shadow:0 3px 12px rgba(35,45,30,.095)}
  .search-area{padding-top:14px;padding-bottom:7px;margin-top:16px}
  .search-box{height:38px}
  .search-box input{font-size:17px}
  .search-box button{width:36px;height:36px;font-size:23px}
  .shop-image{aspect-ratio:1.02}
  .shop-title{font-size:14px}
  .product-copy h1{font-size:21px}
  .description-content{font-size:13px;line-height:2.25}
      .product-actions{gap:7px}
  .add-cart-btn{padding:0 14px}
}

@media(max-width:360px){
  .shop-grid{column-gap:9px}
  .shop-title{font-size:13px}
  .current-price{font-size:13px}
  .add-cart-btn{padding:0 10px;font-size:12px}
}
.gallery-inputs{display:grid;gap:9px}
.gallery-input-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gallery-input-row input[type=file]{flex:1;min-width:220px}
.gallery-input-row .gallery-add,.gallery-input-row .btn{white-space:nowrap;padding:9px 12px}
@media(max-width:480px){.gallery-input-row{display:grid}.gallery-input-row input[type=file]{min-width:0}.gallery-input-row .btn{width:100%}}

/* Product card refinement v10 */
.shop-grid{align-items:stretch}
.shop-card{display:flex;flex-direction:column;min-height:0;background:#fff;border:1px solid #e4e9df;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(42,58,32,.08);transition:transform .18s ease,box-shadow .18s ease}
.shop-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(42,58,32,.12)}
.shop-image{flex:0 0 auto;aspect-ratio:1.30;background:#fff;border-bottom:1px solid #eef1ec}
.shop-image>img{object-fit:contain;padding:0}
.shop-info{flex:1;display:flex;flex-direction:column;justify-content:flex-start;text-align:center;padding:9px 8px 11px;background:#fff}
.shop-title{font-size:14px;line-height:1.25;font-weight:600;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-subtitle{font-size:11.5px;line-height:1.35;color:#666;min-height:30px;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-price{margin-top:6px;min-height:20px}
.sale-circle{width:42px;height:42px;font-size:9px;left:6px;top:6px;box-shadow:0 2px 7px rgba(0,0,0,.08)}

@media(max-width:699px){
  .shop-grid{column-gap:10px;row-gap:14px}
  .shop-card{border-radius:12px;box-shadow:0 3px 12px rgba(42,58,32,.08)}
  .shop-image{aspect-ratio:1.32}
  .shop-info{padding:8px 7px 10px}
  .shop-title{font-size:13.5px;min-height:33px}
  .shop-subtitle{font-size:11px;min-height:29px}
  .shop-price{margin-top:5px}
}

@media(min-width:700px){
  .shop-grid{gap:24px 18px}
  .shop-image{aspect-ratio:1.28}
}
