html, body {
    /* overflow-x: hidden; */
    max-width: 100%;
}

.url {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 14px;
  color: #555;
  padding: 10px 20px;
  background-color: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 20px;
  width: 100%;
  overflow-wrap: break-word;
}

.url p {
  margin: 0;
  color: #666;
}

.url p::before {
 
  margin-right: 4px;
  color: #888;
}

.url p strong,
.url p span:last-child {
  color: #222;
  font-weight: 600;
}

.container {
    max-width: 100%;
    height: auto;
    background-color: whitesmoke;
}

.images img {
    width: 100%;
}

.sub_img_container {
    margin: 0px;
    padding-inline-start: 0px;
    padding-inline-end: 0px;
}

.sub_img.col {
    max-width: 100%;
    height: auto;
    /* overflow: hidden; */
    padding: 5px;
    cursor: pointer; /* Add cursor pointer for indicating it's clickable */
}

.sub_img_container img {
    width: 100%;
}

.sub_img img {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.sub_img.active img {
    border: 3px solid #FFA500; /* Orange border */
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.7); /* Orange glow effect */
    opacity: 0.9;
}



video {
    width: 100%;
    
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}





body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    /* overflow-x: hidden; */
}



main {
    padding: 20px;
    padding-left:0px;
    padding-right:0px;
    background-color: #f9f9f9;
}




content{
    padding-left: 10px;
    padding-bottom: 80px;
}





.whatsapp_chathead{
    position: fixed;
    bottom: 3% !important;
    right:4% !important;
}












/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.row1, .row2, .row3 {
    margin-bottom: 20px;
}

/* Additional styles for form inclusion */
.order_form {
    margin-top: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: none;
}











.review_container{
    background-color: whitesmoke;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(240, 79, 26, 0.1);
  
    margin: 0px auto;
    padding: 5px;

}










.ProductDetailsRight{
    margin-top: 10px;
    margin-left: 10px;
    padding-right: 35px;
    
} 


.EngravingOptionTitle {
    font-size:medium;
    font-weight: 550;
}
.ProductName span{
    font-size:larger;
    font-weight: 550;
}
.secondrow{
    margin-left: 10px!important;
    margin-right: 10px;
}

.EngravingOption {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
    gap: 10px;
    justify-content: center;
    padding-bottom: 7.5px;
}

.engraving-option-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: border-color 0.3s ease-in-out;
    padding: 8px;
    word-wrap: break-word;
    overflow: hidden;
}

.engraving-option-box:hover {
    border-color: gray;
}

.engraving-option-box.selected {
    border-color: orangered;
    background-color: orange;
    color: white;
}

.formprice {
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-price {
    color: red;
    font-size: 1.5rem;
    font-weight: bold;
}

.right-price {
    color: gray;
    font-size: 1.0rem;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    font-weight: bold;
}

.discount-text {
    font-size: 0.65em;
    color: green;
}

.quantity-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.quantity-select {
    width: 60px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    outline: none;
}

.add-to-cart-btn {
    background-color: #FF5722;
    color: white;
    display: inline-block;  /* Makes it behave like a button */
    text-align: center;
    border: none;
    padding: 7px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    flex-grow: 1;
}

.add-to-cart-btn:hover {
    background-color: #E64A19;
    color: white;
    align-items: center;
    
}

#button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#engravingItemIndicator {
    flex-grow: 1;
    text-align: left;
}

#back-button {
    text-decoration: underline;
    float: right;
    margin-top: 5px;
    cursor: pointer;
    
}

.engraving-form {
    display: none; /* Hide all forms initially */
}

.engraving-form.active {
    display: block; /* Show active form */
}


/* General form styling */
.engraving-form {
margin-bottom: 0px;
padding: 15px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #fff;
}

/* Title */
.engraving-form h3 {
font-size: 1rem;
color: #333;
margin-bottom: 10px;
margin-top: 0px;
}

/* Label styling */
.engraving-form label {
font-size: 0.9rem;
color: #555;
display: block;
margin-bottom: 5px;
}

/* Input fields styling */
.engraving-form input[type="text"],
.engraving-form textarea,
.engraving-form input[type="file"] {
width: 100%;
padding: 6px;
font-size: 0.9rem;
border: 1px solid #ddd;
border-radius: 3px;
margin-bottom: 10px;
background-color: #f9f9f9;
}

/* Focus effect */
.engraving-form input[type="text"]:focus,
.engraving-form textarea:focus,
.engraving-form input[type="file"]:focus {
border-color: #007bff;
outline: none;
}

/* Textarea styling */
.engraving-form textarea {
height: 80px;
}

/* Hide labels or elements if not needed */
.engraving-form .hidden {
display: none;
}




/* Prevent horizontal scroll*/
body, html {
    overflow-x: hidden;
  } 
  
  /* Ensure every container respects width */
  .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  /* Images and videos scaling properly */
  img, video {
    max-width: 100%;
    height: auto;
  }
  
  /* No unnecessary wide padding/margin causing scroll */
  .container, .row, .col, .col-md-6, .col-md-5, .col-12 {
    box-sizing: border-box;
  }
  
  /* Optional: If any button, div, etc. is too wide, force them in */
  * {
    max-width: 100%;
  }
  