/* =====================================================
   SHOP PAGE STYLES — Digital Scorpion Interactive
   ===================================================== */

/* ── SHOP HERO ──────────────────────────────────── */
.shop-hero {
    position: relative;
    padding: 160px 20px 80px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #0D1117 0%, rgba(124,58,237,.15) 40%, rgba(255,107,53,.08) 70%, #1A202C 100%);
}
.shop-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(255,107,53,.18) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(124,58,237,.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(0,212,170,.10)  0%, transparent 60%);
    animation: shopHeroGlow 8s ease-in-out infinite alternate;
}
@keyframes shopHeroGlow { 0% { opacity: .7; } 100% { opacity: 1; } }
.shop-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,107,53,.02) 3px, rgba(255,107,53,.02) 4px);
}
.shop-hero__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.shop-hero__eyebrow {
    display: block;
    font-family: 'Rajdhani', sans-serif; font-size: .9rem; font-weight: 600;
    letter-spacing: 5px; text-transform: uppercase;
    color: var(--teal, #00D4AA); text-shadow: 0 0 20px rgba(0,212,170,.7);
    margin-bottom: 1rem;
}
.shop-hero__title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1;
    text-transform: uppercase; letter-spacing: 3px;
    background: linear-gradient(135deg, #FF6B35 0%, #D4AF37 40%, #00D4AA 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255,107,53,.4));
    animation: titlePulse 4s ease-in-out infinite; margin-bottom: 1.5rem;
}
@keyframes titlePulse {
    0%,100% { filter: drop-shadow(0 0 20px rgba(255,107,53,.3)); }
    50%      { filter: drop-shadow(0 0 50px rgba(212,175,55,.6)); }
}
.shop-hero__subtitle {
    font-family: 'Exo 2', sans-serif; font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(247,250,252,.7); max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.shop-hero__divider {
    position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,107,53,.7) 30%, rgba(212,175,55,.7) 50%, rgba(0,212,170,.7) 70%, transparent 100%);
}

