/* ============================================================
   RID Smart Deals — Amazon & AliExpress Worldwide Edition
   Primary #FF6A00 | Secondary #0A1F44
   ============================================================ */
:root {
  --primary:      #FF6A00;
  --primary-light:#FF8C38;
  --primary-dark: #e05a00;
  --secondary:    #0A1F44;
  --white:        #ffffff;
  --off-white:    #f8f9fc;
  --gray-100:     #f1f3f8;
  --gray-200:     #e4e8f0;
  --gray-400:     #9aa3b8;
  --gray-700:     #4a5568;
  --text:         #1a2238;
  --amazon:       #FF9900;
  --amazon-dark:  #e68a00;
  --ali:          #e62e04;
  --ali-dark:     #c22503;
  --radius-sm:    8px;
  --radius-md:    14px;
  --shadow-sm:    0 2px 10px rgba(10,31,68,.07);
  --shadow-md:    0 6px 28px rgba(10,31,68,.11);
  --shadow-lg:    0 16px 48px rgba(10,31,68,.18);
  --transition:   0.28s cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 14px 30px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 6px 24px rgba(255,106,0,.38); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,106,0,.48); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }

.btn-deal { width: 100%; justify-content: center; border-radius: var(--radius-sm); padding: 12px 16px; font-size: .84rem; font-weight: 700; border: none; cursor: pointer; font-family: 'Poppins', sans-serif; transition: var(--transition); display: flex; align-items: center; gap: 7px; color: var(--white); }
.btn-deal:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-amazon     .btn-deal { background: var(--amazon); color: #111; }
.store-amazon     .btn-deal:hover { background: var(--amazon-dark); }
.store-aliexpress .btn-deal { background: var(--ali); }
.store-aliexpress .btn-deal:hover { background: var(--ali-dark); }

/* ── STORE BADGE ── */
.store-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .64rem; font-weight: 700; padding: 3px 9px; border-radius: 50px; }
.store-amazon     .store-badge { background: var(--amazon); color: #111; }
.store-aliexpress .store-badge { background: var(--ali); color: var(--white); }

/* ── CURRENCY SWITCHER ── */
.currency-bar { background: var(--secondary); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.currency-inner { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.currency-label { color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 500; letter-spacing: .5px; }
.currency-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); font-family: 'Poppins', sans-serif; font-size: .72rem; font-weight: 600; padding: 4px 11px; border-radius: 50px; cursor: pointer; transition: var(--transition); }
.currency-btn:hover { background: rgba(255,255,255,.16); color: var(--white); }
.currency-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ── HEADER ── */
.header { position: fixed; top: 36px; left: 0; right: 0; z-index: 1000; background: rgba(10,31,68,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.07); transition: var(--transition); }
.header.scrolled { box-shadow: 0 4px 28px rgba(10,31,68,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 3px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.5px; }
.logo-rid { color: var(--primary); font-size: 1.5rem; }
.logo-deal { color: var(--white); }
.logo-globe { font-size: .9rem; margin-left: 4px; }
.logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-left: 3px; animation: blink 2s infinite; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: rgba(255,255,255,.72); font-size: .85rem; font-weight: 500; padding: 8px 13px; border-radius: 50px; transition: var(--transition); }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, var(--secondary) 0%, #1b3d72 55%, #0d2a55 100%); height: auto; min-height: 700px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; padding: 126px 0 64px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(85px); opacity: .2; }
.shape-1 { width: 50vw; height: 50vw; max-width: 560px; max-height: 560px; background: var(--primary); top: -15%; right: -8%; animation: floatA 9s ease-in-out infinite; }
.shape-2 { width: 30vw; height: 30vw; max-width: 320px; max-height: 320px; background: #3B82F6; bottom: -10%; left: -5%; animation: floatB 11s ease-in-out infinite; }
.shape-3 { width: 20vw; height: 20vw; max-width: 200px; max-height: 200px; background: var(--amazon); top: 55%; left: 44%; animation: floatA 13s ease-in-out infinite reverse; }

.hero-content { position: relative; z-index: 1; width: 100%; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,106,0,.14); border: 1px solid rgba(255,106,0,.38); color: var(--primary-light); padding: 7px 18px; border-radius: 50px; font-size: .78rem; font-weight: 600; letter-spacing: .5px; margin-bottom: clamp(10px,2vh,18px); animation: fadeInUp .7s ease both; }
.hero-title { font-size: clamp(2rem,4.8vw,4rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: clamp(10px,1.8vh,16px); letter-spacing: -1px; animation: fadeInUp .7s .1s ease both; }
.highlight { color: var(--primary); position: relative; }
.highlight::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 4px; background: var(--primary); border-radius: 2px; opacity: .3; }
.hero-sub { font-size: clamp(.88rem,1.5vw,1.05rem); color: rgba(255,255,255,.68); margin-bottom: clamp(16px,3vh,30px); max-width: 600px; text-align: center; animation: fadeInUp .7s .2s ease both; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(16px,2.5vh,28px); animation: fadeInUp .7s .3s ease both; }

.hero-platforms { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(18px,3vh,36px); animation: fadeInUp .7s .4s ease both; }
.platform-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; font-size: .88rem; font-weight: 700; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.platform-pill.amazon-pill { background: var(--amazon); color: #111; box-shadow: 0 4px 20px rgba(255,153,0,.35); }
.platform-pill.amazon-pill:hover { background: var(--amazon-dark); transform: translateY(-2px); }
.platform-pill.ali-pill { background: var(--ali); color: var(--white); box-shadow: 0 4px 20px rgba(230,46,4,.35); }
.platform-pill.ali-pill:hover { background: var(--ali-dark); transform: translateY(-2px); }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 22px; animation: fadeInUp .7s .5s ease both; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: clamp(1.1rem,2.2vw,1.6rem); font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: .66rem; color: rgba(255,255,255,.45); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; }
.stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,.18); }
.scroll-hint { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; color: rgba(255,255,255,.28); font-size: .62rem; letter-spacing: 1px; text-transform: uppercase; }
.scroll-mouse { width: 20px; height: 32px; border: 2px solid rgba(255,255,255,.2); border-radius: 10px; position: relative; }
.scroll-mouse::after { content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; background: var(--primary); border-radius: 2px; animation: scrollDot 2s infinite; }

