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

nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: linear-gradient(135deg, rgba(212,51,0,0.95), rgba(253,60,0,0.95));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(253,60,0,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  z-index: 1000;
  transition: 0.3s;
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.logo .brand-dark { color: #fff; }
.logo .brand-light { color: #fff; }
.logo i { color: #0b1083; font-size: 20px; }
.logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.nav-menu { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-menu a {
  font-size: 14px; font-weight: 500; color: #fefce8;
  transition: 0.2s; position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #fefce8;
  transition: 0.3s;
}
.nav-menu a:hover { color: #fefce8; }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  background: #0b1083; color: #fff !important; padding: 8px 20px;
  border-radius: 8px; font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #172554; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px; z-index: 1002;
  position: relative;
}
.hamburger span {
  width: 24px; height: 2px; background: #fefce8;
  border-radius: 2px; transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #ff6b3d 0%, #fd3c00 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,60,0,0.12) 0%, transparent 70%);
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 {
  font-size: 48px; font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 16px;
}
.hero h1 span { color: #0b1083; }
.hero p {
  font-size: 17px; color: rgba(254,252,232,0.8); margin-bottom: 32px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; }
.btn-primary {
  background: #0b1083; color: #fff; padding: 14px 32px;
  border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: 0.2s; position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--rx,50%) var(--ry,50%), rgba(255,255,255,0.25) 0%, transparent 60%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.btn-primary:active::after { opacity: 1; transition: opacity 0s; }
.btn-primary:hover { background: #172554; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(-2px) scale(0.96); }
.btn-outline {
  border: 2px solid #0b1083; color: #0b1083; padding: 12px 32px;
  border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: 0.2s; position: relative; overflow: hidden;
}
.btn-outline::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--rx,50%) var(--ry,50%), rgba(30,58,138,0.1) 0%, transparent 60%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.btn-outline:active::after { opacity: 1; transition: opacity 0s; }
.btn-outline:hover { border-color: #fd3c00; color: #fd3c00; transform: translateY(-2px); }
.btn-outline:active { transform: translateY(-2px) scale(0.96); }
.hero-image {
  background: #fd3c00; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: #0b1083; position: relative;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(254,252,232,0.12); color: #fefce8;
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}

.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 {
  font-size: 34px; font-weight: 700; letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-header p { color: rgba(254,252,232,0.55); font-size: 16px; }
.section-header .accent-line {
  width: 48px; height: 3px; background: #fd3c00; border-radius: 2px;
  margin: 0 auto;
}
section { padding: 90px 0; }

.categories { background: #0b1083; }
.cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 640px; margin: 0 auto;
}
.cat-card {
  background: rgba(255,255,255,0.06); border-radius: 16px; padding: 36px 24px;
  text-align: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
}
.cat-card.reveal:hover {
  transform: translateY(-6px); border-color: #fd3c00;
  box-shadow: 0 12px 32px rgba(253,60,0,0.15);
}
.cat-card .icon {
  font-size: 40px; color: #fd3c00; margin-bottom: 16px;
}
.cat-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: #fefce8; }
.cat-card p { font-size: 13px; color: rgba(254,252,232,0.5); }

.products { background: #fd3c00; }
.product-filters {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 40px;
  flex-wrap: wrap;
}
.product-filters button {
  padding: 8px 22px; border-radius: 20px; border: 1px solid #ddd;
  background: #fff; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: 0.2s; font-family: inherit;
}
.product-filters button.active,
.product-filters button:hover {
  background: #0b1083; color: #fff; border-color: #0b1083;
}
.product-filters button.active { background: #fd3c00; border-color: #fd3c00; transform: scale(1.06); }
.product-filters button:active { transform: scale(0.96); }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}
.product-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  cursor: pointer; border: 1px solid #eee;
  display: flex; flex-direction: column;
}
.product-card .thumb {
  aspect-ratio: 1; background: #fefce8; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: #0b1083; overflow: hidden;
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: 0.4s;
}
.product-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: #fd3c00; color: #fff; padding: 4px 12px;
  border-radius: 6px; font-size: 12px; font-weight: 600;
}
.product-card .info { padding: 20px; flex: 1; }
.product-card .info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-card .info .category-tag { font-size: 12px; color: #fd3c00; font-weight: 500; }
.product-card .info .price {
  font-size: 18px; font-weight: 700; color: #fd3c00;
  margin-top: 10px;
}
.product-card .info .price del {
  font-size: 14px; font-weight: 400; color: #aaa; margin-left: 8px;
}
.product-card .info .rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: #f5a623; margin-top: 4px;
}
.product-card .info .rating span { color: #999; margin-left: 4px; }
.product-card .buy-btn {
  width: calc(100% - 40px); margin: 0 20px 20px;
  padding: 10px; border-radius: 8px; border: none;
  background: #0b1083; color: #fff; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: 0.2s; font-family: inherit;
}
.product-card .buy-btn:hover { background: #fd3c00; }
.product-card .buy-btn:active { transform: scale(0.96); }

.about {
  background: #0b1083;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.about-image {
  background: #fd3c00; border-radius: 20px; overflow: hidden;
  aspect-ratio: 5/4;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { font-size: 34px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; color: #fefce8; }
.about-content p { color: rgba(254,252,232,0.7); margin-bottom: 16px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.about-stats .stat { text-align: center; }
.about-stats .stat .num {
  font-size: 28px; font-weight: 800; color: #fd3c00;
  font-variant-numeric: tabular-nums;
}
.about-stats .stat .label { font-size: 13px; color: rgba(254,252,232,0.5); }

.testimonials { background: #0b1083; }
.testi-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testi-grid::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  min-height: 260px;
  background: rgba(255,255,255,0.06); border-radius: 16px; padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
}
.testi-card .stars { color: #f5a623; font-size: 14px; margin-bottom: 8px; flex-shrink: 0; }
.testi-card .product-tag {
  font-size: 11px; color: #fefce8; background: #fd3c00;
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  margin-bottom: 10px; font-weight: 500; align-self: flex-start; flex-shrink: 0;
}
.testi-card p {
  font-size: 14px; color: rgba(254,252,232,0.75); margin-bottom: 14px; font-style: italic;
  line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-card .author { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.testi-card .author .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #ddd;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testi-card .author .info { min-width: 0; }
.testi-card .author .name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fefce8; }
.testi-card .author .role { font-size: 12px; color: rgba(254,252,232,0.45); }
.testi-card .author .date { font-size: 11px; color: rgba(254,252,232,0.3); margin-top: 2px; }
.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(253,60,0,0.15);
  border-color: #fd3c00;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact { background: #0b1083; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: #fefce8; }
.contact-info p { color: rgba(254,252,232,0.7); margin-bottom: 24px; }
.contact-info .item {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.contact-info .item i {
  width: 40px; height: 40px; background: #fd3c00; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fefce8; flex-shrink: 0;
}
.contact-info .item a { transition: 0.2s; }
.contact-info .item a:hover { color: #fd3c00; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px; border: 1px solid rgba(254,252,232,0.15);
  font-family: inherit; font-size: 14px; margin-bottom: 16px;
  transition: 0.2s; background: rgba(255,255,255,0.08); color: #fefce8;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: #fd3c00; box-shadow: 0 0 0 3px rgba(253,60,0,0.2);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(254,252,232,0.35); }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button {
  padding: 14px 36px; border-radius: 10px; border: none;
  background: #fd3c00; color: #fefce8; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: 0.2s; font-family: inherit;
}
.contact-form button:hover { background: #ff6b3d; }

footer {
  background: #1a1a1a; color: #aaa; padding: 60px 0 32px;
}
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer h3 { color: #fff; font-size: 18px; margin-bottom: 16px; }
footer .logo { color: #fff; margin-bottom: 16px; }
footer p { font-size: 14px; line-height: 1.8; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a { font-size: 14px; transition: 0.2s; }
footer ul a:hover { color: #fd3c00; }
.nav-menu a.active { color: #fefce8; }
.nav-menu a.active::after { width: 100%; }
footer .social { display: flex; gap: 12px; margin-top: 16px; }
footer .social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: #2c2c2c; display: flex; align-items: center;
  justify-content: center; transition: 0.2s;
}
footer .social a:hover { background: #fd3c00; }
footer .copyright {
  grid-column: 1 / -1; text-align: center; padding-top: 32px;
  border-top: 1px solid #2c2c2c; font-size: 13px;
}

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: opacity 0.3s ease, visibility 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease;
}
.modal-overlay.active {
  opacity: 1; visibility: visible;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal {
  background: #fff; border-radius: 20px; max-width: 520px; width: 100%;
  max-height: 85vh; overflow-y: auto;
}
.modal-overlay.active .modal {
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal .thumb { aspect-ratio: 4/3; background: #fefce8; display: flex; align-items: center; justify-content: center; font-size: 72px; position: relative; overflow: hidden; }
.modal .thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal .body { padding: 28px; }
.modal .body h2 { font-size: 24px; margin-bottom: 8px; }
.modal .body .price { font-size: 22px; font-weight: 700; color: #fd3c00; margin-bottom: 12px; }
.modal .body p { color: #666; font-size: 14px; margin-bottom: 20px; line-height: 1.8; }
.modal .body .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.modal .body .specs .spec { font-size: 13px; color: #555; }
.modal .body .specs .spec strong { color: #2c2c2c; display: block; }
.modal .btn-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.5); color: #fff; font-size: 16px;
  cursor: pointer; transition: 0.2s;
}
.modal .btn-close:hover { background: rgba(0,0,0,0.7); }
.modal-cta-group { display: flex; gap: 12px; }
.modal-cta-group .modal-cta { flex: 1; }
.modal-cta-shopee { background: #c92e00 !important; }
.modal-cta-shopee:hover { background: #fd3c00 !important; }
.modal .modal-cta {
  padding: 14px; border-radius: 10px; border: none;
  background: #0b1083; color: #fff; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: 0.2s; font-family: inherit;
}
.modal .modal-cta:hover { background: #fd3c00; }
.modal .modal-cta:active { transform: scale(0.96); }

.toast {
  position: fixed; bottom: 32px; right: 32px;
  background: #0b1083; color: #fff; padding: 14px 24px;
  border-radius: 12px; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transform: translateX(calc(100% + 40px)); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  z-index: 3000;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast i { font-size: 18px; }

.float-stores {
  position: fixed; bottom: 32px; left: 32px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  box-shadow: 0 4px 20px rgba(30,58,138,0.3);
  transition: 0.3s; animation: floatAnim 2.5s ease-in-out infinite;
}
.float-btn-tiktok { background: #0b1083; }
.float-btn-shopee { background: #c92e00; animation-delay: 0.3s; }
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-btn:active { transform: scale(0.94); }
.float-btn-tiktok:hover { background: #fd3c00; }
.float-btn-shopee:hover { background: #fd3c00; }
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, #fd3c00, #0b1083);
  z-index: 9999; width: 0%; transition: width 0.15s ease-out;
}

nav.scrolled {
  background: linear-gradient(135deg, rgba(212,51,0,0.98), rgba(253,60,0,0.98));
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 998;
  width: 44px; height: 44px; border-radius: 50%;
  background: #0b1083; color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(30,58,138,0.25);
  opacity: 0; visibility: hidden; transition: 0.3s;
  font-family: inherit;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: #fd3c00; transform: translateY(-3px); }
.back-top:active { transform: translateY(-3px) scale(0.94); }

.section-header.reveal,
.product-filters.reveal,
.about-image.reveal, .about-content.reveal,
.contact-info.reveal, .contact-form.reveal {
  transform: translateY(24px); transition: 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.section-header.reveal.visible,
.product-filters.reveal.visible,
.about-image.reveal.visible, .about-content.reveal.visible,
.contact-info.reveal.visible, .contact-form.reveal.visible {
  transform: translateY(0);
}

.cat-card.reveal, .product-card.reveal, .testi-card.reveal {
  transform: translateY(28px) scale(0.97);
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s ease, border-color 0.3s ease;
}
.cat-card.reveal.visible, .product-card.reveal.visible, .testi-card.reveal.visible {
  transform: translateY(0) scale(1);
}
.testi-card.reveal {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s ease, border-color 0.3s ease;
}
.testi-card.reveal.visible {
  opacity: 1;
}
.cat-card.reveal.visible:nth-child(1) { transition-delay: 0s; }
.cat-card.reveal.visible:nth-child(2) { transition-delay: 0.06s; }
.cat-card.reveal.visible:nth-child(3) { transition-delay: 0.12s; }
.cat-card.reveal.visible:nth-child(4) { transition-delay: 0.18s; }
.product-card.reveal.visible:nth-child(1) { transition-delay: 0s; }
.product-card.reveal.visible:nth-child(2) { transition-delay: 0.05s; }
.product-card.reveal.visible:nth-child(3) { transition-delay: 0.1s; }
.product-card.reveal.visible:nth-child(4) { transition-delay: 0.15s; }
.product-card.reveal.visible:nth-child(5) { transition-delay: 0.2s; }
.product-card.reveal.visible:nth-child(6) { transition-delay: 0.25s; }
.product-card.reveal.visible:nth-child(7) { transition-delay: 0.3s; }
.product-card.reveal.visible:nth-child(8) { transition-delay: 0.35s; }

.product-card.reveal:hover, .cat-card.reveal:hover {
  transition-duration: 0.3s, 0.3s, 0.3s;
}
.product-card.reveal:hover {
  transform: translateY(-6px); box-shadow: 0 0 0 2px #fd3c00, 0 16px 40px rgba(253,60,0,0.12);
}
.store-buttons {
  display: flex; gap: 8px;
  padding: 0 20px; margin-bottom: 20px;
}
.store-buttons .buy-btn {
  flex: 1; margin: 0; width: auto;
  font-size: 13px; padding: 10px 6px;
  white-space: nowrap;
}
.buy-shopee { background: #c92e00; }
.buy-shopee:hover { background: #fd3c00; }
.buy-shopee:disabled { background: #ccc; cursor: not-allowed; }
.buy-shopee:disabled:hover { background: #ccc; }
.product-card .buy-btn { position: relative; overflow: hidden; }
.product-card .thumb img { background: #f0e8c0; opacity: 0; transition: opacity 0.5s ease, transform 0.4s ease; }
.product-card .thumb img.loaded { opacity: 1; }
.product-card:hover .thumb img { transform: scale(1.05); }

.about-image img, .modal .thumb img { opacity: 0; transition: opacity 0.5s ease; }
.about-image img.loaded, .modal .thumb img.loaded { opacity: 1; }

@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #0b1083; flex-direction: column; padding: 24px;
    border-bottom: 1px solid rgba(254,252,232,0.1); gap: 16px; z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transform: translateX(100%); opacity: 0; pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  }
  .nav-menu.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { font-size: 16px; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero { padding: 110px 0 50px; }
  .hero-image { display: none; }
  .section-header h2 { font-size: 26px; }
  section { padding: 60px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats .stat .num { font-size: 24px; }
  footer .container { grid-template-columns: 1fr; gap: 32px; }
  .modal .body { padding: 20px; }
  .modal .body h2 { font-size: 20px; }
  .float-btn { width: 48px; height: 48px; font-size: 20px; }
  .float-stores { bottom: 20px; left: 20px; gap: 10px; }
  .back-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 16px; }
  .toast { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
  .hero-badge { font-size: 11px; padding: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 15px; }
  .hero { padding: 100px 0 40px; }
  .hero-badge { font-size: 10px; padding: 3px 10px; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 14px; }
  section { padding: 50px 0; }
  .cat-card { padding: 20px 12px; }
  .cat-card .icon { font-size: 32px; }
  .cat-card h3 { font-size: 15px; }
  .cat-card p { font-size: 12px; }
  .product-filters { gap: 8px; }
  .product-filters button {
    font-size: 13px; padding: 8px 16px; min-height: 44px;
  }
  .product-grid { gap: 16px; }
  .product-card .info { padding: 12px; }
  .product-card .info h3 { font-size: 14px; }
  .product-card .info .price { font-size: 16px; }
  .product-card .info .category-tag { font-size: 11px; }
  .product-card .info .rating { font-size: 11px; }
  .product-card .buy-btn { font-size: 13px; padding: 10px; width: calc(100% - 24px); margin: 0 12px 12px; }
  .about-content h2 { font-size: 22px; }
  .about-content p { font-size: 14px; }
  .about-stats { gap: 12px; }
  .testi-card { padding: 20px 16px; }
  .testi-card p { font-size: 13px; }
  .contact-info .item { font-size: 14px; }
  .contact-form input, .contact-form textarea { font-size: 16px; padding: 12px 14px; }
  .contact-form button { font-size: 14px; padding: 12px 28px; min-height: 44px; }
  .modal-overlay { padding: 16px; }
  .modal .body { padding: 16px; }
  .modal .body h2 { font-size: 18px; }
  .modal .body .price { font-size: 18px; }
  .modal .body p { font-size: 13px; }
  .modal .body .specs { grid-template-columns: 1fr; }
  .modal .btn-close { width: 44px; height: 44px; font-size: 18px; }
  .modal .modal-cta { padding: 12px; font-size: 14px; min-height: 48px; }
  .nav-menu a { font-size: 15px; min-height: 48px; }
  .nav-menu { top: 64px; }
  nav .container { height: 64px; }
  .logo { font-size: 18px; }
  .logo-img { width: 30px; height: 30px; }
  footer .container { gap: 24px; }
  footer p, footer ul a { font-size: 13px; }
  footer h3 { font-size: 16px; }
  .float-btn { width: 42px; height: 42px; font-size: 18px; }
  .float-stores { bottom: 16px; left: 16px; gap: 8px; }
  .back-top { width: 36px; height: 36px; font-size: 14px; bottom: 16px; right: 16px; }
  .toast { left: 16px; right: 16px; bottom: 16px; justify-content: center; font-size: 13px; padding: 12px 16px; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero h1 { font-size: 20px; }
  .hero p { font-size: 14px; }
  .section-header h2 { font-size: 18px; }
  .section-header p { font-size: 13px; }
  section { padding: 36px 0; }
  .product-grid { gap: 12px; }
  .product-card .info { padding: 10px; }
  .product-card .info h3 { font-size: 13px; }
  .product-card .info .price { font-size: 14px; }
  .product-card .buy-btn { font-size: 12px; padding: 8px; width: calc(100% - 20px); margin: 0 10px 10px; }
  .product-filters button { font-size: 12px; padding: 6px 12px; }
  .cat-card { padding: 16px 10px; }
  .cat-card .icon { font-size: 28px; }
  .cat-card h3 { font-size: 13px; }
  .cat-card p { font-size: 11px; }
  .testi-card { flex: 0 0 260px; padding: 16px 12px; }
  .testi-card p { font-size: 12px; }
  .contact-form input, .contact-form textarea { font-size: 16px; padding: 10px 12px; margin-bottom: 12px; }
  .modal-overlay { padding: 8px; }
  .modal .body { padding: 12px; }
  .logo { font-size: 16px; }
  .logo-img { width: 26px; height: 26px; }
}
