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

body {
  font-family: Arial, sans-serif;
  background: white;
}

#menu-bar {
  height: 50px;
  background-color: blue;
  position: sticky;
  top: 0;
  z-index: 999;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

.product-title {
  padding: 20px 0 10px 10px;
  text-align: left;
}

.photo-section {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.main-photo-container {
  margin-bottom: 10px;
}

#main-photo {
  width: 100%;
  max-width: 800px;
  max-height: 800px;
  height: auto;
  object-fit: contain;
}

.thumbnail-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
  border:1px solid #aaa;
}

.thumbnail.zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  z-index: 1000;
}

.paypal-wrapper {
    text-align: center;        /* horizontal center */
    padding: 0;
}

#paypal-button-container {
    display: inline-block;     /* keeps natural width */
    width: 400px;
    max-width: 100%;           /* responsive safeguard */
}

#paypal-button-container iframe {
    width: 400px !important;   /* force correct width */
    height: 110px !important;  /* force correct height */
}

.description-title {
  padding: 0 0 2px 10px;
  text-align: left;
  line-height: 40px;
  background-color: #f5f5f5;
}

.description-text {
  text-align: justify;
  padding: 0 10px;
}

.description-text h2 {
  padding: 20px 0 5px 0;
  font-size:18px;
}

.description-text p {
  padding: 5px 0 10px 0;
}

.description-text ul {
  padding: 10px 0 10px 30px;
}

.description-text li {
  padding: 1px 0;
}

.description-text a {
  color: blue;
  text-decoration: none;
  font-weight:600;
}

.description-text a:hover {
  color: black;
}

.price-table {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.price-table th,
.price-table td {
  padding: 12px 15px;
  text-align: left;
}

.price-table thead {
  font-weight: bold; /* Bold for mobile by default */
}

.price-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.price-table tbody tr:hover {
  background-color: #f1f1f1;
}

.promo-banner {
  height: 50px;
  background-color: #f5f5f5;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-banner a {
  color: #000;
  text-decoration: none;
}


@media screen and (max-width: 1000px) {
  main {
    padding: 0 10px;
  }
}


/* Larger screens: black header background, normal weight */
@media (min-width: 601px) {
  .price-table thead {
    background-color: #000;
    color: white;
    font-weight: normal;
  }
}


@media (max-width: 600px) {
  .price-table thead {
    display: none;
  }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
    text-align: left; /* Align text left for all stacked boxes */
  }
  .price-table tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
  }
  .price-table td {
    padding: 8px 15px 8px 20px; /* Left padding = 20px */
    position: relative;
  }
  .price-table td:first-child {
    font-weight: bold; /* First cell (Service name) bold */
  }
  .price-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
  }
}