/* ── STORE FILTER BAR ── */
.store-bar { background: var(--white); border-bottom: 2px solid var(--gray-200); padding: 0; position: sticky; top: 104px; z-index: 100; box-shadow: var(--shadow-sm); }
.store-bar-inner { display: flex; align-items: stretch; gap: 0; }
.store-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; font-family: 'Poppins', sans-serif; font-size: .88rem; font-weight: 700; cursor: pointer; border: none; background: var(--white); color: var(--gray-700); border-bottom: 3px solid transparent; transition: var(--transition); margin-bottom: -2px; }
.store-tab:hover { background: var(--gray-100); }
.store-tab[data-store="all"].active { color: var(--secondary); border-bottom-color: var(--secondary); }
.store-tab[data-store="amazon"].active { color: var(--amazon-dark); border-bottom-color: var(--amazon); }
.store-tab[data-store="aliexpress"].active { color: var(--ali); border-bottom-color: var(--ali); }
.store-tab-divider { width: 1px; background: var(--gray-200); margin: 8px 0; }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 32px; }
.section-eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--primary); margin-bottom: 6px; }
.section-title { font-size: clamp(1.7rem,2.8vw,2.4rem); font-weight: 800; color: var(--secondary); letter-spacing: -.5px; }

/* ── CATEGORIES ── */
.categories { background: var(--off-white); padding: 52px 0 40px; border-bottom: 1px solid var(--gray-200); }
.cat-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip { padding: 8px 17px; border-radius: 50px; border: 2px solid var(--gray-200); background: var(--white); color: var(--gray-700); font-family: 'Poppins', sans-serif; font-size: .82rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.cat-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-chip.active { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 4px 18px rgba(255,106,0,.3); }

/* ── PRODUCTS ── */
.products-section { padding: 60px 0 80px; background: var(--white); }
.products-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.products-count { font-size: .76rem; color: var(--gray-400); font-weight: 500; margin-top: 4px; }
.controls-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sort-select { font-family: 'Poppins', sans-serif; font-size: .8rem; padding: 10px 16px; border: 2px solid var(--gray-200); border-radius: 50px; outline: none; background: var(--off-white); color: var(--text); cursor: pointer; transition: var(--transition); }
.sort-select:focus { border-color: var(--primary); }
.search-wrap { position: relative; }
.search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: .95rem; pointer-events: none; }
.search-input { font-family: 'Poppins', sans-serif; font-size: .88rem; padding: 11px 16px 11px 40px; border: 2px solid var(--gray-200); border-radius: 50px; width: 270px; outline: none; transition: var(--transition); background: var(--off-white); color: var(--text); }
.search-input:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(255,106,0,.1); }
.search-input::placeholder { color: var(--gray-400); }

