body { 
  font-family: Roboto, Arial, sans-serif;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/bikes/2021-Harley-Davidson-CVO-Road-Glide-First-Look-urban-cruiser-touring-motorcycle-14.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

main.container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.product { 
  border: 1px solid #eee; 
  padding: 12px; 
  border-radius: 6px; 
  background: #fff; 
  min-height: 440px;
  height: auto;
  display: flex;
  flex-direction: column;
  transition: height 0.3s ease;
}

.product-images { 
  position: relative; 
  border-radius: 6px; 
  overflow: hidden;
  flex-shrink: 0;
}

.product-image { 
  width: 100%; 
  height: 160px; 
  object-fit: cover; 
  display: block; 
  cursor: pointer; 
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.product-details {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.features-text {
  margin: 8px 0 4px 0;
  font-size: 0.9em;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
  line-height: 1.4;
  max-height: 4.2em;
}

.product-content[data-expanded="true"] .features-text {
  -webkit-line-clamp: none;
  line-clamp: none;
  display: block;
  max-height: none;
}

.see-more-btn { 
  display: none; 
}

.features-text .ellipsis { 
  color: inherit; 
}

.see-more-inline {
  color: #0082ad;
  cursor: pointer;
  font-size: 0.9em;
  margin-left: 4px;
  text-decoration: none;
  font-weight: 600;
}

.see-more-inline:focus { 
  outline: none; 
}

.product-content[data-expanded="true"] .see-more-inline { 
  display: none; 
}

.price-container {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img-nav { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  background: rgba(0,0,0,0.45); 
  color: #fff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
}

.img-nav.left { 
  left: 8px; 
}

.img-nav.right { 
  right: 8px; 
}

.modal-thumb { 
  width: 189px; 
  height: 127px; 
  object-fit: cover; 
  border-radius: 4px; 
  cursor: pointer; 
  opacity: 0.7; 
  transition: opacity 0.2s; 
}

.modal-thumb:hover { 
  opacity: 1; 
}

.modal-thumb.active { 
  opacity: 1; 
  border: 2px solid #0082ad; 
}

.nav-cta {
  --c1: #cef1f3;
  --c2: #005a79;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  color: #ffffff !important;
  border-color: #ffffff;
  padding: 8px 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

.nav-cta::after {
  content: '';
  position: absolute;
  left: -10%; 
  top: -40%; 
  width: 120%; 
  height: 60%;
  background: rgba(255,255,255,0.18);
  transform: rotate(-18deg);
  pointer-events: none;
}

.nav-cta:hover { 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 14px 32px rgba(16,24,40,0.16); 
  filter: saturate(1.05); 
}

.nav-cta:active { 
  transform: translateY(0) scale(0.995); 
  box-shadow: 0 6px 14px rgba(16,24,40,0.12); 
}

.btn-success {
  --c1: #3aa34d;
  --c2: #064102;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  color: #ffffff !important;
  border-color: #ffffff;
  padding: 8px 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  position: relative;
  overflow: hidden;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  padding-left: 4px;
  padding-right: 4px;
  font-size: clamp(12px, 2.5vw, 14px);
}

.product-title { 
  font-weight: 700; 
  margin-top: 8px; 
}

.price { 
  color: #0082ad; 
  font-weight: 700; 
}

.cart-btn { 
  position: fixed; 
  right: 18px; 
  bottom: 18px; 
  z-index: 1050; 
}

.cart-badge { 
  background: #0082ad; 
  color: #fff; 
  padding: 6px 10px; 
  border-radius: 20px; 
}

.cart-overlay { 
  position: fixed; 
  right: 18px; 
  bottom: 70px; 
  width: 360px; 
  max-width: calc(100% - 40px); 
  background: #fff; 
  border: 1px solid #ddd; 
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); 
  border-radius: 8px; 
  display: none; 
  z-index: 1060; 
}

.cart-overlay header { 
  padding: 12px; 
  border-bottom: 1px solid #f1f1f1; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.cart-items { 
  max-height: 360px; 
  overflow: auto; 
  padding: 12px; 
}

.cart-item { 
  display: flex; 
  gap: 10px; 
  align-items: center; 
  padding: 8px 0; 
  border-bottom: 1px solid #f4f4f4;
}

.cart-item img { 
  width: 64px; 
  height: 48px; 
  object-fit: cover; 
  border-radius: 4px;
}

.qty { 
  width: 60px;
}

.cart-footer { 
  padding: 12px; 
  border-top: 1px solid #f1f1f1; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.empty { 
  text-align: center; 
  color: #666; 
  padding: 18px;
}

@media (max-width: 576px) {
  .nav-cta { 
    padding: 6px 10px; 
    font-size: 0.9rem; 
  }
}