/* Ahmad Iqbal Shop Core – front-end features. Uses CSS variables printed from Ahmad Iqbal Shop Settings. */
.ahmadiqbalshop-icon{display:block}
.ahmadiqbalshop-hp{position:absolute!important;left:-9999px;opacity:0;height:0;width:0}

/* Announcement */
.ahmadiqbalshop-announce{background:var(--ahmadiqbalshop-announce-bg,#173c35);color:var(--ahmadiqbalshop-announce-text,#f8f5ef);font-size:var(--ahmadiqbalshop-announce-size,14px);line-height:1.4;position:relative;z-index:60}
.ahmadiqbalshop-announce__inner{display:flex;align-items:center;justify-content:center;padding:9px 44px;text-align:center}
.ahmadiqbalshop-announce a,.ahmadiqbalshop-announce span{color:inherit;text-decoration:none}
.ahmadiqbalshop-announce__close{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:0;color:inherit;cursor:pointer;padding:4px;line-height:0}
.ahmadiqbalshop-announce__close .ahmadiqbalshop-icon{width:16px;height:16px}

/* Count bubbles + icon links */
.ahmadiqbalshop-icon-link{position:relative;display:inline-flex;align-items:center;color:inherit;text-decoration:none;line-height:0}
.ahmadiqbalshop-count{position:absolute;top:-7px;right:-9px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--ahmadiqbalshop-count-bg,#b3402a);color:var(--ahmadiqbalshop-count-text,#fff);font:600 10px/17px var(--ahmadiqbalshop-font-body,sans-serif);font-style:normal;text-align:center}
.ahmadiqbalshop-count:empty,.ahmadiqbalshop-count[data-n="0"],.ahmadiqbalshop-count:not([data-n]){display:none}

/* Buttons shared by features */
.ahmadiqbalshop-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 24px;border:var(--ahmadiqbalshop-btn-bw,1px) solid var(--ahmadiqbalshop-btn,#173c35);border-radius:var(--ahmadiqbalshop-btn-radius,5px);background:var(--ahmadiqbalshop-btn,#173c35);color:var(--ahmadiqbalshop-btn-text,#fff);font:var(--ahmadiqbalshop-btn-weight,500) var(--ahmadiqbalshop-btn-size,16px)/var(--ahmadiqbalshop-btn-lh,23px) var(--ahmadiqbalshop-font-body,sans-serif);letter-spacing:var(--ahmadiqbalshop-btn-ls,0);text-transform:var(--ahmadiqbalshop-btn-transform,none);cursor:pointer;text-decoration:none;transition:background .2s,color .2s,border-color .2s}
.ahmadiqbalshop-btn:hover{background:var(--ahmadiqbalshop-btn-hover,#0f2b26);border-color:var(--ahmadiqbalshop-btn-hover,#0f2b26);color:var(--ahmadiqbalshop-btn-text-hover,#fff)}
.ahmadiqbalshop-btn--outline{background:transparent;color:var(--ahmadiqbalshop-btn-outline,#173c35)}
.ahmadiqbalshop-btn--sm{padding:7px 16px;font-size:14px}
.ahmadiqbalshop-btn--wa{background:#25d366;border-color:#25d366;color:#fff;margin-top:12px;width:100%}
.ahmadiqbalshop-btn--wa:hover{background:#1ebe5b;border-color:#1ebe5b;color:#fff}
.ahmadiqbalshop-btn--wa svg{width:20px;height:20px}

/* WhatsApp floating button */
.ahmadiqbalshop-wa{position:fixed;bottom:var(--ahmadiqbalshop-wa-y,30px);z-index:9990;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ahmadiqbalshop-wa-icon,#fff)}
.ahmadiqbalshop-wa--right{right:var(--ahmadiqbalshop-wa-x,25px);flex-direction:row-reverse}
.ahmadiqbalshop-wa--left{left:var(--ahmadiqbalshop-wa-x,25px)}
.ahmadiqbalshop-wa__icon{width:var(--ahmadiqbalshop-wa-size,58px);height:var(--ahmadiqbalshop-wa-size,58px);border-radius:50%;background:var(--ahmadiqbalshop-wa-bg,#25d366);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.2);position:relative}
.ahmadiqbalshop-wa__icon svg{width:55%;height:55%}
.ahmadiqbalshop-wa__label{background:var(--ahmadiqbalshop-wa-label-bg,#fff);color:var(--ahmadiqbalshop-wa-label-text,#222);padding:8px 14px;border-radius:20px;font:500 14px/1 var(--ahmadiqbalshop-font-body,sans-serif);box-shadow:0 4px 14px rgba(0,0,0,.15);white-space:nowrap}
.ahmadiqbalshop-wa--pulse .ahmadiqbalshop-wa__icon:after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--ahmadiqbalshop-wa-bg,#25d366);animation:ahmadiqbalshopPulse 2s infinite}
@keyframes ahmadiqbalshopPulse{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.55);opacity:0}}
@media(max-width:767px){
	.ahmadiqbalshop-wa{bottom:var(--ahmadiqbalshop-wa-y-m,80px)}
	.ahmadiqbalshop-wa__icon{width:var(--ahmadiqbalshop-wa-size-m,52px);height:var(--ahmadiqbalshop-wa-size-m,52px)}
	.ahmadiqbalshop-wa--nolabel-m .ahmadiqbalshop-wa__label{display:none}
}

/* Sales popup */
.ahmadiqbalshop-salespop{position:fixed;bottom:var(--ahmadiqbalshop-sp-y,20px);z-index:9980;display:flex;align-items:center;gap:12px;max-width:340px;padding:12px 34px 12px 12px;background:var(--ahmadiqbalshop-sp-bg,#f8f5ef);color:var(--ahmadiqbalshop-sp-text,#4a4f49);border-radius:var(--ahmadiqbalshop-sp-radius,12px);box-shadow:0 10px 30px rgba(0,0,0,.18);transform:translateY(20px);opacity:0;transition:opacity .35s,transform .35s;font:400 14px/1.35 var(--ahmadiqbalshop-font-body,sans-serif)}
.ahmadiqbalshop-salespop--left{left:var(--ahmadiqbalshop-sp-x,20px)}
.ahmadiqbalshop-salespop--right{right:var(--ahmadiqbalshop-sp-x,20px)}
.ahmadiqbalshop-salespop.is-visible{opacity:1;transform:none}
.ahmadiqbalshop-salespop[hidden]{display:none}
.ahmadiqbalshop-salespop__img{width:var(--ahmadiqbalshop-sp-size,64px);height:var(--ahmadiqbalshop-sp-size,64px);object-fit:cover;border-radius:calc(var(--ahmadiqbalshop-sp-radius,12px) - 4px);flex:none}
.ahmadiqbalshop-salespop__body{min-width:0}
.ahmadiqbalshop-salespop__top{font-size:12px;color:var(--ahmadiqbalshop-sp-subtext,#6b706a)}
.ahmadiqbalshop-salespop__name{display:block;font-weight:600;color:var(--ahmadiqbalshop-sp-text,#4a4f49);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ahmadiqbalshop-salespop__name:hover{color:var(--ahmadiqbalshop-sp-accent,#173c35)}
.ahmadiqbalshop-salespop__meta{font-size:12px;color:var(--ahmadiqbalshop-sp-subtext,#6b706a)}
.ahmadiqbalshop-salespop__meta b{color:var(--ahmadiqbalshop-sp-accent,#173c35);font-weight:600}
.ahmadiqbalshop-salespop__close{position:absolute;top:6px;right:8px;background:none;border:0;font-size:18px;line-height:1;color:var(--ahmadiqbalshop-sp-subtext,#6b706a);cursor:pointer}
@media(max-width:767px){.ahmadiqbalshop-salespop{bottom:var(--ahmadiqbalshop-sp-y-m,140px);max-width:calc(100vw - 40px)}.ahmadiqbalshop-salespop--hide-m{display:none!important}}

/* Free shipping bar */
.ahmadiqbalshop-fsb{background:var(--ahmadiqbalshop-fs-bg,#fbf9f4);color:var(--ahmadiqbalshop-fs-text,#30342f);border-radius:var(--ahmadiqbalshop-fs-radius,10px);padding:12px 16px;margin:0 0 16px;font:500 14px/1.4 var(--ahmadiqbalshop-font-body,sans-serif)}
.ahmadiqbalshop-fsb__msg{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.ahmadiqbalshop-fsb__msg .ahmadiqbalshop-icon{width:20px;height:20px;flex:none}
.ahmadiqbalshop-fsb__track{height:var(--ahmadiqbalshop-fs-height,8px);background:var(--ahmadiqbalshop-fs-track,#e3dbc9);border-radius:99px;overflow:hidden}
.ahmadiqbalshop-fsb__bar{height:100%;background:var(--ahmadiqbalshop-fs-bar,#173c35);border-radius:99px;transition:width .5s ease}
.ahmadiqbalshop-fsb.is-done .ahmadiqbalshop-fsb__bar{background:var(--ahmadiqbalshop-fs-success,#3a7d5c)}
.ahmadiqbalshop-fsb--ajax:empty{display:none}

/* Scroll to top */
.ahmadiqbalshop-scrolltop{position:fixed;right:22px;bottom:100px;width:44px;height:44px;border-radius:50%;border:0;background:var(--ahmadiqbalshop-btn,#173c35);color:var(--ahmadiqbalshop-btn-text,#fff);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:9970;box-shadow:0 6px 16px rgba(0,0,0,.2);opacity:0;transform:translateY(10px);transition:.25s}
.ahmadiqbalshop-scrolltop.is-visible{opacity:1;transform:none}
.ahmadiqbalshop-scrolltop[hidden]{display:none}

/* Cookie */
.ahmadiqbalshop-cookie{position:fixed;z-index:9995;bottom:20px;max-width:380px;padding:18px 20px;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.2);font:400 14px/1.5 var(--ahmadiqbalshop-font-body,sans-serif)}
.ahmadiqbalshop-cookie--white{background:#fff;color:#222}
.ahmadiqbalshop-cookie--black{background:#111;color:#fff}
.ahmadiqbalshop-cookie--bottom-left{left:20px}
.ahmadiqbalshop-cookie--bottom-right{right:20px}
.ahmadiqbalshop-cookie--bottom{left:20px;right:20px;max-width:none;display:flex;align-items:center;justify-content:space-between;gap:20px}
.ahmadiqbalshop-cookie p{margin:0 0 12px}.ahmadiqbalshop-cookie--bottom p{margin:0}
.ahmadiqbalshop-cookie a{color:inherit;text-decoration:underline}
.ahmadiqbalshop-cookie[hidden]{display:none}

/* Age gate */
.ahmadiqbalshop-age{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.6);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px}
.ahmadiqbalshop-age[hidden]{display:none}
.ahmadiqbalshop-age__box{background:var(--ahmadiqbalshop-bg,#fff);color:var(--ahmadiqbalshop-text,#222);max-width:460px;width:100%;padding:36px;border-radius:12px;text-align:center}
.ahmadiqbalshop-age__box h3{margin:0 0 10px;font-family:var(--ahmadiqbalshop-font-heading,inherit)}
.ahmadiqbalshop-age__box [hidden]{display:none}

/* Mobile sticky bar */
.ahmadiqbalshop-msb{display:none}
@media(max-width:767px){
	.ahmadiqbalshop-msb{position:fixed;left:0;right:0;bottom:0;z-index:980;display:flex;justify-content:space-around;background:var(--ahmadiqbalshop-bg,#fff);border-top:1px solid var(--ahmadiqbalshop-border,#eee);padding:6px 0 calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 14px rgba(0,0,0,.05)}
	.ahmadiqbalshop-msb__item{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--ahmadiqbalshop-heading,#222);text-decoration:none;font:500 11px/1 var(--ahmadiqbalshop-font-body,sans-serif);padding:4px 8px}
	.ahmadiqbalshop-msb__item .ahmadiqbalshop-icon{width:22px;height:22px}
	.ahmadiqbalshop-msb__item .ahmadiqbalshop-count{top:-2px;right:0}
	body.has-ahmadiqbalshop-msb{padding-bottom:62px}
}

/* Wishlist heart */
.ahmadiqbalshop-wl-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#fff;border:0;color:var(--ahmadiqbalshop-heading,#222);cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.12);transition:.2s}
.ahmadiqbalshop-wl-btn .ahmadiqbalshop-icon{width:18px;height:18px}
.ahmadiqbalshop-wl-btn:hover{color:var(--ahmadiqbalshop-btn,#173c35)}
.ahmadiqbalshop-wl-btn.is-active{color:var(--ahmadiqbalshop-btn,#173c35)}
.ahmadiqbalshop-wl-btn.is-active svg{fill:currentColor}
.single-product form.cart .ahmadiqbalshop-wl-btn{margin-left:10px;width:46px;height:46px;border:1px solid var(--ahmadiqbalshop-border,#eee);box-shadow:none}

/* Badges */
.ahmadiqbalshop-badges{position:absolute;top:10px;left:10px;z-index:3;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.ahmadiqbalshop-badge{display:inline-block;padding:4px 10px;border-radius:3px;font:600 12px/1.2 var(--ahmadiqbalshop-font-body,sans-serif);letter-spacing:.02em}
.ahmadiqbalshop-badge--sale{background:var(--ahmadiqbalshop-badge-sale,#b3402a);color:var(--ahmadiqbalshop-badge-sale-text,#fff)}
.ahmadiqbalshop-badge--new{background:var(--ahmadiqbalshop-badge-new,#d7b98e);color:var(--ahmadiqbalshop-badge-new-text,#fff)}
.ahmadiqbalshop-badge--hot{background:var(--ahmadiqbalshop-badge-hot,#5e7f6e);color:var(--ahmadiqbalshop-badge-hot-text,#fff)}
.ahmadiqbalshop-badge--soldout{background:var(--ahmadiqbalshop-badge-soldout,#b3402a);color:var(--ahmadiqbalshop-badge-soldout-text,#fff)}

/* Stock / share / vendor */
.ahmadiqbalshop-stock{color:var(--ahmadiqbalshop-error,#b3402a);font-size:13px;font-weight:500;margin:4px 0}
.ahmadiqbalshop-stock--card{display:block}
.ahmadiqbalshop-vendor{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ahmadiqbalshop-subtext,#6b706a)}
.ahmadiqbalshop-share{display:flex;align-items:center;gap:12px;margin-top:14px;font-size:14px}
.ahmadiqbalshop-share a{color:var(--ahmadiqbalshop-heading,#222);line-height:0}
.ahmadiqbalshop-share svg{width:18px;height:18px}

/* Swatches */
.ahmadiqbalshop-swatches{display:flex;flex-wrap:wrap;gap:8px}
.ahmadiqbalshop-swatch{min-width:42px;height:42px;padding:0 14px;border:1px solid var(--ahmadiqbalshop-border,#ddd);background:transparent;color:var(--ahmadiqbalshop-heading,#222);border-radius:var(--ahmadiqbalshop-btn-radius,5px);cursor:pointer;font:500 14px/1 var(--ahmadiqbalshop-font-body,sans-serif);transition:.15s}
.ahmadiqbalshop-swatch:hover{border-color:var(--ahmadiqbalshop-heading,#222)}
.ahmadiqbalshop-swatch.is-selected{border-color:var(--ahmadiqbalshop-heading,#222);box-shadow:inset 0 0 0 1px var(--ahmadiqbalshop-heading,#222)}
.ahmadiqbalshop-swatch.is-disabled{opacity:.35;text-decoration:line-through}
.ahmadiqbalshop-swatch--color{width:34px;min-width:34px;height:34px;padding:0;border-radius:50%;background-clip:content-box;border:2px solid transparent;box-shadow:0 0 0 1px var(--ahmadiqbalshop-border,#ddd);background:var(--sw,#ccc)}
.ahmadiqbalshop-swatch--color.is-selected{box-shadow:0 0 0 2px var(--ahmadiqbalshop-heading,#222)}

/* Newsletter */
.ahmadiqbalshop-newsletter__row{display:flex;gap:8px}
.ahmadiqbalshop-newsletter input[type=email]{flex:1;min-width:0;padding:11px 14px;border:var(--ahmadiqbalshop-input-bw,1px) solid var(--ahmadiqbalshop-border,#ddd);border-radius:var(--ahmadiqbalshop-input-radius,5px);background:var(--ahmadiqbalshop-field,#fff);color:var(--ahmadiqbalshop-field-text,#222)}
.ahmadiqbalshop-newsletter__msg{margin:8px 0 0;font-size:14px}
.ahmadiqbalshop-newsletter__msg.is-error{color:var(--ahmadiqbalshop-error,#b3402a)}
.ahmadiqbalshop-newsletter__msg.is-ok{color:var(--ahmadiqbalshop-success,#3a7d5c)}

/* Social */
.ahmadiqbalshop-social{display:flex;flex-wrap:wrap;gap:12px}
.ahmadiqbalshop-social__link{display:inline-flex;align-items:center;gap:8px;justify-content:center;min-width:44px;height:44px;padding:0 12px;border-radius:99px;background:rgba(0,0,0,.06);color:var(--ahmadiqbalshop-heading,#222);text-decoration:none;transition:.25s;font-size:13px}
.ahmadiqbalshop-social__link:hover{background:var(--ahmadiqbalshop-heading,#222);color:#fff}

/* Wishlist page */
.ahmadiqbalshop-wishlist__empty{text-align:center;padding:40px 0}

/* Reveal animations */
body.ahmadiqbalshop-anim-fade-up .ahmadiqbalshop-reveal,body.ahmadiqbalshop-anim-fade .ahmadiqbalshop-reveal{opacity:0;transition:opacity var(--ahmadiqbalshop-anim-duration,.6s) ease,transform var(--ahmadiqbalshop-anim-duration,.6s) ease}
body.ahmadiqbalshop-anim-fade-up .ahmadiqbalshop-reveal{transform:translateY(24px)}
.ahmadiqbalshop-reveal.is-in{opacity:1!important;transform:none!important}
