body{
    font-family: Arial, Helvetica, sans-serif;
}
a{
    text-decoration: none;
    color: inherit;
}
.conatainer{
    width: 100%;
    height: 100%;
    background-color: dimgrey;
}
.header{
    width: 100%;
    height: 85px;
    background-color: rgb(0, 0, 0);
}
.shopname{
    height: 100%;
    font-size: 150%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: aliceblue;
}
.padding{
    padding-top: 15px;
    display: block;
}
.menu{
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: aliceblue;
    
}
.danhmuc{ 
    width: 180px;
    height: 100%;
    display: flex;
    align-items: center;
    float: left;
}
.danhmuc a{
    color: aliceblue;
    text-decoration: none;
}

.danhmuc :hover{
    transform: scale(1.2);
}

.Dcamera{
    width: 85px;
    height: 100%;
    display: flex;
    align-items: center;
    float: left;
    margin-left: 20px;
}
.Dcamera a{
    color: aliceblue;
    text-decoration: none;
}
.Dcamera :hover{
    transform: scale(1.2);
}

.Dcamfilm{
    width: 90px;
    height: 100%;
    display: flex;
    align-items: center;
    float: left;
    margin-left: 20px;
}
.Dcamfilm a{
    color: aliceblue;
    text-decoration: none;
}
.Dcamfilm :hover{
    transform: scale(1.2);
}

.Dlens{
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    float: left;
    margin-left: 20px;
}
.Dlens a{
    color: aliceblue;
    text-decoration: none;
}
.Dlens :hover{
    transform: scale(1.2);
}

.Dphukien{
    width: 80px;
    height: 100%;
    display: flex;
    align-items: center;
    float: left;
    margin-left: 20px;
}
.Dphukien a{
    color: aliceblue;
    text-decoration: none;
}
.Dphukien :hover{
    transform: scale(1.2);
}

.Dlab{
    width: 140px;
    height: 100%;
    display: flex;
    align-items: center;
    float: left;
    margin-left: 20px;
}
.Dlab a{
    color: aliceblue;
    text-decoration: none;
}
.Dlab :hover{
    transform: scale(1.2);
}
.Dabout{
    width: 90px;
    height: 100%;
    display: flex;
    align-items: center;
    float: left;
    margin-left: 20px;
}
.Dabout a{
    color: aliceblue;
    text-decoration: none;
}
.Dabout :hover{
    transform: scale(1.2);
}
.left{
    width: 17.5%;
    height: 3700px;
    background-color: rgb(255, 255, 255);
    float: left;
}
.right{
    width: 17.5%;
    height: 3650px;
    background-color: rgb(255, 255, 255);
    float: left;
}
.SA1M2{
    width: 65%;
    height: 3650px;
    
    float: left;
}
.photo{
    width: 600px;
    height: 500px;
    float: left;
}
.price{
    width: 550px;
    height: 500px;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
}
.gia{
    color: brown;
    display: block;
    margin-top: 5px; 
    font-weight: bold;
}
.mini-info{
    width: 600px;
    height: 350px;
    padding-left: 50px;
    padding-top: 15px;
    font-family: Arial, Helvetica, sans-serif;
}


.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}
  
.main-image-container img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      transition: transform 0.1s;
      transform-origin: center center;
}

.footer-black {
    width: 100%; 
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    float: left;
}

.footer-black a {
  color: #00bfff;
  text-decoration: none;
}

.footer-black a:hover {
  text-decoration: underline;
}

.footer-black p {
  margin: 5px 0;
}








/* Zoom effect on hover */
.main-image:hover {
    transform: scale(1.05);
    cursor: zoom-in;
}

.product-gallery {
    display: flex;
    gap: 20px;
}

.thumbnail-column {
    display: flex;
    
    flex-direction: column;
    align-items: center;
}

.scroll-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    margin: 5px 0;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: none;
    align-items: center;
}

.thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnails img.active {
    border: 2px solid #007bff;
}

.main-image-container {
    position: relative;
}

.main-image {
    width: 500px;
    height: auto;
    border: 1px solid #ccc;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
    cursor: zoom-in;
}

.zoom-hint {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}


.option-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.option {
    border: 1px solid #ccc;
    padding: 15px;
    cursor: pointer;
    background-color: white;
    min-width: 200px;
}

.option.selected {
    background-color: #e0f5e9; /* màu xanh nhạt */
    border-color: #7bc47f;
}


.actions {
    color: red;
    margin-top: 5px;
    display: block;
}

.actions button {
    transition: transform 0.2s ease;
}

.actions button:hover {
    transform: scale(0.8);
}

.tab-menu {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab-menu div {
    padding: 12px 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #f9f9f9;
    margin-right: 5px;
}

.tab-menu div.active {
    background-color: white;
    border-top: 2px solid #007bff;
    font-weight: bold;
    color: #007bff;
}

.tab-content {
    padding: 20px;
    border: 1px solid #ddd;
    background-color: white;
    display: none;
}


.tab-content.active {
  display: block;
}

.tab {
  padding: 12px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  background-color: #f9f9f9;
  margin-right: 5px;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

.tab.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border-top: 2px solid #0056b3;
}

p{
    text-align: justify;
}

@media (max-width: 768px) {
    .SA1M2 {
        flex-direction: column;
    }
    .photo, .price {
        width: 100%;
    }
}