.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

/* ── PRODUCT CARD ── */
.product-card { background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--gray-200); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); animation: fadeInUp .5s ease both; position: relative; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: rgba(255,106,0,.22); }
.store-amazon.product-card:hover { border-color: rgba(255,153,0,.35); }
.store-aliexpress.product-card:hover { border-color: rgba(230,46,4,.3); }

.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; background: var(--gray-100); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.discount-badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: var(--white); font-size: .67rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; box-shadow: 0 3px 10px rgba(255,106,0,.4); z-index: 1; }
.free-ship-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(10,31,68,.82); color: var(--white); font-size: .6rem; font-weight: 600; padding: 3px 9px; border-radius: 50px; z-index: 1; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .88rem; box-shadow: var(--shadow-sm); transition: var(--transition); z-index: 1; }
.wishlist-btn:hover { transform: scale(1.15); }

.product-body { padding: 14px 14px 10px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.product-top-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px; margin-bottom: 3px; }
.product-cat-tag { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); }
.product-title { font-size: .9rem; font-weight: 700; color: var(--secondary); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc { font-size: .76rem; color: var(--gray-700); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.product-rating { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.stars { color: #f5a623; font-size: .74rem; letter-spacing: 1px; }
.rating-count { font-size: .68rem; color: var(--gray-400); }
.product-pricing { display: flex; align-items: center; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--secondary); }
.product-old-price { font-size: .76rem; color: var(--gray-400); text-decoration: line-through; }
.savings-pill { font-size: .63rem; font-weight: 700; background: rgba(255,106,0,.1); color: var(--primary); padding: 2px 8px; border-radius: 50px; }
.currency-note { font-size: .62rem; color: var(--gray-400); margin-top: 2px; }

.product-footer { padding: 0 14px 14px; }
.no-results { grid-column: 1/-1; text-align: center; padding: 80px 20px; color: var(--gray-400); }
.no-results .no-icon { font-size: 3.5rem; margin-bottom: 12px; }
.no-results p { font-size: 1rem; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--secondary); padding: 34px 0; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.72); font-size: .83rem; font-weight: 500; }
.trust-item span { font-size: 1.1rem; }

/* ── PLATFORMS SHOWCASE ── */
.platforms { padding: 64px 0; background: var(--off-white); }
.platforms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.platform-showcase { border-radius: var(--radius-md); padding: 32px; display: flex; align-items: center; gap: 24px; transition: var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.platform-showcase::before { content: ''; position: absolute; inset: 0; opacity: .06; background: currentColor; }
.platform-showcase.amazon-card { background: linear-gradient(135deg,#fff8ee,#fff3d6); border: 2px solid rgba(255,153,0,.25); }
.platform-showcase.ali-card { background: linear-gradient(135deg,#fff2f0,#ffe8e5); border: 2px solid rgba(230,46,4,.2); }
.platform-showcase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pf-icon { font-size: 3.5rem; flex-shrink: 0; }
.pf-info h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.platform-showcase.amazon-card .pf-info h3 { color: #a66200; }
.platform-showcase.ali-card .pf-info h3 { color: var(--ali); }
.pf-info p { font-size: .85rem; color: var(--gray-700); margin-bottom: 14px; }
.pf-perks { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-perk { font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; background: rgba(255,255,255,.8); color: var(--gray-700); }
.pf-shop-btn { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .84rem; border: none; cursor: pointer; transition: var(--transition); }
.platform-showcase.amazon-card .pf-shop-btn { background: var(--amazon); color: #111; }
.platform-showcase.ali-card .pf-shop-btn { background: var(--ali); color: var(--white); }
.pf-shop-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ── NEWSLETTER ── */
.newsletter { background: linear-gradient(135deg, var(--primary) 0%, #ff4500 100%); padding: 68px 0; text-align: center; }
.newsletter h2 { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -.5px; }
.newsletter p { color: rgba(255,255,255,.82); font-size: .93rem; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter-input { font-family: 'Poppins', sans-serif; padding: 13px 22px; border-radius: 50px; border: none; font-size: .9rem; width: 310px; outline: none; }
.newsletter-btn { padding: 13px 26px; background: var(--secondary); color: var(--white); border: none; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .88rem; cursor: pointer; transition: var(--transition); }
.newsletter-btn:hover { background: #0d2a55; transform: translateY(-2px); }

/* ── FOOTER ── */
.footer { background: #060f21; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .logo { margin-bottom: 12px; }
.footer-tagline { color: rgba(255,255,255,.46); font-size: .83rem; margin-bottom: 12px; max-width: 280px; }
.footer-platforms { display: flex; gap: 10px; margin-top: 6px; }
.fp-badge { display: flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.fp-badge.am { background: var(--amazon); color: #111; }
.fp-badge.al { background: var(--ali); color: var(--white); }
.footer-disclaimer { font-size: .7rem; color: rgba(255,255,255,.26); font-style: italic; margin-top: 10px; }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.46); font-size: .8rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding: 18px; color: rgba(255,255,255,.2); font-size: .73rem; }


/* ── ALIEXPRESS BANNER ROWS ── */
.ali-banner-row {
  width: min(100% - 40px, 1240px);
  margin: 18px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}
.ali-banner-row a {
  width: 100%;
  height: 104px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}
.ali-banner-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-ali-banners {
  position: relative;
  z-index: 2;
  margin: 0 auto clamp(14px, 2.5vh, 24px);
}
.bottom-ali-banners {
  margin-top: 24px;
  margin-bottom: 28px;
}
.scroll-ali-banners {
  margin-top: 22px;
  margin-bottom: 22px;
}
.scroll-ali-banners a {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(20,30,50,.08);
  box-shadow: 0 5px 18px rgba(20,30,50,.07);
}
@media (max-width: 640px) {
  .ali-banner-row { width: calc(100% - 24px); gap: 8px; margin: 12px auto; }
  .ali-banner-row a { height: 76px; border-radius: 7px; }
  .hero-ali-banners { margin-top: 0; margin-bottom: 14px; }
  .bottom-ali-banners { margin-top: 18px; margin-bottom: 22px; }
  .scroll-ali-banners { margin-top: 14px; margin-bottom: 14px; }
}

/* ── BACK TO TOP ── */
.back-top { position: fixed; bottom: 26px; right: 26px; width: 42px; height: 42px; background: var(--primary); color: var(--white); border: none; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(255,106,0,.4); transition: var(--transition); opacity: 0; pointer-events: none; z-index: 999; }
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* ── TOAST ── */
.toast { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--secondary); color: var(--white); padding: 11px 22px; border-radius: 50px; font-size: .83rem; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s ease; white-space: nowrap; z-index: 9999; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(28px,-28px) scale(1.07); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-20px,20px); } }
@keyframes scrollDot { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 80% { opacity: 0; transform: translateX(-50%) translateY(14px); } 100% { opacity: 0; } }
@keyframes blink { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .5; } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .platforms-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .products-top { flex-direction: column; align-items: flex-start; }
  .search-input { width: 220px; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding: 126px 0 58px; }
  .nav { display: none; position: fixed; top: 104px; left: 0; right: 0; background: var(--secondary); flex-direction: column; padding: 20px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.08); z-index: 999; }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; }
  .hamburger { display: flex; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-platforms { flex-direction: column; width: 100%; }
  .platform-pill { width: 100%; justify-content: center; }
  .hero-stats { gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .newsletter-input { width: 100%; }
  .store-bar-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .store-tab { min-width: 130px; }
  .controls-row { flex-direction: column; align-items: stretch; width: 100%; }
  .sort-select, .search-input, .search-wrap { width: 100%; }
  .currency-inner { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr; }
}
