* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

.container { max-width: 100%; margin: 0 auto; padding: 0 30px; }

.top-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.top-bar-left a:hover {
  color: #fff;
}

.top-divider {
  color: #334155;
  margin: 0 6px;
  font-size: 0.75rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.top-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.15s;
}

.top-link:hover {
  color: #fff;
}

.header {
  background: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e2e8f0;
}
.header-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.header-float-icon, .hero-float-icon {
  position: absolute;
  font-size: 1.3rem;
  color: #2563eb;
  pointer-events: none;
  z-index: 0;
  animation: iconFloat 6s ease-in-out infinite;
}
.hero-float-icon { font-size: 2rem; color: #fff; }
.header-float-icon:nth-child(2), .hero-float-icon:nth-child(2) { animation-delay: 1s; animation-duration: 7s; }
.header-float-icon:nth-child(3), .hero-float-icon:nth-child(3) { animation-delay: 0.5s; animation-duration: 5s; }
.header-float-icon:nth-child(4), .hero-float-icon:nth-child(4) { animation-delay: 2s; animation-duration: 8s; }
.header-float-icon:nth-child(5), .hero-float-icon:nth-child(5) { animation-delay: 0.3s; animation-duration: 6s; }
.header-float-icon:nth-child(6), .hero-float-icon:nth-child(6) { animation-delay: 1.5s; animation-duration: 7s; }
.hero-float-icon:nth-child(7) { animation-delay: 0.8s; animation-duration: 5.5s; }
.hero-float-icon:nth-child(8) { animation-delay: 2.5s; animation-duration: 6.5s; }
@keyframes iconFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
  25% { transform: translate(15px, -20px) rotate(10deg); opacity: 0.3; }
  50% { transform: translate(-10px, -35px) rotate(-5deg); opacity: 0.2; }
  75% { transform: translate(20px, -15px) rotate(8deg); opacity: 0.25; }
}

.header-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.header-shape-1 {
  width: 350px; height: 350px;
  background: #3b82f6;
  top: -80px; right: -60px;
  animation: heroAltFloat 8s ease-in-out infinite;
}
.header-shape-2 {
  width: 250px; height: 250px;
  background: #8b5cf6;
  bottom: -60px; left: -40px;
  animation: heroAltFloat 10s ease-in-out infinite reverse;
}
.header-shape-3 {
  width: 160px; height: 160px;
  background: #06b6d4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: heroAltFloat 12s ease-in-out infinite 2s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-logo { max-height: 40px; display: block; }

@media (max-width: 768px) {
  .logo { gap: 6px; }
  .site-logo + .logo-text { display: none; }
}

.search-bar {
  display: flex;
  flex: 1;
  max-width: 560px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  overflow: hidden;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: #fff;
}

.search-category {
  border: none;
  padding: 10px 14px;
  background: transparent;
  font-size: 0.85rem;
  color: #64748b;
  outline: none;
  cursor: pointer;
  border-right: 1px solid #e2e8f0;
  max-width: 130px;
}

.search-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
  background: transparent;
  min-width: 100px;
}

.search-btn {
  background: transparent;
  color: #64748b;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.search-btn:hover { color: #2563eb; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-icon-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s;
}

.header-icon-link:hover {
  background: #f1f5f9;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #fff;
  padding: 9px 18px 9px 14px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
  position: relative;
}

