body {
  margin: 0;
}

.navbar {
  background-color: #4a3428;
  height: 180px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  padding-left: 55px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 22px;
    transform: translateX(100px);
    background: red !important;
}

.logo-box img {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.logo-box h1 {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  letter-spacing: 5px;
  font-weight: bold;
}

.navbar nav {
  display: flex;
  gap: 55px;
  margin-left: 95px;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: bold;
}

.product-page {
  padding: 45px 8% 45px;
  background: #f4efe7;
  min-height: 100vh;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: #fff;
  padding: 50px;
  border-radius: 22px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.thumbnails {
    display: flex;
    justify-content: center; /* Centre les miniatures */
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.thumbnails img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e6ddd4;
    background: #fff;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.25s ease;
}

.thumbnails img:hover {
    transform: translateY(-2px);
    border-color: #8a6a4d;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.product-ref {
  color: #7a4f2a;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.product-info h2 {
  font-size: 42px;
  color: #2b1b14;
  margin-bottom: 5px;
}

.product-info h3 {
  font-size: 26px;
  color: #5a3929;
  margin-bottom: 25px;
}

.product-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
}

.color-section h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.colors {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 25px;
}

.colors button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #d5d5d5;
}

.colors .rose {
  background: #d88ca2;
}

.colors .gold {
  background: #d9ad2b;
}

.colors .silver {
  background: #c4c4c4;
}

.product-details p {
  font-size: 17px;
  margin-bottom: 10px;
}

.contact-btn {
  display: inline-block;
  width: fit-content;
  padding: 15px 28px;
  background: #4b2f22;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #2f1c14;
  transform: translateY(-2px);
}

@media screen and (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .product-gallery #mainImage {
    height: 350px;
  }

  .product-info h2 {
    font-size: 32px;
  }

  .product-info h3 {
    font-size: 22px;
  }
}

.navbar .logo-container {
  transform: translateX(5px);
}

.product-detail {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 60px !important;
}

.product-gallery {
  width: 50% !important;
  flex-shrink: 0 !important;
}

.product-info {
  width: 50% !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.product-gallery #mainImage {
  width: 100% !important;
  height: 520px !important;
  object-fit: cover !important;
  border-radius: 20px;
}

.contact-btn {
  position: relative !important;
  top: -68px !important;
  left: 360px !important;
  align-self: flex-start !important;
}

.colors button {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  cursor: pointer;
  border: 0px solid #ccc;
}

.white-color {
  background: #fff;
  border: 1px solid #000 !important;
}

.red{
    background: #8b1e1e;
}

.cuivre{
    background: #77711c;
}

.brown{
    background: #724f2d;
}

.beige{
    background: #ebb583;
}

.petrol{
    background: #0facac;
}

.flower{
    background: #f1d7b4;
}

.navy{
    background: #1f3c88;
}

.orange{
    background: #f06c20;
}

.black{
    background: #111;
}

.jaspe{
    background: linear-gradient(135deg, #f8993b, #c28245);
}

footer {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;

    background-color: #4a3428;
    color: white;
    text-align: center;

    padding: 18px 0 110px;
}

footer p {
    margin: 0;
}

.footer-legal {
    margin-top: 10px;
    font-size: 14px;
}

.footer-legal a {
    color: white;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-legal span {
    margin: 0 10px;
    opacity: 0.7;
}