/* Reset & Layout */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; font-family: Arial, sans-serif; background: #4a3402; }
body { display: flex; flex-direction: column; min-height: 100vh; }
.page-wrapper { display: flex; flex-direction: column; flex: 1; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 40px 0; margin-top: -20px; }

/* Product Page */
.product-page { display: flex; gap: 50px; flex-wrap: wrap; background: #94721c; padding: 20px; border-radius: 10px; }
.product-images { flex: 1; min-width: 300px; }
.main-image img { width: 100%; border-radius: 10px; object-fit: cover; }
.thumbnails { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbnails img { width: 60px; height: 60px; cursor: pointer; border-radius: 5px; border: 1px solid #ccc; object-fit: cover; }
.product-info { flex: 1; min-width: 300px; }
.product-info h1 { font-size: 2rem; margin-bottom: 10px; }
.rating { color: #f39c12; margin-bottom: 10px; font-size: 1.2rem; }
.price { font-size: 1.8rem; font-weight: bold; margin-bottom: 15px; }
.original { text-decoration: line-through; color: #888; font-weight: normal; margin-right: 10px; }
.product-info label { display: block; margin-top: 10px; font-weight: bold; }
.product-info select, .product-info input { width: 100%; padding: 10px; margin-top: 5px; border-radius: 5px; border: 1px solid #ccc; font-size: 1rem; }
.buttons { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.btn { padding: 12px 25px; border-radius: 5px; border: none; cursor: pointer; font-weight: bold; font-size: 1rem; }
.buy-now { background: #01062b; color: #fff; transition: all 0.3s ease; }
.buy-now:hover { background: #1871b5; color: #fff; }
.order-now { background: #d5980a; color: #fff; transition: all 0.3s ease; }
.order-now:hover { background: #000000; color: #fff; }


/* Product Details Section */
.product-details-section { background: #a57a0c; padding: 40px 20px; border-radius: 10px; margin-top: 30px; }
.product-details-section h2 { font-size: 1.8rem; margin-bottom: 15px; color: #111; }
.product-details-section p { margin-bottom: 20px; line-height: 1.6; font-size: 1rem; }

/* Reviews & Ratings */
.user-rating { text-align: center; margin-bottom: 30px; }
.user-rating .stars { font-size: 30px; cursor: pointer; color: #ccc; }
.user-rating .stars span.active, .user-rating .stars span.hover { color: gold; }
.user-rating textarea { width: 100%; max-width: 500px; margin-top: 10px; padding: 12px; font-size: 15px; border: 2px solid #ccc; border-radius: 8px; resize: none; outline: none; transition: border 0.3s, box-shadow 0.3s; }
.user-rating textarea:focus { border-color: gold; box-shadow: 0 0 8px gold; }
.user-rating button { margin-top: 10px; padding: 10px 20px; background: #111; color: #fff; border: none; cursor: pointer; border-radius: 5px; font-size: 1rem; }

/* Individual Review */
.review { border-top: 1px solid #eee; padding-top: 15px; margin-top: 15px; }
.review span { display: block; font-weight: bold; margin-top: 5px; color: #555; font-size: 0.9rem; }

/* Footer */
.footer { background-color: #020202; color: white; text-align: center; padding: 20px 10px; margin-top: auto; width: 100%; }
.footer a { color: white; text-decoration: none; margin: 0 10px; font-weight: bold; }
.footer a:hover { text-decoration: underline; }
/* Media Queries for Responsiveness */
@media(max-width: 992px) {
    .product-page { gap: 30px; padding: 15px; }
    .product-info h1 { font-size: 1.8rem; }
    .price { font-size: 1.6rem; }
}

@media(max-width: 768px) {
    .container { padding: 20px 10px; }
    .product-page { flex-direction: column; gap: 20px; }
    .buttons { justify-content: center; }
    .product-info h1 { font-size: 1.5rem; text-align: center; }
    .price { font-size: 1.4rem; text-align: center; }
    .rating { text-align: center; }
}

@media(max-width: 480px) {
    .main-image img { border-radius: 8px; }
    .thumbnails img { width: 50px; height: 50%; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .product-details-section { padding: 20px 10px; }
    .product-details-section h2 { font-size: 1.5rem; }
    .product-details-section p { font-size: 0.9rem; }
    .user-rating .stars { font-size: 24px; }
    .user-rating textarea { font-size: 14px; }
    .user-rating button { font-size: 0.9rem; padding: 8px 16px; }
}
/* Upper part responsive fix */
.product-page {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #94721c;
    padding: 20px;
    border-radius: 10px;
    justify-content: center;
    align-items: flex-start;
}

/* Images */
.product-images {
    flex: 1 1 400px; /* flexible but min 400px */
    max-width: 500px;
    min-width: 250px;
}
.main-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}
.thumbnails img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    object-fit: cover;
}

/* Product Info */
.product-info {
    flex: 1 1 300px;
    min-width: 250px;
    max-width: 500px;
}
.product-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.product-info label,
.product-info select,
.product-info input {
    width: 100%;
}

/* Buttons flex fix */
.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.buy-now {
    flex: 1 1 120px;
    text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .product-page {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .product-images,
    .product-info {
        max-width: 100%;
    }
    .buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-info h1 { font-size: 1.5rem; text-align: center; }
    .price { font-size: 1.4rem; text-align: center; }
    .thumbnails img { width: 50px; height: 50px; }
}
.video-section {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  
  .video-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .video-row.reverse {
    flex-direction: row-reverse;
  }
  
  .video-container video {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }
  
  .text-container {
    flex: 1;
    min-width: 250px;
  }
  
  .text-container h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #f3c716;
  }
  
  .text-container p {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
  }
  
  /* Mobile responsiveness */
  @media(max-width: 768px) {
    .video-row, .video-row.reverse {
      flex-direction: column;
      text-align: center;
    }
  
    .video-container video {
      max-width: 100%;
    }
  }
  /* Navbar container */
.navbar {
    position: relative;
    display: flex;
    justify-content: center;   /* centers horizontally */
    align-items: center;       /* centers vertically */
    height: 70px;              /* navbar height */
    background: transparent;          /* dark bg (clean look) */
  }
  
  /* Icon link */
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;        /* makes it circle-ish */
    transition: 0.3s ease;
  }
  
  /* Icon */
  .icon {
    width: 38px;               /* adjust size */
    height: auto;
    filter: brightness(0) invert(1); /* makes it white (cool effect) */
    transition: transform 0.2s ease, filter 0.3s ease;
  }
  
  /* Hover effect */
  .nav-link:hover .icon {
    transform: scale(1.2);     /* zoom in on hover */
    filter: drop-shadow(0 0 6px rgb(192, 154, 42)); /* glow effect */
  }
  .nav-link:hover .icons {
    transform: scale(1.1);     /* zoom in on hover */
    filter: drop-shadow(0 0 6px rgb(14, 14, 14)); /* glow effect */
  }

/* --- FIXED PART --- */
.option-group {
  display: flex;
  flex-direction: row; /* force horizontal */
  gap: 15px;           /* space between options */
  flex-wrap: nowrap;   /* keep in one line */
}

.option {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
/* Only affects the option group */
.option-group {
    display: flex;             /* put them in a row */
    flex-direction: row;       /* horizontal */
    justify-content: center;   /* center the row */
    gap: 12px;                 /* space between */
  }
  
  .option input {
    display: none; /* hide the default radio button */
  }
  
  .option span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border: 2px solid #555;
    border-radius: 50%; /* circles */
    color: #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  
  .option span:hover {
    border-color: #d5a815;
    color: #d5a815;
  }
  
  .option input:checked + span {
    background: #fff;
    color: #000;
    border-color: #fff;
    font-weight: bold;
  }
  