/* ── SHOP SECTION WRAPPER ───────────────────────── */
.shop-section {
    padding: 0 20px 100px;
    background: linear-gradient(180deg, #1A202C 0%, #0D1117 60%, rgba(26,32,44,.95) 100%);
    min-height: 500px;
}
.shop-section__container { max-width: 1280px; margin: 0 auto; }

/* ── FILTER TAB BAR ─────────────────────────────── */
.shop-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 28px 0 32px;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: 70px; /* sit just below navbar */
    z-index: 100;
    background: linear-gradient(180deg, #0D1117 80%, transparent 100%);
    -webkit-overflow-scrolling: touch;
}
.shop-filter-bar::-webkit-scrollbar { display: none; }

.shop-filter-tab {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 18px;
    background: rgba(26,32,44,.8);
    border: 1px solid rgba(255,107,53,.18);
    border-radius: 40px;
    font-family: 'Rajdhani', sans-serif; font-size: .85rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(247,250,252,.5);
    cursor: pointer; white-space: nowrap;
    transition: all .25s ease;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}
.shop-filter-tab i { font-size: .8rem; }
.shop-filter-tab:hover {
    border-color: rgba(255,107,53,.45);
    color: rgba(247,250,252,.85);
    background: rgba(255,107,53,.06);
}
.shop-filter-tab.is-active {
    background: linear-gradient(135deg, rgba(255,107,53,.18) 0%, rgba(212,175,55,.12) 100%);
    border-color: var(--scorpion-orange, #FF6B35);
    color: var(--royal-gold, #D4AF37);
    box-shadow: 0 0 18px rgba(255,107,53,.25), 0 0 0 1px rgba(255,107,53,.1) inset;
    text-shadow: 0 0 10px rgba(212,175,55,.4);
}

/* ── CATEGORY SECTION ───────────────────────────── */
.shop-cat-section { margin-bottom: 64px; }

.shop-cat-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,107,53,.1);
}
.shop-cat-header__left { display: flex; align-items: center; gap: 14px; }

.shop-cat-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,107,53,.15) 0%, rgba(212,175,55,.08) 100%);
    border: 1px solid rgba(255,107,53,.25);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.shop-cat-icon i { font-size: .95rem; color: var(--scorpion-orange, #FF6B35); }

.shop-cat-title {
    font-family: 'Orbitron', monospace; font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700; color: var(--light, #F7FAFC); text-transform: uppercase;
    letter-spacing: 2px; margin: 0;
}

.shop-cat-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 26px; height: 22px; padding: 0 7px;
    background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.2);
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif; font-size: .75rem; font-weight: 700;
    color: var(--scorpion-orange, #FF6B35); letter-spacing: 1px;
}

.shop-cat-showall {
    display: flex; align-items: center; gap: 6px;
    background: transparent; border: 1px solid rgba(255,107,53,.2); border-radius: 6px;
    padding: 7px 14px;
    font-family: 'Rajdhani', sans-serif; font-size: .8rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(247,250,252,.5); cursor: pointer;
    transition: all .25s ease;
}
.shop-cat-showall i { transition: transform .3s ease; font-size: .75rem; }
.shop-cat-showall:hover { border-color: rgba(255,107,53,.5); color: var(--scorpion-orange, #FF6B35); }

/* ── FEATURED: NEW ARRIVALS ──────────────────────── */
.shop-cat-section--featured .shop-cat-title {
    background: linear-gradient(135deg, #FF6B35 0%, #D4AF37 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.shop-cat-section--featured .shop-cat-icon {
    background: linear-gradient(135deg, rgba(255,107,53,.25) 0%, rgba(212,175,55,.15) 100%);
    border-color: rgba(212,175,55,.35);
    box-shadow: 0 0 16px rgba(255,107,53,.2);
}
.shop-cat-section--featured .shop-cat-icon i { color: var(--royal-gold, #D4AF37); }

/* ── GRID ────────────────────────────────────────── */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.shop-grid__overflow {
    display: contents; /* renders children directly into the parent grid */
}
.shop-grid__overflow[hidden] { display: none; }

/* ── PRODUCT CARD ────────────────────────────────── */
.product-card {
    position: relative;
    background: linear-gradient(145deg, rgba(45,55,72,.7) 0%, rgba(26,32,44,.9) 100%);
    border: 1px solid rgba(255,107,53,.18); border-radius: 12px;
    overflow: hidden;
    transition: all .35s cubic-bezier(.25,.46,.45,.94);
    display: flex; flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    opacity: 0; transform: translateY(20px);
    animation: cardReveal .45s ease-out forwards;
    text-decoration: none;
}
@keyframes cardReveal { to { opacity: 1; transform: translateY(0); } }

/* Gradient top-border on hover */
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--scorpion-orange,#FF6B35) 0%, var(--royal-gold,#D4AF37) 50%, var(--teal,#00D4AA) 100%);
    opacity: 0; transition: opacity .35s;
}
.product-card:hover { border-color: rgba(255,107,53,.55); transform: translateY(-5px); box-shadow: 0 14px 40px rgba(255,107,53,.2), 0 0 0 1px rgba(255,107,53,.25) inset; }
.product-card:hover::before { opacity: 1; }

/* "New" card accent */
.product-card--new { border-color: rgba(212,175,55,.25); }
.product-card--new:hover { border-color: rgba(212,175,55,.6); box-shadow: 0 14px 40px rgba(212,175,55,.15), 0 0 0 1px rgba(212,175,55,.2) inset; }

.product-card__image-link { display: block; text-decoration: none; }
.product-card__image-wrap { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: rgba(13,17,23,.8); }
.product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25,.46,.45,.94), filter .5s; filter: brightness(.92) saturate(1.1); }
.product-card:hover .product-card__image { transform: scale(1.06); filter: brightness(1) saturate(1.2); }
.product-card__image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(26,32,44,.9), rgba(45,55,72,.9)); }
.product-card__image-placeholder i { font-size: 3.5rem; color: rgba(255,107,53,.3); }

/* Badges */
.product-card__badge {
    position: absolute; top: 10px; z-index: 3; padding: 3px 9px;
    background: rgba(13,17,23,.9); border-radius: 4px;
    font-family: 'Rajdhani', sans-serif; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    backdrop-filter: blur(6px);
}
.product-card__badge--out { right: 10px; border: 1px solid rgba(212,175,55,.4); color: var(--royal-gold,#D4AF37); }
.product-card__badge--new {
    left: 10px; border: 1px solid rgba(255,107,53,.5);
    color: var(--scorpion-orange,#FF6B35);
    animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 6px rgba(255,107,53,.3); } 50% { box-shadow: 0 0 14px rgba(255,107,53,.6); } }

/* Card body */
.product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }

.product-card__name-link { text-decoration: none; }
.product-card__name {
    font-family: 'Orbitron', monospace; font-size: .82rem; font-weight: 700;
    color: var(--light,#F7FAFC); text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.4;
    transition: color .3s; margin: 0;
}
.product-card:hover .product-card__name { color: var(--royal-gold,#D4AF37); text-shadow: 0 0 12px rgba(212,175,55,.4); }

.product-card__price {
    font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700;
    color: var(--scorpion-orange,#FF6B35); text-shadow: 0 0 10px rgba(255,107,53,.3); letter-spacing: 1px;
}
.product-card__price--range { font-size: 1rem; }

/* Action row */
.product-card__actions { display: flex; gap: 8px; margin-top: auto; }

.product-card__quick-add {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 12px;
    background: linear-gradient(135deg, rgba(255,107,53,.1) 0%, rgba(212,175,55,.06) 100%);
    border: 1px solid rgba(255,107,53,.3); border-radius: 7px;
    font-family: 'Rajdhani', sans-serif; font-size: .82rem; font-weight: 700;
    color: var(--light,#F7FAFC); text-transform: uppercase; letter-spacing: 1.5px;
    cursor: pointer; transition: all .25s ease; overflow: hidden;
    position: relative;
}
.product-card__quick-add i { font-size: .82rem; color: var(--scorpion-orange,#FF6B35); transition: all .25s; }
.product-card__quick-add:hover:not([disabled]) {
    background: linear-gradient(135deg, rgba(255,107,53,.22) 0%, rgba(212,175,55,.14) 100%);
    border-color: var(--scorpion-orange,#FF6B35);
    color: var(--royal-gold,#D4AF37);
    box-shadow: 0 0 14px rgba(255,107,53,.2);
}
.product-card__quick-add:hover:not([disabled]) i { color: var(--royal-gold,#D4AF37); transform: scale(1.15); }
.product-card__quick-add--oos { opacity: .4; cursor: not-allowed; }
.product-card__quick-add--added {
    background: linear-gradient(135deg, rgba(0,212,170,.15) 0%, rgba(0,212,170,.08) 100%) !important;
    border-color: var(--teal,#00D4AA) !important;
    color: var(--teal,#00D4AA) !important;
}
.product-card__quick-add--added i { color: var(--teal,#00D4AA) !important; }

.product-card__details-link {
    width: 38px; height: 38px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(26,32,44,.6);
    border: 1px solid rgba(255,107,53,.18); border-radius: 7px;
    color: rgba(247,250,252,.45); font-size: .85rem; text-decoration: none;
    transition: all .25s ease;
}
.product-card__details-link:hover { border-color: rgba(255,107,53,.5); color: var(--scorpion-orange,#FF6B35); background: rgba(255,107,53,.08); }

/* ── LOADING / ERROR / EMPTY ─────────────────────── */
.shop-loading {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 80px 20px; gap: 20px;
    color: rgba(247,250,252,.6);
    font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase;
}
.shop-loading__spinner {
    width: 48px; height: 48px;
    border: 3px solid rgba(255,107,53,.15); border-top-color: var(--scorpion-orange,#FF6B35);
    border-radius: 50%; animation: shopSpin .8s linear infinite;
    box-shadow: 0 0 20px rgba(255,107,53,.3);
}
@keyframes shopSpin { to { transform: rotate(360deg); } }
.shop-error { text-align: center; padding: 60px 20px; font-family: 'Exo 2', sans-serif; color: rgba(247,250,252,.6); }
.shop-error__icon { font-size: 3rem; color: var(--scorpion-orange,#FF6B35); margin-bottom: 1rem; display: block; }
.shop-error__title { font-family: 'Orbitron', monospace; font-size: 1.4rem; color: var(--light,#F7FAFC); margin-bottom: .75rem; }
.shop-error__message { font-size: 1rem; line-height: 1.7; max-width: 480px; margin: 0 auto; }
.shop-empty { text-align: center; padding: 60px 20px; color: rgba(247,250,252,.5); }
.shop-empty__icon { font-size: 3.5rem; color: var(--royal-gold,#D4AF37); margin-bottom: 1rem; display: block; opacity: .6; }
.shop-empty__text { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; }

/* ── TOAST ───────────────────────────────────────── */
#dsi-toast {
    position: fixed; bottom: 28px; right: 28px; z-index: 9999;
    padding: 12px 20px; border-radius: 8px; gap: 10px;
    display: flex; align-items: center;
    font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 1px;
    backdrop-filter: blur(12px);
    transform: translateY(80px); opacity: 0;
    transition: transform .35s cubic-bezier(.25,.46,.45,.94), opacity .35s;
    pointer-events: none;
}
#dsi-toast.dsi-toast--visible { transform: translateY(0); opacity: 1; }
.dsi-toast--success { background: rgba(0,212,170,.15); border: 1px solid rgba(0,212,170,.5); color: #00D4AA; }
.dsi-toast--error   { background: rgba(255,107,53,.15); border: 1px solid rgba(255,107,53,.5); color: #FF6B35; }
.dsi-toast--info    { background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.4); color: #D4AF37; }

/* ── QUICK-ADD MODAL ─────────────────────────────── */
.pm-overlay {
    position: fixed; inset: 0; z-index: 5000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; transition: opacity .3s;
}
.pm-overlay--visible { opacity: 1; }
.pm-backdrop { position: absolute; inset: 0; background: rgba(13,17,23,.85); backdrop-filter: blur(8px); }
body.pm-open { overflow: hidden; }

.pm-dialog {
    position: relative; z-index: 1;
    width: 100%; max-width: 860px; max-height: 90vh; overflow-y: auto;
    background: linear-gradient(145deg, rgba(26,32,44,.98) 0%, rgba(13,17,23,.99) 100%);
    border: 1px solid rgba(255,107,53,.3); border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 60px rgba(255,107,53,.1);
    transform: translateY(20px) scale(.97);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94);
    scrollbar-width: thin; scrollbar-color: rgba(255,107,53,.3) transparent;
}
.pm-overlay--visible .pm-dialog { transform: translateY(0) scale(1); }

/* Animated top border on modal */
.pm-dialog::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--scorpion-orange,#FF6B35), var(--royal-gold,#D4AF37), var(--teal,#00D4AA));
    background-size: 200% 100%;
    animation: modalBorder 3s linear infinite;
}
@keyframes modalBorder { 0% { background-position: 0%; } 100% { background-position: 200%; } }

.pm-close {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.3);
    color: rgba(247,250,252,.7); font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.pm-close:hover { background: rgba(255,107,53,.25); color: var(--light,#F7FAFC); transform: rotate(90deg); }

.pm-inner { display: grid; grid-template-columns: 1fr 1fr; }

.pm-left { border-radius: 16px 0 0 16px; overflow: hidden; background: rgba(13,17,23,.8); min-height: 360px; display: flex; align-items: stretch; }
.pm-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-image-placeholder { width: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(26,32,44,.9), rgba(45,55,72,.9)); }
.pm-image-placeholder i { font-size: 5rem; color: rgba(255,107,53,.25); }

.pm-right { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.pm-eyebrow { font-family: 'Rajdhani', sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--teal,#00D4AA); text-shadow: 0 0 12px rgba(0,212,170,.5); }
.pm-title { font-family: 'Orbitron', monospace; font-size: clamp(1rem,2vw,1.4rem); font-weight: 700; color: var(--light,#F7FAFC); line-height: 1.25; text-transform: uppercase; letter-spacing: 1px; margin: 0; }
.pm-price { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--scorpion-orange,#FF6B35); text-shadow: 0 0 15px rgba(255,107,53,.4); }
.pm-description { font-family: 'Exo 2', sans-serif; font-size: .88rem; line-height: 1.65; color: rgba(247,250,252,.55); }

.pm-option-group { display: flex; flex-direction: column; gap: 8px; }
.pm-variants-label { font-family: 'Rajdhani', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(247,250,252,.45); margin: 0; }
.pm-variants-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.pm-variant-btn {
    padding: 7px 16px;
    background: rgba(45,55,72,.5); border: 1px solid rgba(255,107,53,.25); border-radius: 6px;
    font-family: 'Rajdhani', sans-serif; font-size: .9rem; font-weight: 600; letter-spacing: 1px;
    color: rgba(247,250,252,.75); cursor: pointer; transition: all .25s;
}
.pm-variant-btn:hover:not([disabled]) { border-color: rgba(255,107,53,.6); color: var(--light,#F7FAFC); background: rgba(255,107,53,.12); }
.pm-variant-btn--selected { border-color: var(--scorpion-orange,#FF6B35) !important; background: rgba(255,107,53,.18) !important; color: var(--royal-gold,#D4AF37) !important; box-shadow: 0 0 12px rgba(255,107,53,.2); }
.pm-variant-btn--oos { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

@keyframes pmShake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
.pm-shake { animation: pmShake .45s ease; }

.pm-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

.pm-add-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 8px; cursor: pointer;
    background: linear-gradient(135deg, var(--scorpion-orange,#FF6B35) 0%, #e05520 100%);
    border: none; color: #fff;
    font-family: 'Orbitron', monospace; font-size: .82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    transition: all .3s; box-shadow: 0 4px 20px rgba(255,107,53,.35);
    position: relative; overflow: hidden;
}
.pm-add-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    animation: pmShimmer 3s ease-in-out infinite;
}
@keyframes pmShimmer { 0% { left: -80%; } 60%,100% { left: 130%; } }
.pm-add-btn:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,53,.5); }
.pm-add-btn:disabled { opacity: .55; cursor: default; transform: none; }

.pm-view-link {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 24px; border-radius: 8px; text-decoration: none;
    border: 1px solid rgba(247,250,252,.1);
    font-family: 'Rajdhani', sans-serif; font-size: .85rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(247,250,252,.4); transition: all .25s;
}
.pm-view-link:hover { border-color: rgba(247,250,252,.25); color: rgba(247,250,252,.7); }
.pm-view-link i { font-size: .8rem; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
    .shop-grid { grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; }
}

@media (max-width: 720px) {
    .shop-hero { padding: 130px 16px 60px; }
    .shop-section { padding: 0 16px 80px; }
    .shop-filter-bar { top: 60px; padding: 20px 0 24px; }
    .shop-filter-tab { padding: 7px 14px; font-size: .78rem; }
    .shop-grid { grid-template-columns: repeat(auto-fill, minmax(155px,1fr)); gap: 14px; }
    .product-card__body { padding: 12px; }
    .product-card__name { font-size: .74rem; }
    .product-card__quick-add { font-size: .75rem; padding: 8px 10px; }
    .product-card__details-link { width: 34px; height: 34px; }

    .pm-inner { grid-template-columns: 1fr; }
    .pm-left { border-radius: 16px 16px 0 0; min-height: 200px; max-height: 240px; }
    .pm-right { padding: 22px 18px 18px; }
    .pm-dialog { max-height: 95vh; border-radius: 16px 16px 0 0; position: fixed; bottom: 0; left: 0; right: 0; margin: 0; max-width: 100%; }
    .pm-overlay { align-items: flex-end; padding: 0; }

    #dsi-toast { bottom: 16px; right: 16px; left: 16px; }
}

@media (max-width: 400px) {
    .shop-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ── CURSOR RESET ────────────────────────────────── */
/* Override the custom gaming cursor from the master stylesheet */
body, a, button, [role="button"], [tabindex] {
    cursor: auto !important;
}
a, button, [role="button"],
.product-card, .product-card__quick-add, .product-card__details-link,
.shop-filter-tab, .shop-cat-showall, .pm-variant-btn, .pm-add-btn,
.pm-close, .pm-view-link, .dsi-cart-trigger, .navbar-cart-btn {
    cursor: pointer !important;
}
