/* Air Premium — bridging styles on top of the Shawer design system */
.footer-social { width: 30px; height: 30px; background: #fff; color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.footer-social:hover { background: var(--accent); color: #fff; }
.pay-badges span { background: #fff; color: #27313d; border-radius: 3px; padding: 2px 7px; font-size: 10px; font-weight: 700; letter-spacing: .04em; }

/* add-to-cart toast (kept from before) */
.toast-cart { position: fixed; bottom: 24px; inset-inline-end: 24px; background: var(--dark-bg); color: #fff; padding: 14px 20px; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.25); z-index: 4000; transform: translateY(160%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.toast-cart.show { transform: translateY(0); }

/* wishlist heart active state on cards */
.wish-toggle.active i, .wish-toggle.is-active i { color: var(--accent); font-weight: 900; }
.wish-toggle.active .fa-regular, .wish-toggle.is-active .fa-regular { font-family: "Font Awesome 6 Free"; font-weight: 900; }

/* lazy-load grid loader */
.grid-loader { display: none; align-items: center; justify-content: center; gap: 10px; padding: 30px 0; color: var(--text-muted); font-size: .95rem; }
.grid-loader .spinner { width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: aps-spin .7s linear infinite; }
@keyframes aps-spin { to { transform: rotate(360deg); } }

/* keep the header search select readable in both dirs */
.search-bar select { font-family: 'Cairo', 'Poppins', sans-serif; }

/* generic section spacing helper reused by re-skinned pages */
.aps-page { min-height: 50vh; }

/* ---------- product card (fixed hover + image animation) ---------- */
.aps-card { position: relative; overflow: hidden; }
.aps-card__media { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: #f4f5f7; margin-bottom: 10px; }
.aps-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .5s ease, opacity .35s ease; will-change: transform; }
.aps-card:hover .aps-card__img { animation: apsShoeMove 2.6s ease-in-out infinite; }
@keyframes apsShoeMove {
    0%   { transform: scale(1.07) rotate(-1.2deg) translateY(0); }
    25%  { transform: scale(1.10) rotate(1.2deg) translateY(-6px); }
    50%  { transform: scale(1.07) rotate(-1.2deg) translateY(0); }
    75%  { transform: scale(1.10) rotate(1.2deg) translateY(-6px); }
    100% { transform: scale(1.07) rotate(-1.2deg) translateY(0); }
}
.aps-card__img.is-swapping { opacity: .35; }

/* actions overlay — sits over the IMAGE only, never over the price/title */
.aps-card__actions { position: absolute; inset-inline: 10px; bottom: 10px; z-index: 3; display: flex; gap: 8px; align-items: center; transform: translateY(150%); opacity: 0; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease; }
.aps-card:hover .aps-card__actions { transform: translateY(0); opacity: 1; }
.aps-card__actions .btn-add-cart { flex: 1; text-align: center; background: var(--dark-bg); color: #fff; border: none; border-radius: 999px; padding: 10px 14px; font-weight: 700; font-size: .82rem; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.aps-card__actions .btn-add-cart:hover { background: var(--accent); }
.aps-card__actions .btn-add-wishlist { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.aps-card__actions .btn-add-wishlist:hover { border-color: var(--accent); color: var(--accent); }
.aps-card .badge-sale { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; }
.aps-card .product-brand { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.aps-card .product-title { font-weight: 700; font-size: .95rem; line-height: 1.35; margin: 2px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.aps-card .product-price { display: flex; align-items: center; gap: 8px; }
.aps-card .price-now { color: var(--accent); font-weight: 800; }
.aps-card .price-old { color: var(--text-muted); text-decoration: line-through; font-size: .85rem; }
@media (hover: none) {
    .aps-card__actions { position: static; transform: none; opacity: 1; margin-top: 8px; }
}

/* ---------- product share buttons ---------- */
.aps-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aps-share__label { font-weight: 700; font-size: .9rem; color: var(--text); }
.aps-share__btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; color: #fff; text-decoration: none; font-size: .95rem; transition: transform .15s, filter .15s; }
.aps-share__btn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.aps-share__btn.fb { background: #1877f2; }
.aps-share__btn.tw { background: #000; }
.aps-share__btn.wa { background: #25d366; }
.aps-share__btn.pin { background: #e60023; }
.aps-share__btn.copy { background: var(--dark-bg); }
.aps-share__btn.copied { background: var(--success); }

/* ---------- nav autocomplete search ---------- */
.aps-search-wrap { position: relative; flex: 1; max-width: 600px; }
.aps-search-wrap .search-bar { width: 100%; max-width: none; }
.aps-suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.18); z-index: 1200; overflow: hidden; display: none; max-height: 70vh; overflow-y: auto; }
.aps-suggest.open { display: block; animation: aps-fadein .15s ease; }
.aps-suggest__item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: var(--text); border-bottom: 1px solid #f0f1f3; }
.aps-suggest__item:hover, .aps-suggest__item.active { background: #f7f8fa; }
.aps-suggest__img { width: 54px; height: 54px; border-radius: 10px; object-fit: contain; background: #f4f5f7; flex: 0 0 54px; padding: 4px; }
.aps-suggest__info { flex: 1; min-width: 0; }
.aps-suggest__brand { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.aps-suggest__name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aps-suggest__price { color: var(--accent); font-weight: 800; font-size: .88rem; }
.aps-suggest__price .old { color: var(--text-muted); text-decoration: line-through; font-weight: 400; font-size: .8rem; margin-inline-start: 6px; }
.aps-suggest__foot { display: block; text-align: center; padding: 12px; font-weight: 700; color: var(--accent); text-decoration: none; background: #fafafb; }
.aps-suggest__foot:hover { background: #f0f1f3; }
.aps-suggest__empty, .aps-suggest__loading { padding: 22px 14px; text-align: center; color: var(--text-muted); font-size: .9rem; }
@media (max-width: 991px) { .aps-search-wrap { display: none; } }

/* ---------- filter sidebar: colours + sizes ---------- */
.aps-color-list { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow-y: auto; padding-inline-end: 4px; }
.aps-color-chip { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s; margin: 0; }
.aps-color-chip:hover { background: #f4f5f7; }
.aps-color-chip.selected { border-color: var(--accent); background: rgba(229,57,53,.05); }
.aps-color-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex: 0 0 22px; box-shadow: inset 0 0 0 2px #fff; }
.aps-color-name { font-size: .88rem; font-weight: 600; flex: 1; }
.aps-color-check { color: var(--accent); font-size: .8rem; }

.aps-size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.aps-size-chip { display: flex; align-items: center; justify-content: center; min-height: 40px; border: 1.5px solid var(--border); border-radius: 10px; font-weight: 700; font-size: .9rem; cursor: pointer; margin: 0; transition: all .15s; background: #fff; }
.aps-size-chip:hover { border-color: var(--text); }
.aps-size-chip.selected { background: var(--dark-bg); color: #fff; border-color: var(--dark-bg); }

/* ---------- instagram video button ---------- */
.ig-video-btn { position: absolute; bottom: 14px; inset-inline-start: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); color: #fff; border: none; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .85rem; cursor: pointer; box-shadow: 0 6px 18px rgba(150,47,191,.35); transition: transform .15s ease, box-shadow .15s ease; }
.ig-video-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(150,47,191,.45); }
.ig-video-btn i.fa-play { background: #fff; color: #d62976; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
#igVideoModal .modal-dialog { max-width: 420px; }
#igVideoModal iframe { min-height: 560px; }

/* ---------- promo popup ---------- */
.popup-overlay { position: fixed; inset: 0; background: rgba(10,10,14,.6); backdrop-filter: blur(3px); z-index: 4000; display: none; align-items: center; justify-content: center; padding: 20px; }
.popup-overlay.show { display: flex; animation: aps-fadein .25s ease; }
@keyframes aps-fadein { from { opacity: 0 } to { opacity: 1 } }
.popup-card { background: #fff; border-radius: 20px; max-width: 760px; width: 100%; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 24px 60px rgba(0,0,0,.35); position: relative; }
.popup-card .pop-visual { background: radial-gradient(120% 120% at 70% 20%, #34404d 0%, var(--dark-bg) 60%); display: flex; align-items: center; justify-content: center; padding: 24px; }
.popup-card .pop-visual img { width: 90%; transform: rotate(-10deg); filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.popup-card .pop-body { padding: 38px 34px; }
.popup-card .pop-body h3 { font-size: 1.6rem; margin: 6px 0 10px; }
.popup-card .pop-code { display: inline-flex; align-items: center; gap: 10px; border: 2px dashed var(--accent); border-radius: 10px; padding: 10px 16px; font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: .1em; margin: 14px 0; cursor: pointer; color: var(--accent); }
.popup-card .pop-close { position: absolute; top: 12px; inset-inline-end: 14px; background: rgba(255,255,255,.85); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; z-index: 2; line-height: 1; }
.popup-card .eyebrow { color: var(--accent); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 560px) {
    .popup-card { grid-template-columns: 1fr; }
    .popup-card .pop-visual { display: none; }
}
