* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  background-color: rgb(255, 255, 255);
  color: #000000;
}

.swiper,
.swiper-wrapper,
.swiper-slide,
.product-swiper,
.pd-gallery * {
    outline: none !important;
    box-shadow: none !important;
}

/* Gallery */
.pd-gallery {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fafafa;  /* ← warm white */
}

.gallery-image {
    width: 100%;
    height: 380px;
    object-fit: contain;  /* ← show whole image */
    background: #fafafa;  /* ← match container */
    display: block;
    padding: 8px;         /* ← small breathing room */
}

.disp-msg {
  background-color: #ffcdcd;
  border: 1px solid #ffbaba;
  color: #d41010;
  padding: 16px 20px;
  margin: 15px 5px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.disp-msg p {
    margin: 0 0 10px 0;
    font-size: 15px;
}

.product-details-page {
  max-width: 900px;
  min-height: 60vh;
  margin: 0 auto;
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
}

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.product-swiper {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  margin: 20px auto;
  /* border-radius: 12px; */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  /* border: 3px solid #007bff; */
  background: #000; /* Optional: avoids empty space flashes */
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    height: 380px;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    display: block;
}

.gallery-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.swiper-button-next,
.swiper-button-prev {
  color: #007bff;
}

.swiper-pagination-bullet-active {
  background: #007bff;
}

.product-details-page .btns {
  display: flex;
  
}

.product-details-page button {
  background-color: #007bff;
  color: white;
  padding: 10px 16px;
  width: 200px;
  border: none;
  border-radius: 5px;
  margin: 5px 5px 5px 0;
  cursor: pointer;
  font-size: 14px;
}

.product-details-page button:hover {
  background-color: #0056b3;
}

.product-details-page .btn-del {
  background-color: #b80000;
  color: white;
  padding: 10px 16px;
  width: 200px;
  border: none;
  border-radius: 5px;
  margin: 5px 5px 5px 0;
  cursor: pointer;
  font-size: 14px;
}

.product-details-page .btn-del:hover {
  background-color: #ef1818;
}

form {
  margin: 10px 0;
}

#orderForm {
  border: 1px solid #ddd;
  padding: 10px;
  margin-top: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

#orderForm input,
#orderForm select {
  display: block;
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

@media (max-width: 600px) {
.product-swiper {
    aspect-ratio: 1 / 1; /* Square frame */
    max-width: 100%;
  }

  .gallery-image {
    aspect-ratio: 1 / 1;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none; /* Optional: hide nav buttons on small screens */
  }
  
  .product-details-page button {
    width: 100%;
  }
  
}


