body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.product-section {
  padding: 40px 0;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.description-text {
  margin-top: 20px;
  line-height: 1.6;
}

.features-list {
  padding-left: 20px;
}

.features-list li {
  list-style-type: disc;
  margin-bottom: 10px;
}

.cards-section {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.card-horizontal {
  display: flex;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  height: 200px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image-horizontal {
  flex: 1;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.card-content-horizontal {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-fixed {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #284f8f;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  z-index: 10;
  min-width: 80px;
  text-align: center;
}

.parallax img {
  filter: brightness(0.7);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.card-link:hover,
.card-link:focus {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px);
  outline: none;
}

.card-link:hover .card-horizontal,
.card-link:focus .card-horizontal {
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-action {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.card-link:hover .teal-text,
.card-link:focus .teal-text {
  color: #00695c !important;
  font-weight: bold;
}

#short-text-button {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(0);
  transition: all 0.3s ease !important;
}

#buy-button {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(0);
  transition: all 0.3s ease !important;
  width: 100%;
  font-size: 1rem;
  padding: 0 16px;
  white-space: normal;
  line-height: 1.4;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: white !important;
  color: #284f8f !important;
}

#buy-button .material-symbols-outlined {
  font-size: 1.2rem;
  margin-right: 8px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  #buy-button {
    font-size: 0.9rem;
    padding: 0 12px;
    min-height: 48px;
  }
  
  #buy-button .material-symbols-outlined {
    font-size: 1rem;
    margin-right: 6px;
  }
}

@media (max-width: 400px) {
  #buy-button {
    font-size: 0.85rem;
    padding: 0 8px;
  }
  
  #buy-button span:not(.material-symbols-outlined) {
    display: inline-block;
    max-width: calc(100% - 30px);
  }
}

#buy-button:hover,
#buy-button:focus {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-3px) !important;
}

.sidenav-trigger i {
  color: white !important;
}

@media (max-width: 768px) {
  .card-horizontal {
    flex-direction: column;
    height: auto;
  }
  
  .card-image-horizontal {
    height: 200px;
    width: 100%;
  }
  
  .horizontal-card .card-image-horizontal {
    height: 200px;
    width: 100%;
  }
  
  .product-section {
    padding: 20px 0;
  }
  
  .cards-section {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-link,
  .card-horizontal,
  #buy-button {
    transition: none;
  }
}
