/* Mobile responsive improvements */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .row {
    flex-direction: column;
    gap: 0;
  }
  .product-gallery {
    margin-bottom: 24px;
    order: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
  }
  .gallery-main img {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    border-radius: 10px;
  }
  .gallery-thumbs {
    justify-content: center;
    margin-bottom: 12px;
  }
  .product-info {
    order: 2;
    width: 100%;
    min-width: 0;
    padding: 0;
  }
  .product-title {
    font-size: 1.4rem;
  }
  .product-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }
  .btn-buy, .btn-cart {
    width: 100%;
    padding: 14px 0;
    font-size: 1.1rem;
  }
  .product-sidebar {
    order: 3;
    width: 100%;
    min-width: 0;
    margin-top: 18px;
  }
  .sidebar-card {
    margin-top: 0;
    border-radius: 10px;
    padding: 12px;
  }
  .details-table th, .details-table td {
    font-size: 0.95rem;
    padding: 6px;
  }
  .product-reviews {
    margin-top: 24px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 4px;
  }
  .product-title {
    font-size: 1.1rem;
  }
  .amazon-header .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .amazon-search {
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .amazon-nav {
    gap: 8px;
    margin-left: 0;
    flex-wrap: wrap;
  }
}
.product-actions {
  display: flex;
  gap: 12px;
}
.btn-buy, .btn-cart {
  background: #ffd814;
  color: #111;
  border: 1px solid #fcd200;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 32px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  flex: 1 1 0;
}
.btn-buy:hover, .btn-cart:hover {
  background: #f7ca00;
  box-shadow: 0 2px 8px rgba(255,212,20,0.18);
}
@media (max-width: 900px) {
  .row { flex-direction: column; gap: 0; }
  .product-gallery { margin-bottom: 24px; }
  .product-actions {
    flex-direction: column;
    gap: 12px;
  }
  .btn-buy, .btn-cart {
    width: 100%;
    padding: 14px 0;
    font-size: 1.15rem;
  }
}
body { font-family: Arial, Helvetica, sans-serif; background: #fff; color: #111; margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
/* Header improvements */
.amazon-header {
  background: #232f3e;
  padding: 18px 0 18px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.amazon-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}
.amazon-logo img {
  height: 36px;
  vertical-align: middle;
}
.amazon-logo {
  margin-right: 32px;
  display: flex;
  align-items: center;
}
.amazon-search {
  width: 340px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-right: 32px;
  font-size: 1.05rem;
  background: #fff;
  transition: border-color 0.2s;
}
.amazon-search:focus {
  border-color: #f90;
  outline: none;
}
.amazon-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.amazon-nav a {
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s;
/* Remove underline from all links and buttons */
a, .btn-buy, .btn-cart {
  text-decoration: none !important;
}
  overflow-x: auto;
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ffd814 #eee;
}
@media (max-width: 900px) {
.gallery-thumbs {
    display: grid !important;
  }
  .gallery-thumbs img {
    min-width: 60px;
    max-width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
  }
}
.amazon-nav a:hover {
  background: #37475a;
  color: #ffd814;
}
.product-main { margin-top: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 32px; }
.product-gallery { min-width: 320px; }
.gallery-main img { width: 100%; max-width: 400px; border: 1px solid #eee; border-radius: 8px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.gallery-thumbs img { width: 60px; height: 60px; object-fit: cover; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; transition: border-color 0.2s; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: #f90; }
.product-info { flex: 1; min-width: 320px; }
.product-title { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.product-brand { font-size: 1rem; margin-bottom: 8px; }
.product-rating { margin-bottom: 8px; }
.stars { color: #ffa41c; font-size: 1.1rem; }
.product-price { font-size: 1.8rem; font-weight: 700; color: #b12704; margin-bottom: 8px; }
.prime { background: #f0c14b; color: #232f3e; font-size: 0.9rem; border-radius: 4px; padding: 2px 6px; margin-left: 8px; }
.product-delivery { margin-bottom: 8px; font-size: 1rem; }
.product-stock { color: #007600; font-weight: 700; margin-bottom: 12px; }
.product-actions { margin-bottom: 16px; }
.btn-buy, .btn-cart { background: #ffd814; color: #111; border: 1px solid #fcd200; border-radius: 20px; font-size: 1.1rem; font-weight: 700; padding: 12px 32px; margin-right: 8px; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.btn-buy:hover, .btn-cart:hover { background: #f7ca00; box-shadow: 0 2px 8px rgba(255,212,20,0.18); }
.product-highlights { margin-bottom: 16px; }
.product-highlights li { margin-bottom: 6px; }
.product-sidebar { min-width: 220px; }
.sidebar-card { background: #f7f7f7; border: 1px solid #eee; border-radius: 8px; padding: 16px; margin-top: 24px; }
.sidebar-price { font-size: 1.5rem; font-weight: 700; color: #b12704; margin-bottom: 8px; }
.sidebar-delivery, .sidebar-stock { font-size: 1rem; margin-bottom: 6px; }
.details-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.details-table th, .details-table td { border: 1px solid #eee; padding: 8px; text-align: left; }
.details-table th { background: #f7f7f7; font-weight: 700; }
.product-reviews { margin-top: 32px; }
.review { border-bottom: 1px solid #eee; padding: 12px 0; }
.review-head { font-size: 1rem; margin-bottom: 4px; }
.review-body { font-size: 1rem; }
.amazon-footer { background: #232f3e; color: #fff; font-size: 1rem; }
@media (max-width: 900px) {
  .row { flex-direction: column; gap: 0; }
  .product-sidebar { margin-top: 32px; }
}
