/* Shop-style layer: search bar, category strip, quick add, mobile bottom nav */
.linklike{background:none;border:0;padding:0;color:var(--accent);font-weight:700;cursor:pointer}
.shop-nav{height:auto;min-height:68px;gap:20px;padding-top:8px;padding-bottom:8px}
.shop-nav .search-bar{flex:1;max-width:640px;display:flex;border:2px solid var(--ink);border-radius:12px;overflow:hidden;background:#fff}
.search-bar input{flex:1;min-width:0;border:0;padding:11px 14px;font-size:14px;outline:0;background:transparent}
.search-bar button{border:0;background:var(--ink);color:#fff;padding:0 20px;font-weight:700}
.shop-nav .nav-actions{gap:14px}
.login-btn{background:var(--accent);color:#fff;padding:9px 18px;border-radius:10px}
.cat-strip{display:flex;gap:8px;overflow-x:auto;padding:10px max(16px,5vw);border-bottom:1px solid var(--line);background:#fff;scrollbar-width:none;position:sticky;top:68px;z-index:19}
.cat-strip::-webkit-scrollbar{display:none}
.cat-strip a{white-space:nowrap;padding:7px 15px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:600;background:#fff}
.cat-strip a.on,.cat-strip a:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.product-card{display:flex;flex-direction:column}
.product-card>a{flex:1}
.product-card form.quick-add{position:static;margin:0;padding:0 14px 14px}
.product-card form.quick-add button{position:static;width:100%;height:auto;border-radius:10px;padding:11px;background:var(--accent);color:#fff;border:0;font-weight:800;font-size:14px}
.product-card form.quick-add button:disabled{background:#d9dde4;color:#7b8494;cursor:not-allowed}
.product-card form.quick-add button.done{background:#17884b}
.view-product{display:none}
.buy-row{flex-wrap:wrap;gap:10px}
.buy-now{background:#ffb400;color:#101522;border:0;font-weight:800}
.qty-step{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.qty-step button{width:34px;height:36px;border:0;background:#f3f5f8;font-size:18px;font-weight:800}
.qty-step input{width:44px;text-align:center;border:0;padding:0;height:36px;-moz-appearance:textfield}
.qty-step input::-webkit-outer-spin-button,.qty-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.toast{position:fixed;left:50%;bottom:86px;transform:translate(-50%,20px);background:#101522;color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:60;max-width:90vw}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.err{background:#c62828}
.bottom-nav{display:none}
button[disabled].busy{opacity:.6;cursor:wait}
@media(max-width:900px){
 .shop-nav{flex-wrap:wrap;gap:8px 12px;padding:8px 14px}
 .shop-nav .search-bar{order:3;flex:1 0 100%;max-width:none}
 .shop-nav .brand{margin-right:auto}
 .cat-strip{top:auto;position:static}
 .cart-link{display:none}
 .bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);padding:6px 0 max(6px,env(safe-area-inset-bottom))}
 .bottom-nav a{display:flex;flex-direction:column;align-items:center;font-size:11px;font-weight:700;color:var(--muted);position:relative}
 .bottom-nav a.on{color:var(--accent)}
 .bottom-nav i{font-style:normal;font-size:20px;line-height:1.2}
 .bottom-nav b{position:absolute;top:-2px;left:56%;background:var(--accent);color:#fff;border-radius:999px;font-size:10px;padding:0 6px}
 body{padding-bottom:64px}
 .toast{bottom:80px}
}

/* Compact listing page (top search bar already present) */
.page-hero{padding:26px max(16px,5vw)}
.page-hero h1{font-size:clamp(26px,4vw,38px)!important;margin:0 0 4px!important;letter-spacing:-.03em}
.page-hero .eyebrow,.page-hero form.search{display:none}
.page-hero p{margin:0;font-size:13px}
/* Photos poori dikhen (crop na hon) */
.product-image img{object-fit:contain!important;background:#fff;padding:6px}
.product-image:has(img):before{display:none}
@media(max-width:900px){
 .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 .product-image{height:110px!important;border-radius:10px}
 .product-meta{padding:8px 6px 4px}
 .product-meta>span{font-size:8px;letter-spacing:0}
 .product-card h3{font-size:12px;line-height:1.25;margin:2px 0}
 .product-meta p{display:none}
 .product-meta .price{font-size:13px}
 .product-meta .price del{font-size:10px}
 .product-image small{font-size:8px;padding:3px 6px;left:6px;top:6px}
 .product-card form.quick-add{padding:0 6px 8px}
 .product-card form.quick-add button{padding:8px 2px;font-size:11px;border-radius:8px}
 .shop-nav .nav-actions>a.login-btn,.shop-nav .nav-actions>a:not(.cart-link){display:inline-block!important;padding:8px 14px;font-size:13px}
 .whatsapp-float{bottom:84px;right:14px;width:50px;height:50px}
 .page-hero{padding:16px}
}

/* Share */
.share-row{margin:14px 0;position:relative}
.share-btn{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 16px;font-weight:700;font-size:14px}
.share-btn:hover{border-color:var(--ink)}
.share-menu{display:flex;gap:8px;margin-top:8px}
.share-menu[hidden]{display:none}
.share-menu a,.share-menu button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 14px;font-weight:700;font-size:13px}
.share-menu a{background:#25d366;border-color:#25d366;color:#fff}
.card-share{position:absolute;top:8px;right:8px;z-index:5;width:30px;height:30px;border-radius:50%;border:0;background:rgba(255,255,255,.95);box-shadow:0 2px 8px rgba(0,0,0,.18);font-size:15px;font-weight:800;line-height:1;padding:0}
@media(max-width:900px){.card-share{width:26px;height:26px;top:5px;right:5px;font-size:13px}}

/* Reviews */
.stars{color:#f5a300;letter-spacing:1px}
.rating-line{display:inline-flex;gap:6px;align-items:center;font-weight:700;font-size:14px;margin:4px 0}
.rating-badge{background:#17884b;color:#fff;border-radius:8px;padding:5px 10px;font-weight:800;font-size:13px}
.card-rating{font-size:11px;color:var(--muted);margin:3px 0}
.card-rating span{background:#17884b;color:#fff;border-radius:5px;padding:1px 6px;font-weight:800}
.review{border-bottom:1px solid var(--line);padding:14px 0}
.review-top{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
.review-top small{color:var(--muted)}
.review p{margin:6px 0 0;font:500 14px/1.5 Manrope,Arial,sans-serif}
.review-note{color:var(--muted)}
.review-form{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:14px;margin-bottom:12px}
.review-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;resize:vertical}
.star-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.star-input input{position:absolute;opacity:0;pointer-events:none}
.star-input label{font-size:32px;color:#d0d5de;cursor:pointer;line-height:1}
.star-input input:checked~label,.star-input label:hover,.star-input label:hover~label{color:#f5a300}

.added-btn{background:#17884b;color:#fff;border:0;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.product-card form.quick-add button.done{background:#17884b!important;color:#fff}

/* Admin logout ab POST button hai */
.admin-logout-form{margin:0;display:contents}
button.admin-logout{font:inherit;cursor:pointer;background:transparent;text-align:left}

/* Payment */
.pay-box{border:1px solid var(--line);border-radius:14px;padding:16px;background:#f8faf8;margin:8px 0 16px}
.pay-box p{margin:6px 0 0;color:var(--muted);font-size:14px}
.test-badge{display:inline-block;background:#fff3cd;color:#7a5b00;border-radius:8px;padding:6px 12px;font-weight:700;font-size:13px}
#verify-form{display:none}

/* Band (disabled) buttons grey dikhen */
.btn[disabled],button.btn:disabled{background:#d9dde4!important;color:#7b8494!important;cursor:not-allowed;box-shadow:none}

.track-line{display:block;color:#17603a;font-weight:700;font-size:12px;margin-top:4px}
.track-line a{color:var(--accent)}