.cart-link:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.cart-badge {
  background: #fff;
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wishlist-badge {
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -8px;
}

.wishlist-link {
  position: relative;
}

.wishlist-link.has-items svg {
  stroke: #e11d48;
  fill: #e11d48;
}

.main { min-height: 60vh; padding: 30px 20px; }



.section-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.image-link { display: block; text-decoration: none; }

.product-card .image {
  height: 200px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  position: relative;
}

.product-card .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .image img {
  transform: scale(1.06);
}

.product-card .info {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .category {
  font-size: 0.75rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: 600;
}

.product-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card h3 a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card h3 a:hover { color: #2563eb; }

.stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 6px;
}

.star {
  font-size: 0.95rem;
  line-height: 1;
}

.star-full  { color: #f59e0b; }
.star-half  { color: #f59e0b; position: relative; }
.star-half::after {
  content: '\2605';
  position: absolute;
  left: 0; top: 0;
  width: 50%;
  overflow: hidden;
  color: #f59e0b;
}
.star-empty { color: #d1d5db; }

.star-count {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-left: 4px;
}

.product-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}

.product-card .price .original-price {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 6px;
}

.product-card .price .sale-price {
  color: #dc2626;
}

.product-card .actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.product-card .actions .btn {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.product-card .actions .btn-primary {
  background: #2563eb;
  color: #fff;
}
.product-card .actions .btn-primary:hover {
  background: #1d4ed8;
}
.product-card .actions .btn-amazon {
  background: #ff9900;
  color: #fff;
}
.product-card .actions .btn-amazon:hover {
  background: #e68a00;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: #dc2626;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(220,38,38,0.3);
  letter-spacing: 0.5px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #c7d2fe;
  white-space: nowrap;
}
.filter-tag a { text-decoration: none; }
.filter-tag-remove {
  color: #6366f1;
  font-size: 1.1rem;
  line-height: 1;
  margin-left: 2px;
  font-weight: 700;
}
.filter-tag-remove:hover { color: #dc2626; }
.filter-tag-clear-all {
  background: transparent;
  border-color: #d1d5db;
  color: #6b7280;
  font-weight: 500;
}
.filter-tag-clear-all:hover { background: #f3f4f6; }

.shop-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-toggle {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}
.view-toggle-btn {
  background: #fff;
  border: none;
  padding: 5px 10px;
  font-size: 1rem;
  cursor: pointer;
  color: #9ca3af;
  line-height: 1;
  transition: all 0.15s;
}
.view-toggle-btn:hover { background: #f3f4f6; color: #374151; }
.view-toggle-btn.active { background: #2563eb; color: #fff; }

.products-list-view {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}
.products-list-view .product-card {
  display: flex;
  flex-direction: row;
}
.products-list-view .product-card .image-link {
  width: 200px;
  flex-shrink: 0;
}
.products-list-view .product-card .image {
  height: 180px;
}
.products-list-view .product-card .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.products-list-view .product-card .actions {
  margin-top: auto;
}
.products-list-view .product-card .wishlist-heart {
  top: 8px;
  right: 8px;
}

.filter-toggle {
  display: none;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #374151;
  margin-bottom: 16px;
  transition: all 0.15s;
}
.filter-toggle:hover { background: #f3f4f6; border-color: #9ca3af; }

.filter-sidebar-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .shop-layout { display: block; }
  .filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
  }
  .filter-sidebar-header { display: flex; }
  .filter-sidebar {
    display: none;
  }
  .search-bar { display: none; }
  .products-list-view .product-card {
    flex-direction: column;
  }
  .products-list-view .product-card .image-link {
    width: 100%;
  }
  .products-list-view .product-card .image {
    height: 200px;
  }
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover { background: #1d4ed8; }

.btn-secondary {
  background: #f0f0f0;
  color: #333;
}

.btn-secondary:hover { background: #ddd; }

.btn-amazon {
  background: #ff9900;
  color: #fff;
}

.btn-amazon:hover { background: #e68a00; }

.btn-danger {
  background: #e74c3c;
  color: #fff;
}

.btn-danger:hover { background: #c0392b; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-gallery { min-width: 0; }

.gallery-main {
  width: 100%;
  height: 400px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { opacity: 1; border-color: #2563eb; }

.product-detail .info h1 { font-size: 1.8rem; margin-bottom: 10px; }

.product-detail .info .category {
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.product-detail .info .stars { margin-bottom: 15px; }
.product-detail .info .star { font-size: 1.4rem; }

.product-detail .info .price {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}

.product-detail .info .price .original-price {
  font-size: 1.4rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 10px;
}

.product-detail .info .price .sale-price {
  color: #dc2626;
}

.stock-info { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

.stock-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stock-in { background: #d1fae5; color: #065f46; }
.stock-out { background: #fde8e8; color: #991b1b; }
.stock-soon { background: #fef3c7; color: #92400e; }

.stock-count { font-size: 0.9rem; color: #888; }

.product-card .stock-badge { margin-bottom: 8px; display: inline-block; }

.product-detail .info .description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}

.full-description {
  margin-bottom: 25px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.full-description h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.full-description {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

.product-detail .info .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.back-link { margin-top: 20px; }
.back-link a { color: #2563eb; text-decoration: none; font-size: 0.9rem; }
.back-link a:hover { text-decoration: underline; }

.qty-input {
  width: 60px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  text-align: center;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.qty-control button {
  width: 34px;
  height: 36px;
  border: none;
  background: #f8fafc;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background 0.15s;
}

.qty-control button:hover { background: #e2e8f0; }

.qty-control .qty-input {
  width: 48px;
  height: 36px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-radius: 0;
  text-align: center;
  font-size: 0.95rem;
  padding: 0;
}

.cart-coupon {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cart-coupon input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}

.cart-coupon-applied {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  color: #059669;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.cart-coupon-applied code {
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.cart-coupon-applied .remove-coupon {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
  padding: 0;
}

.cart-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
  flex-wrap: wrap;
}

.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.cart-trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cross-sell {
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cross-sell h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2563eb;
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cross-sell-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cross-sell-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.cross-sell-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
}

.cross-sell-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.cross-sell-card h3 a {
  color: #333;
  text-decoration: none;
}

.cross-sell-card h3 a:hover { color: #2563eb; }

.cross-sell-card .price {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.cross-sell-card .btn {
  font-size: 0.8rem;
  padding: 6px 14px;
}

@media (max-width: 768px) {
  .cross-sell-grid { grid-template-columns: repeat(2, 1fr); }
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}

.progress-step.active { color: #2563eb; }
.progress-step.active .progress-step-num { background: #2563eb; color: #fff; }
.progress-step.done { color: #059669; }
.progress-step.done .progress-step-num { background: #059669; color: #fff; }

.progress-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #94a3b8;
}

.progress-step-line {
  width: 60px;
  height: 2px;
  background: #e2e8f0;
  margin: 0 8px;
}

.progress-step.done + .progress-step-line { background: #059669; }
.progress-step.active + .progress-step-line { background: #2563eb; }

.secure-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
}

.secure-checkout svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.secure-checkout span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-page {
  max-width: 1000px;
  margin: 0 auto;
}

.cart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #2563eb;
}

.cart-header h1 { font-size: 1.6rem; }

.cart-count {
  font-size: 0.9rem;
  color: #94a3b8;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cart-empty p {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 20px;
}

.cart-empty-actions { margin-top: 10px; }

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #dbeafe;
}

.cart-item-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: whitesmoke;
  border: 1px solid #dbeafe;
  padding: 4px;
}

.cart-item-image a { display: block; width: 100%; height: 100%; }

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.cart-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cart-item-info { min-width: 0; }

.cart-item-name {
  font-weight: 600;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  margin-bottom: 3px;
}

.cart-item-name:hover { color: #2563eb; }

.cart-item-cat {
  font-size: 0.75rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.cart-item-price-col { text-align: right; white-space: nowrap; }

.cart-item-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
}

.cart-item-price .original-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 4px;
}

.cart-item-price .sale-price {
  color: #dc2626;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-qty label {
  font-size: 0.85rem;
  color: #666;
}

.cart-item-qty .qty-input {
  width: 56px;
  padding: 6px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
}

.cart-item-subtotal {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.cart-footer-left { flex-shrink: 0; }

.cart-footer-right { text-align: right; }

.cart-total-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-total-label {
  font-size: 1rem;
  color: #666;
}

.cart-total-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2563eb;
}

.cart-footer-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .cart-item { flex-direction: column; }
  .cart-item-image { width: 80px; height: 80px; }
  .cart-item-top { flex-direction: column; }
  .cart-item-price-col { text-align: left; }
  .cart-footer { flex-direction: column; align-items: stretch; }
  .cart-footer-right { text-align: left; }
  .cart-footer-actions { flex-direction: column; }
  .cart-footer-actions .btn { width: 100%; text-align: center; }
}

.checkout-form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea { height: 80px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }

#paypal-button-container { margin-top: 20px; text-align: center; }

.checkout-two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.checkout-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 24px;
}

.checkout-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2563eb;
}

.order-summary { position: sticky; top: 80px; }

.summary-items { margin-bottom: 20px; }

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.summary-item-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: whitesmoke;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.summary-item-name { color: #333; flex: 1; min-width: 0; }
.summary-item-qty { color: #94a3b8; font-size: 0.8rem; margin-left: 6px; }
.summary-item-price { color: #333; font-weight: 600; white-space: nowrap; margin-left: auto; }

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #475569;
}

.summary-shipping { border-top: 1px solid #f1f5f9; margin-top: 4px; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
}

.summary-total-value { font-size: 1.4rem; }

@media (max-width: 768px) {
  .checkout-two-col { grid-template-columns: 1fr; }
  .checkout-col-left, .checkout-col-right { grid-column: auto; }
  .hero h1 { font-size: 1.8rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { flex-wrap: wrap; }
  .search-bar { order: 3; width: 100%; max-width: none; }
  .header-actions { margin-left: auto; }
  .shop-layout { flex-direction: column; }
  .top-bar-left span:first-child { display: none; }
  .top-bar-left .top-divider:first-of-type { display: none; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar-left { display: none; }
}

.auth-form {
  max-width: 400px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-form h1 { margin-bottom: 20px; font-size: 1.5rem; }

.auth-link { text-align: center; margin-top: 15px; font-size: 0.9rem; }
.auth-link a { color: #2563eb; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }

.btn-block { width: 100%; padding: 12px; font-size: 1rem; }

.alert { padding: 12px; border-radius: 5px; margin-bottom: 15px; font-size: 0.9rem; }
.alert-error { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6cb; }
.alert-success { background: #e8fde8; color: #27ae60; border: 1px solid #c6f5c6; }

.account-page { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.account-info { margin-bottom: 30px; }
.account-info p { margin-bottom: 8px; }

.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td { padding: 12px; text-align: left; border-bottom: 1px solid #eee; }
.orders-table th { font-weight: 600; color: #555; }

.thank-you {
  text-align: center;
  background: #fff;
  padding: 60px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.thank-you h1 { color: #27ae60; font-size: 2rem; margin-bottom: 15px; }
.thank-you p { color: #666; margin-bottom: 10px; }

.footer {
  background: #0f172a;
  color: #94a3b8;
  margin-top: 60px;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand strong {
  display: block;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #64748b;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-social-link:hover {
  background: #2563eb;
  color: #fff;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-newsletter-text {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-newsletter {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #1e293b;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.footer-newsletter-input:focus {
  border-color: #2563eb;
}

.footer-newsletter-input::placeholder {
  color: #475569;
}

.footer-newsletter-btn {
  padding: 10px 18px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.footer-newsletter-btn:hover {
  background: #1d4ed8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.footer-contact a {
  color: #3b82f6;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact span {
  color: #64748b;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: #475569;
}

.footer-bottom p {
  margin-bottom: 4px;
}

.footer .affiliate-notice {
  font-size: 0.8rem;
  color: #475569;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer { padding: 40px 0 0; }
}

.shop-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.filter-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 80px;
}

.filter-sidebar-open {
  display: block !important;
  position: fixed !important;
  z-index: 1000 !important;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
  overflow-y: auto !important;
  padding: 20px !important;
  max-height: 70vh !important;
  width: 320px !important;
  max-width: 90vw !important;
}

.sidebar-ad {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.sidebar-ad img { max-width: 100%; height: auto; display: block; border-radius: 6px; }

.filter-heading {
  font-size: 1.15rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 6px;
}

.filter-input, .filter-select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
}

.filter-input:focus, .filter-select:focus {
  outline: none;
  border-color: #2563eb;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-range .filter-input {
  width: 0;
  flex: 1;
}

.price-range-sep {
  color: #999;
  font-size: 0.85rem;
}

.shop-content {
  flex: 1;
  min-width: 0;
}

.shop-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.results-count {
  font-size: 0.9rem;
  color: #999;
  white-space: nowrap;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.no-results p {
  color: #888;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 30px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.page-link:hover { border-color: #2563eb; color: #2563eb; }
.page-link.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.page-dots { color: #999; font-size: 0.85rem; padding: 0 4px; }

.admin-table { width:100%;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);border-collapse:collapse; }
.admin-table th { background:#f5f5f5;padding:12px;text-align:left;font-weight:600;color:#555; }
.admin-table td { padding:12px;border-top:1px solid #eee; }

@media (max-width: 768px) {
  .header .container { flex-wrap: wrap; }
  .search-bar { order: 3; width: 100%; max-width: none; }
  .product-detail { grid-template-columns: 1fr; }
  .gallery-main { height: 280px; }
  .form-row { grid-template-columns: 1fr; }
  .wishlist-layout { flex-direction: column; }
  .wishlist-sidebar { width: 100%; }
}

.product-card { position: relative; }

.wishlist-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #94a3b8;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  line-height: 1;
}

.wishlist-heart:hover { transform: scale(1.15); background: #fff; color: #ef4444; }
.wishlist-heart-filled { color: #ef4444; background: #fef2f2; }
.wishlist-heart-filled:hover { color: #dc2626; background: #fef2f2; }

.wishlist-page { max-width: 1200px; margin: 0 auto; }
.wishlist-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.wishlist-header h1 { font-size: 1.6rem; }
.wishlist-empty { text-align: center; padding: 60px 20px; color: #64748b; }
.wishlist-empty p { margin-bottom: 15px; }
.wishlist-layout { display: flex; gap: 25px; align-items: start; }
.wishlist-sidebar { width: 240px; flex-shrink: 0; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); overflow: hidden; }
.wishlist-list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; text-decoration: none; color: #333; border-left: 3px solid transparent; transition: all 0.15s; }
.wishlist-list-item:hover { background: #f8fafc; }
.wishlist-list-item.active { border-left-color: #2563eb; background: #eff6ff; font-weight: 600; }
.wl-name { font-size: 0.9rem; }
.wl-count { font-size: 0.8rem; color: #94a3b8; background: #f1f5f9; padding: 2px 8px; border-radius: 10px; }
.wishlist-main { flex: 1; min-width: 0; }
.wishlist-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.wishlist-toolbar h2 { font-size: 1.3rem; }
.wishlist-actions { display: flex; gap: 8px; }



.contact-hero {
  position: relative;
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1d4ed8 100%);
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-page {
  padding: 40px 30px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.contact-alert-success {
  background: #e8fde8;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-alert-error {
  background: #fde8e8;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact-intro-item {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-intro-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-intro-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.contact-intro-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.contact-intro-item span {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.contact-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.contact-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 24px;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.contact-field label span {
  color: #ef4444;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: #fff;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #94a3b8;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-info-card {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border-color: #e2e8f0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item a {
  color: #1e293b;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s;
}

.contact-info-item a:hover {
  color: #2563eb;
}

.contact-info-item span {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-map {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

@media (max-width: 992px) {
  .contact-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-hero { padding: 60px 0 50px; }
  .contact-hero h1 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 24px; }
  .contact-field-row { grid-template-columns: 1fr; }
  .contact-map iframe { height: 280px; }
}

.hero-alt {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-alt-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-alt-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-alt-shape-1 {
  width: 500px; height: 500px;
  background: #3b82f6;
  top: -150px; right: -100px;
  animation: heroAltFloat 8s ease-in-out infinite;
}

.hero-alt-shape-2 {
  width: 350px; height: 350px;
  background: #8b5cf6;
  bottom: -100px; left: -80px;
  animation: heroAltFloat 10s ease-in-out infinite reverse;
}

.hero-alt-shape-3 {
  width: 200px; height: 200px;
  background: #06b6d4;
  top: 30%; left: 50%;
  animation: heroAltFloat 12s ease-in-out infinite 2s;
}

.hero-alt-shape-4 {
  width: 150px; height: 150px;
  background: #f59e0b;
  bottom: 20%; right: 25%;
  animation: heroAltFloat 7s ease-in-out infinite 1s;
}

@keyframes heroAltFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-alt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-alt-text { max-width: 560px; }

.hero-alt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-alt-text h1 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-alt-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-alt-text p strong {
  color: #93c5fd;
}

.hero-alt-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.hero-btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}

.hero-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,99,235,0.45);
}

.hero-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.hero-btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}

.hero-alt-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-alt-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-alt-visual {
  display: flex;
  gap: 20px;
  justify-content: center;
  perspective: 1200px;
}

.hero-alt-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  min-width: 130px;
  transition: transform 0.3s, background 0.3s;
}

.hero-alt-card:hover {
  transform: translateY(-8px) rotateX(4deg);
  background: rgba(255,255,255,0.1);
}

.hero-alt-card-1 { transform: translateY(-20px) rotateY(-4deg); }
.hero-alt-card-2 { transform: translateY(0) rotateY(0); }
.hero-alt-card-3 { transform: translateY(-10px) rotateY(4deg); }

.hero-alt-card-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
  display: block;
}

.hero-alt-card strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-alt-card span {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.hp-section-alt {
  padding: 60px 0;
  border-bottom: 1px solid #f1f5f9;
}

.hp-section-alt-gray {
  background: #f8fafc;
}

.hp-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.hp-section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.hp-section-header p {
  color: #64748b;
  font-size: 1rem;
  margin-top: 6px;
}

.hp-cat-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 16px;
  background: #2563eb;
  color: #fff;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.hp-cat-link:hover { background: #1d4ed8; }

.hp-section-footer {
  text-align: center;
  margin-top: 32px;
}

.hp-cat-scroll-wrap {
  display: flex;
  justify-content: center;
}
.hp-cat-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
  padding: 8px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scroll-behavior: smooth;
}
.hp-cat-marquee[data-paused="true"] { cursor: grabbing; }
.hp-cat-marquee[data-paused="true"] .hp-cat-card-alt { animation-play-state: paused; }
.hp-cat-marquee::-webkit-scrollbar { display: none; }
.hp-cat-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
}
.hp-cat-marquee-group {
  display: flex;
  gap: 18px;
}
.hp-cat-marquee .hp-cat-card-alt {
  width: 180px;
  flex-shrink: 0;
}

.hp-cat-card-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  background: linear-gradient(135deg, var(--from), var(--to));
  transition: transform 0.25s, box-shadow 0.3s;
}

.hp-cat-card-alt::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hp-cat-card-alt::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--from), var(--to));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.hp-cat-card-alt:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.hp-cat-card-alt-icon {
  font-size: 2.8rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  position: relative;
}

.hp-cat-card-alt-name {
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hp-cat-card-alt-count {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 4px;
  position: relative;
}

.hp-scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.hp-scroll-row::-webkit-scrollbar { display: none; }
.hp-scroll-row > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 260px;
}

.hp-feat-grid-alt {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.hp-feat-card-alt {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  border: 1px solid #f0f0f0;
}

.hp-feat-card-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.hp-feat-card-alt .wishlist-heart {
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.hp-feat-card-alt-img {
  display: block;
  height: 220px;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  padding: 12px;
}

.hp-feat-card-alt-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.hp-feat-card-alt:hover .hp-feat-card-alt-img img {
  transform: scale(1.06);
}

.hp-feat-alt-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2563eb;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 10px;
}

.hp-feat-alt-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc2626;
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 5;
}

.hp-feat-card-alt-body {
  padding: 16px 18px 20px;
}

.hp-feat-alt-cat {
  font-size: 0.75rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: 600;
}

.hp-feat-card-alt-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hp-feat-card-alt-body h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s;
}

.hp-feat-card-alt-body h3 a:hover {
  color: #2563eb;
}

.hp-feat-card-alt-body .price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
}

.hp-feat-card-alt-body .price .original-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 6px;
}

.hp-feat-card-alt-body .price .sale-price {
  color: #dc2626;
}

.hp-feat-card-alt-body .stars {
  margin-bottom: 12px;
}

.hp-deals-grid-alt {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.hp-deal-card-alt {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  position: relative;
  border: 1px solid #fef3c7;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.hp-deal-card-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: #fbbf24;
}

.hp-deal-card-alt .wishlist-heart {
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.hp-deal-alt-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc2626;
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}

.hp-deal-card-alt-img {
  display: block;
  height: 200px;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  padding: 12px;
}

.hp-deal-card-alt-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.hp-deal-card-alt:hover .hp-deal-card-alt-img img {
  transform: scale(1.06);
}

.hp-deal-card-alt-body {
  padding: 16px 18px 20px;
}

.hp-deal-card-alt-body h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hp-deal-card-alt-body h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s;
}

.hp-deal-card-alt-body h3 a:hover {
  color: #2563eb;
}

.hp-deal-card-alt-body .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 4px;
}

.hp-deal-card-alt-body .price .original-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 6px;
}

.hp-deal-card-alt-body .price .sale-price {
  color: #dc2626;
}

.hp-deal-alt-save {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 8px 0 12px;
}

.products-grid-alt {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.product-card-alt {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.product-card-alt:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-card-alt .wishlist-heart {
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
}

.product-card-alt-img {
  display: block;
  height: 190px;
  background: #f8fafc;
  overflow: hidden;
  padding: 10px;
}

.product-card-alt-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card-alt:hover .product-card-alt-img img {
  transform: scale(1.06);
}

.product-card-alt-body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-alt-cat {
  font-size: 0.72rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 600;
}

.product-card-alt-body h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-alt-body h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-alt-body h3 a:hover {
  color: #2563eb;
}

.product-card-alt-body .price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 6px;
}

.product-card-alt-body .price .original-price {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 6px;
}

.product-card-alt-body .price .sale-price {
  color: #dc2626;
}

.product-card-alt-body .stock-badge {
  display: inline-block;
  margin-bottom: 10px;
}

.product-card-alt-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.btn-alt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-alt-primary {
  background: #2563eb;
  color: #fff;
}

.btn-alt-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-alt-outline {
  background: transparent;
  color: #2563eb;
  border: 1.5px solid #2563eb;
}

.btn-alt-outline:hover {
  background: #2563eb;
  color: #fff;
}

.btn-alt-lg {
  padding: 14px 36px;
  font-size: 0.95rem;
}

.btn-alt-amazon {
  display: block;
  background: #ff9900;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
}

.btn-alt-amazon:hover {
  background: #e68a00;
  transform: translateY(-1px);
}

.btn-alt-amazon-sm {
  background: #ff9900;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-alt-amazon-sm:hover {
  background: #e68a00;
}

/* ----- Product Detail Alt ----- */

.pd-breadcrumb {
  padding: 20px 30px 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.pd-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.pd-breadcrumb a:hover {
  color: #2563eb;
}

.pd-breadcrumb span {
  margin: 0 8px;
  color: #cbd5e1;
}

.product-detail-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  margin-top: 24px;
  margin-bottom: 40px;
  border: 1px solid #f0f0f0;
}

.pd-gallery { min-width: 0; }

.pd-gallery-main {
  position: relative;
  width: 100%;
  height: 420px;
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.pd-gallery-main:hover img {
  transform: scale(1.04);
}

.pd-img-placeholder {
  font-size: 5rem;
  font-weight: 700;
  color: #2563eb;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.pd-sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #dc2626;
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(220,38,38,0.3);
  z-index: 5;
}

.pd-gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
  padding: 4px;
  background: #f8fafc;
}

.pd-thumb:hover {
  opacity: 0.85;
}

.pd-thumb.active {
  opacity: 1;
  border-color: #2563eb;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-category {
  display: inline-block;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pd-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.pd-rating {
  margin-bottom: 16px;
}

.pd-rating .star {
  font-size: 1.3rem;
}

.pd-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pd-price-row .price {
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
}

.pd-price-row .price .original-price {
  font-size: 1.4rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 10px;
}

.pd-price-row .price .sale-price {
  color: #dc2626;
}

.pd-save-amount {
  background: #fef3c7;
  color: #92400e;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pd-stock {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pd-stock-count {
  font-size: 0.9rem;
  color: #64748b;
}

.pd-desc {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.pd-details {
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.pd-details-summary {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
  cursor: pointer;
  background: #f8fafc;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pd-details-summary::-webkit-details-marker {
  display: none;
}

.pd-details-summary::after {
  content: '+';
  font-size: 1.2rem;
  color: #94a3b8;
  transition: transform 0.2s;
}

details[open] .pd-details-summary::after {
  content: '\2212';
}

.pd-details-body {
  padding: 16px 18px;
  color: #475569;
  line-height: 1.8;
  font-size: 0.9rem;
  border-top: 1px solid #e2e8f0;
}

.pd-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pd-cart-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.pd-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.pd-qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f8fafc;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-qty-btn:hover {
  background: #e2e8f0;
}

.pd-qty-input {
  width: 44px;
  height: 38px;
  border: none;
  border-left: 1.5px solid #e2e8f0;
  border-right: 1.5px solid #e2e8f0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  outline: none;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.pd-btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 3px 10px rgba(37,99,235,0.25);
}

.pd-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(37,99,235,0.35);
}

.pd-btn-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.pd-btn-wishlist {
  background: #fff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
}

.pd-btn-wishlist:hover {
  border-color: #f472b6;
  color: #ec4899;
  background: #fdf2f8;
}

.pd-btn-amazon {
  display: inline-flex;
  background: #ff9900;
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(255,153,0,0.25);
}

.pd-btn-amazon:hover {
  background: #e68a00;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(255,153,0,0.35);
}

.pd-back {
  margin-top: 24px;
}

.pd-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
}

.pd-back a:hover {
  color: #2563eb;
}

/* ----- Product Detail Additions ----- */

.pd-sku {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.pd-sku span {
  color: #475569;
  font-weight: 600;
}

.pd-low-stock {
  font-size: 0.82rem;
  color: #dc2626;
  font-weight: 600;
  background: #fef2f2;
  padding: 3px 10px;
  border-radius: 50px;
}

.pd-shipping-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.pd-shipping-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #475569;
}

.pd-shipping-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #059669;
}

.pd-reviews-summary {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.pd-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pd-reviews-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.pd-reviews-count {
  font-size: 0.8rem;
  color: #94a3b8;
}

.pd-reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-reviews-bar-label {
  font-size: 0.78rem;
  color: #64748b;
  width: 36px;
  flex-shrink: 0;
}

.pd-reviews-bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 50px;
  overflow: hidden;
}

.pd-reviews-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 50px;
}

.pd-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pd-share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.pd-share-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}

.pd-share-link svg {
  width: 16px;
  height: 16px;
}

.pd-share-link:hover {
  background: #2563eb;
  color: #fff;
}

/* Lightbox */
.pd-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.pd-lightbox-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.pd-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.pd-lightbox-close:hover { opacity: 1; }

.pd-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.pd-lightbox-nav:hover { background: rgba(255,255,255,0.25); }

.pd-lightbox-prev { left: 20px; }
.pd-lightbox-next { right: 20px; }

.pd-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Related Products */
.pd-related {
  margin-top: 40px;
  margin-bottom: 40px;
}

.pd-related .container {
  max-width: 900px;
}

.pd-related-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2563eb;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .pd-related-grid {
    grid-template-columns: repeat(6, 1fr);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .pd-related-card { scroll-snap-align: start; }
  .pd-recent .container, .pd-related .container { padding: 0 16px; }
}

.pd-related-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}

.pd-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pd-related-card-img {
  display: block;
  aspect-ratio: 1;
  background: #f8fafc;
  padding: 8px;
}

.pd-related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-related-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.pd-related-card-body {
  padding: 10px;
}

.pd-related-cat {
  font-size: 0.65rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 3px;
}

.pd-related-card-body h3 {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.pd-related-card-body h3 a {
  color: #333;
  text-decoration: none;
}

.pd-related-card-body h3 a:hover { color: #2563eb; }

.pd-related-card-body .price {
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.pd-related-card-body .stars {
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .pd-related-grid { grid-template-columns: repeat(3, 1fr); }
  .pd-recent .container, .pd-related .container { padding: 0 16px; }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  animation: toastIn 0.3s ease;
  pointer-events: auto;
  max-width: 380px;
}

.toast-success {
  background: #059669;
  color: #fff;
}

.toast-error {
  background: #dc2626;
  color: #fff;
}

.toast-info {
  background: #2563eb;
  color: #fff;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 480px) {
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toast {
    max-width: 100%;
  }
}

/* Recently Viewed */
.pd-recent {
  margin-bottom: 40px;
}

.pd-recent-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2563eb;
}

.pd-recent-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.pd-recent-scroll::-webkit-scrollbar { height: 6px; }
.pd-recent-scroll::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.pd-recent-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.pd-recent-card {
  flex-shrink: 0;
  width: 170px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  scroll-snap-align: start;
  transition: transform 0.15s;
}

.pd-recent-card:hover { transform: translateY(-2px); }

.pd-recent-card-img {
  display: block;
  height: 120px;
  background: #f8fafc;
  padding: 8px;
}

.pd-recent-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-recent-card-body {
  padding: 10px;
}

.pd-recent-card-body h4 {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.pd-recent-card-body h4 a {
  color: #333;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-recent-card-body h4 a:hover { color: #2563eb; }

.pd-recent-card-body .price {
  font-size: 0.82rem;
}

@media (max-width: 992px) {
  .hero-alt-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-alt-text { max-width: 100%; }
  .hero-alt-text h1 { font-size: 2.5rem; }
  .hero-alt-text p { max-width: 100%; }
  .hero-alt-actions { justify-content: center; }
  .hero-alt-trust { justify-content: center; }
  .hero-alt-visual { margin-top: 30px; }
  .product-detail-alt { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .hero-alt { padding: 60px 0; min-height: auto; }
  .hero-alt-text h1 { font-size: 2rem; }
  .hero-alt-visual { gap: 12px; }
  .hero-alt-card { padding: 20px 16px; }
  .hp-section-alt { padding: 40px 0; }
  .hp-section-header h2 { font-size: 1.4rem; }
  .hp-scroll-row > * { width: 220px; }
  .products-grid-alt { grid-template-columns: repeat(2, 1fr); }
  .product-detail-alt { padding: 20px; }
  .pd-gallery-main { height: 300px; }
  .pd-title { font-size: 1.4rem; }
  .pd-breadcrumb { padding: 16px 20px 0; }
}

@media (max-width: 480px) {
  .hp-scroll-row > * { width: 200px; }
  .products-grid-alt { grid-template-columns: repeat(2, 1fr); }
  .hero-alt-card-icon { font-size: 2.4rem; }
  .hero-alt-card strong { font-size: 1rem; }
  .hero-alt-card span { font-size: 0.85rem; }
}

.page-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 30px;
  line-height: 1.8;
  color: #334155;
}
.page-content h1 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 4px;
}
.page-content h2 {
  font-size: 1.3rem;
  color: #0f172a;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
}
.page-content h3 {
  font-size: 1.05rem;
  color: #1e293b;
  margin: 20px 0 8px;
}
.page-content p {
  margin-bottom: 14px;
}
.page-content ul {
  margin: 10px 0 16px 20px;
}
.page-content ul li {
  margin-bottom: 6px;
}
.page-content a {
  color: #2563eb;
  text-decoration: none;
}
.page-content a:hover {
  text-decoration: underline;
}
.page-content section {
  margin-bottom: 8px;
}
.page-date {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 24px;
}
.faq-item {
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #0f172a;
}
.faq-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; padding: 6px; margin-left: 2px;
  border-radius: 8px; transition: background 0.15s; flex-shrink: 0;
}
.mobile-menu-btn:hover { background: #f1f5f9; }
.mobile-menu-btn span {
  display: block; width: 20px; height: 2.5px; background: #475569;
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 70vh;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 300;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  border-radius: 20px 20px 0 0;
}
.mobile-nav.open { transform: translateY(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
}
.mobile-nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}
.mobile-nav-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.mobile-nav-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.mobile-nav-search {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 0 14px;
  border: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.mobile-nav-search-form:focus-within {
  border-color: #2563eb;
  background: #fff;
}
.mobile-nav-search-icon {
  color: #94a3b8;
  flex-shrink: 0;
}
.mobile-nav-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  color: #0f172a;
}
.mobile-nav-search-input::placeholder { color: #94a3b8; }

.mobile-nav-links {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #334155;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s;
}
.mobile-nav-links a svg {
  color: #64748b;
  flex-shrink: 0;
}
.mobile-nav-links a:hover {
  background: #f1f5f9;
  color: #2563eb;
}
.mobile-nav-links a:hover svg {
  color: #2563eb;
}

.mobile-nav-footer {
  border-top: 1px solid #f1f5f9;
  padding: 8px 0;
}
.mobile-nav-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}
.mobile-nav-footer a svg {
  color: #64748b;
  flex-shrink: 0;
}
.mobile-nav-footer a:hover {
  background: #f1f5f9;
}
.mobile-nav-accent {
  color: #2563eb !important;
  font-weight: 600 !important;
}
.mobile-nav-accent svg {
  color: #2563eb !important;
}
.mobile-nav-logout {
  color: #dc2626 !important;
}
.mobile-nav-logout svg {
  color: #dc2626 !important;
}

.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-search-btn { display: none; }

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .main { padding: 20px 0; }
  .mobile-menu-btn { display: flex; }
  .mobile-search-btn { display: flex; }
  .header { padding: 6px 0; }
  .header-inner { gap: 10px; }
  .logo { font-size: 1.2rem; gap: 6px; }
  .site-logo { max-height: 30px; }
  .header-icon-link { width: 34px; height: 34px; }
  .header-icon-link svg { width: 18px; height: 18px; }
  .cart-link { padding: 6px 14px 6px 10px; font-size: 0.78rem; }
  .cart-link svg { width: 18px; height: 18px; }
  .cart-badge { min-width: 16px; height: 16px; font-size: 0.6rem; }
  .top-bar { padding: 3px 0; font-size: 0.65rem; }
  .top-bar-inner { gap: 4px; }
  .top-bar-left span { font-size: 0.65rem; }
  .top-bar-right { gap: 4px; }
  .top-link { font-size: 0.65rem; }
  .top-divider { margin: 0 3px; }

  .hero p { font-size: 0.95rem; }
  .hero-alt { padding: 50px 0; min-height: auto; }
  .hero-alt-inner { gap: 30px; }
  .hero-alt-text h1 { font-size: 1.8rem; }
  .hero-alt-text p { font-size: 0.95rem; }
  .hero-alt-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; justify-items: center; perspective: none; }
  .hero-alt-card { padding: 24px 20px; width: 100%; min-width: 0; }
  .hero-alt-card-1, .hero-alt-card-2, .hero-alt-card-3, .hero-alt-card-4 { transform: none !important; }
  .hero-alt-card-icon { font-size: 2.4rem; }
  .hero-alt-card strong { font-size: 1rem; }
  .product-card .image { height: 150px; }
  .product-card .info { padding: 8px 10px; }
  .product-card h3 { font-size: 0.9rem; }
  .product-card h3 a { font-size: 0.9rem; }
  .product-card .price { font-size: 1rem; }
  .product-card .actions { flex-direction: column; }
  .product-card-alt-actions { flex-direction: column; }
  .product-card-alt-img { height: 150px; padding: 6px; }
  .product-card-alt-body { padding: 10px 12px 14px; }
  .product-card-alt-body h3 { font-size: 0.85rem; }
  .product-card-alt-body .price { font-size: 0.95rem; }
  .product-card-alt-actions .btn-alt { font-size: 0.8rem; padding: 7px 12px; }
  .hp-feat-card-alt-img { height: 160px; padding: 8px; }
  .hp-feat-card-alt-body { padding: 12px 14px 16px; }
  .hp-deal-card-alt-img { height: 160px; padding: 8px; }
  .hp-deal-card-alt-body { padding: 12px 14px 16px; }
  .hp-cat-card-alt { padding: 20px 14px; min-height: 120px; }
  .hp-cat-card-alt::after { display: none; }
  .hp-cat-card-alt-icon { font-size: 2rem; }
  .hp-cat-card-alt-name { font-size: 0.9rem; }
  .hp-cat-scroll-wrap { margin: 0 -16px; }
  .hp-cat-marquee {
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .hp-cat-marquee-track { gap: 12px; }
  .hp-cat-marquee-group { gap: 12px; }
  .hp-cat-marquee .hp-cat-card-alt { width: 140px; }
  .hp-section-alt { padding: 30px 0; }
  .hp-section-alt .container { padding: 0 16px; }
  .hp-section-header h2 { font-size: 1.2rem; }
  .hp-section-header p { font-size: 0.85rem; }
  .hp-scroll-row { gap: 12px; }
  .hp-scroll-row > * { width: 200px; }
  .contact-card { padding: 24px 20px; }
  .auth-form { padding: 0 16px; }
  .cart-page { padding: 0 16px; }
  .checkout-two-col { padding: 0; }
  .page-content { padding: 0 16px; margin: 24px auto; }
  .page-content h1 { font-size: 1.5rem; }
  .faq-item { padding: 16px; }
}

@media (max-width: 480px) {
  .hp-scroll-row > * { width: 170px; }
  .hp-cat-marquee .hp-cat-card-alt { width: 120px; }
  .product-card-alt-img { height: 130px; }
  .product-card .image { height: 130px; }
  .hp-feat-card-alt-img { height: 140px; }
  .hp-deal-card-alt-img { height: 140px; }
  .hero-alt-text h1 { font-size: 1.5rem; }
  .hero-alt-card { min-width: 140px; padding: 24px 20px; }
  .hero-alt-card-icon { font-size: 2.4rem; }
  .hero-alt-card strong { font-size: 1rem; }
  .hero-alt-card span { font-size: 0.85rem; }
}
