* {
    margin:0;
    padding:0;
    font-family:'Inter', sans-serif;
}
html {
  font-size: 16px; /* base size */
}
i, .fa, .fas, .far {
  font-size: 1.2rem;
}
#header {
    position:sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}
/* #header #mainHeader{
    background-color: rgb(247, 245, 245);
    position:sticky;
    top:0;
    z-index:10;
    height:10vh;
    display:flex;
    justify-content:space-between;
    align-items: center;
    overflow: visible;
} */
#header {
    background-color: rgb(247, 245, 245);
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
} 
#header .brand-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header img {
    max-height: 40%;
    max-width: 100px;  /* adjust as needed */
    height: auto;
    width: auto;
}
#header .left-icons,
#header .right-icons{
    display:flex;
    justify-content: space-around;
    gap: 20px;;
    margin:0 15px;
}
#header i{
    font-size:20px;
    cursor: pointer;
}
.body{
    background-color:rgb(218, 214, 214);
    height:auto;
    position: relative;
    /* margin-top:10vh; */
  font-size: 1rem;
}
.shop{
    position:relative;
    height:auto;
}
.shopping-images{
    position:relative;
    width:100%;
    height:100%;
    overflow: hidden;
}
.shopping-images-info{
    background-color:transparent;
    display:block;
    position: absolute;
    top:70%;
    left:50%;
    text-align: center;
    padding:10px;
    transform: translate(-50%, -50%);
    width: 80%;
}
.information-block{
    position: relative;
    color:white;
    font-weight:300;
}
.information-block h2{
    background-color:transparent;
    font-size:32px;
    margin-bottom:10px;
    font-size: clamp(18px, 4vw, 32px);
}
.information-block p{
    background-color:transparent;
    font-size:16px;
    margin-bottom:24px;
    font-size: clamp(12px, 2.5vw, 16px);
}
.shop-buttons{
    background-color:white;
    font-weight:600;
    font-size: 16px;
    width:auto;
    max-width:200px;
    text-align:center;
    padding: 12px 24px;
    /* margin-top:15px; */
    margin-bottom:15px;
    border:2px solid rgb(151, 150, 150);
    font-size: clamp(12px, 2.5vw, 16px);
}
.shop-buttons:hover{
    cursor: pointer;
    background-color: black;
    color:white;
}
#footer{
    background-color:rgb(250, 248, 248);
    height:auto;
    padding:5px;
}
#footer a{
    color:black;
    text-decoration: none;
    cursor: pointer;
}
#footer a:hover{
    text-decoration: underline;
}
.services-footer{
    padding:20px 10px;
}
.upper-div,
.lower-div{
    display:flex;
    justify-content:space-evenly;
    align-items: center;
}
.footer-box{
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    align-items:center;
    margin:30px 0;
}
.footer-box i{
    padding:10px;
    cursor: pointer;
    font-size:20px;
}
.help-contacts{
    text-align: center;
    margin-top:10px;
    padding:20px 0;
    background-color:rgb(243, 240, 240);
}
.help-contacts h2{
    margin-bottom:20px;
    color:rgb(45, 45, 45);
    padding:10px;
}
.help-contacts h4,
.help-contacts h5,
.help-contacts p{
    line-height: 30px;
}
.help-contacts p{
    padding:20px;
}
.bottom-footer{
    padding:15px 0;
    display:flex;
    justify-content: center;
    align-items: center;
}
.bottom-footer h4 {
    margin: 0;
}
.right-bottom-footer,
.left-bottom-footer{
    padding:20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap:40px;
}
.company-info,
.about-jyclaw{
    padding-bottom:30px;
    position:relative;
    /* border-bottom:1px solid rgb(45, 45, 45); */
}
.company-info::after,
.about-jyclaw::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(45, 45, 45, 0.7), transparent);
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.social-icons a {
    font-size: 20px;  
    text-decoration: none;
}

.instagram i { color: #E4405F; }  
.facebook i  { color: #1877F2; }  
/* .twitter i   { color: #000000; }
.linkedin i  { color: #0077B5; } */

.social-icons a:hover i {
    opacity: 0.7;
}

/* About.html css */

.about-us-body{
    margin:0;
    padding:0;
}
#about-us-heading{
    text-align:center;
}
#about-us-heading,
.about-us-p,
.about-us-h3{
    padding:5px 15px;
}

/* Return Services.html css */

.return-services-body{
    margin:0;
    padding:0;
    line-height: 25px;
}
#return-services-heading{
    text-align:center;
    padding:15px;
}
.return-service-policies{
    padding:10px 20px;
    margin-left:15px;
}

/* Delivery guidlines.html css */

.delivery-guidlines-body{
    margin:0;
    padding:0;
    line-height: 25px;
}
.delivery-guidlines-heading{
    padding:15px;
    text-align:center;
}
.delivery-guidlines{
    padding:20px;
}

/* Payment & Security.html css */

.payment-security{
    padding:30px 20px;
}
.payment-security h3{
    text-align: center;
    padding-bottom:20px;
}
.payment-security h3,
.payment-security h4,
.payment-security p{
    line-height: 30px;
}

/* Company-info.html css */

.company-information{
    padding:20px 20px;
    text-align: center;
}
.company-information h3{
    padding:20px;
}

/* Privacy-policy.html css */


.privacy-policy-class{
    padding:20px 20px;
}
.privacy-policy-class h3{
    text-align: center;
    padding:15px 20px;  
}
.privacy-policy-class p,
.privacy-policy-class ul,
.privacy-policy-class ol{
    padding:15px;
}
.privacy-policy-class ul {
    list-style-type: disc;  
    padding-left: 40px;    
}

.privacy-policy-class ol {
    list-style-type: decimal;  
    padding-left: 40px;
}


/* Terms of use.html css */


.terms-of-use-class{
    padding:20px 20px;
}
.terms-of-use-class h3{
    text-align: center;
    padding:15px 20px;
}
.terms-of-use-class ul {
    list-style-type: disc;  
    padding-left: 40px;    
}

.terms-of-use-class ol {
    list-style-type: decimal;  
    padding-left: 40px;
}

/* Find my product.html css */

.find-my-product-class{
    padding:20px 20px;
}
.find-my-product-class h3{
    padding:15px 20px;
    text-align: center;
}

/* Step-I: */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 30px;
}

.product-card {
  background: white;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit:cover;
}

.product-card button {
  border: none;
  background: black;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
}

.wishlist-btn {
  background: none;
  color: black;
}


/* cart.html css */

.payment-box {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.payment-card {
  border: 2px solid #ddd;
  padding: 15px 20px;
  border-radius: 8px;           
  cursor: pointer;
  flex: 1;
  font-weight: 500;
}

.payment-card input {
  margin-right: 10px;
}

.payment-card:hover {
  border-color: black;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

#checkout-section {
  display: none;
}

/* shop.js wishlist css */
.heart-icon {
  color: gray;
  cursor: pointer;
  transition: 0.3s ease;
}

.heart-icon.active {
  color: red;
}

/* shop.html wishlist css */

/* rgistration page css */
.register-page{
font-family: 'Inter', sans-serif;
background:#f6f6f6;
margin:0;
display:flex;
justify-content:center;
padding:40px;
}

.register-container{
background:white;
padding:40px;
width:700px;
border-radius:6px;
}

h2{
font-size:14px;
letter-spacing:2px;
margin-bottom:30px;
}

.row{
display:flex;
gap:30px;
margin-bottom:20px;
}

.field{
flex:1;
display:flex;
flex-direction:column;
}

.field.full{
flex:100%;
}

label{
font-size:12px;
margin-bottom:6px;
color:#333;
}

input, select{
border:none;
border-bottom:1px solid #ccc;
padding:8px 4px;
font-size:14px;
background:transparent;
}

input:focus{
outline:none;
border-bottom:1px solid black;
}

.dob-row{
display:flex;
gap:20px;
margin-top:10px;
}

.gender-options{
display:flex;
gap:10px;
margin-top:10px;
}

.gender-btn{
padding:8px 18px;
border:1px solid #ccc;
background:white;
border-radius:20px;
cursor:pointer;
}

.gender-btn.active{
background:black;
color:white;
}

.terms{
font-size:12px;
margin-top:25px;
display:flex;
gap:10px;
align-items:flex-start;
}

.register-btn{
margin-top:30px;
background:#0a6b43;
color:white;
border:none;
padding:14px;
border-radius:25px;
width:100%;
font-size:15px;
cursor:pointer;
}

/* header user icon dropdown style */
/* Account Section */

#userSection{
position:relative;
display:flex;
align-items:center;
cursor:pointer;
}

/* Dropdown */

#accountDropdown{
position:absolute;
top:45px;
right:0;
width:210px;
background:#fff;
border-radius:8px;
box-shadow:0 8px 25px rgba(0,0,0,0.15);
padding:10px 0;
display:none;
z-index:1000;
animation:dropdownFade .25s ease;
}

/* Links */

#accountDropdown a{
display:block;
padding:10px 18px;
font-size:14px;
color:#333;
text-decoration:none;
transition:2s;
}

#accountDropdown a:hover{
background:#f5f5f5;
}

/* Welcome text */

#welcomeUser{
padding:12px 18px;
font-weight:600;
border-bottom:1px solid #eee;
margin-bottom:5px;
}

/* Divider */

#accountDropdown hr{
border:none;
border-top:1px solid #eee;
margin:8px 0;
}

/* Animation */

@keyframes dropdownFade{
from{
opacity:0;
transform:translateY(-8px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* user profile page css */
.profile-page{
max-width:850px;
margin:60px auto;
padding:20px;
}

.profile-card{
background:white;
padding:35px;
border-radius:10px;
box-shadow:0 5px 25px rgba(0,0,0,0.08);
}

/* User Login Page CSS */
#loginBtn{
  background: #0a6b43;
  color:white;
  border:1.5px solid grey;
  padding:5px;
}

#loginForm{
  display: flex;
  flex-direction: column;
  align-items: center;
}
#loginForm div{
  margin:10px;
}

/* header */

.profile-header{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:30px;
}

/* avatar letter */

.profile-avatar{
width:60px;
height:60px;
border-radius:50%;
background:#ff3f6c;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
font-weight:600;
}

/* title */

.profile-title{
flex:1;
margin-left:15px;
}

.profile-title h2{
margin:0;
font-size:20px;
}

.profile-title p{
margin:3px 0 0;
font-size:13px;
color:#777;
}

/* fields */

.profile-details{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.profile-field{
display:flex;
flex-direction:column;
}

.profile-field label{
font-size:12px;
color:#777;
margin-bottom:4px;
}

.profile-field input{
padding:10px;
border:1px solid #ddd;
border-radius:5px;
font-size:14px;
background:#fafafa;
}

/* buttons */

#editBtn{
background:#ff3f6c;
color:white;
border:none;
padding:8px 16px;
border-radius:4px;
cursor:pointer;
}

#saveBtn{
margin-top:20px;
background:#0a6b43;
color:white;
border:none;
padding:10px 20px;
border-radius:5px;
cursor:pointer;
}

/* account.html css */
.account-page{
max-width:1000px;
margin:60px auto;
padding:20px;
}

.account-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

.account-card{

background:white;
padding:25px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
text-align:center;
text-decoration:none;
color:#333;
transition:0.3s;

}

.account-card:hover{
transform:translateY(-5px);
}

.account-card .icon{
font-size:30px;
margin-bottom:10px;
}

/* orders.html css */

/* Orders.html css pop up */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);

  display: none;
  justify-content: center;
  align-items: center;
}

.modal-box {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
}

.modal-actions {
  margin-top: 15px;
}

.modal-actions button {
  margin: 5px;
  padding: 8px 15px;
  border: none;
  cursor: pointer;
}

.modal-actions button:first-child {
  background: red;
  color: white;
}

.modal-actions button:last-child {
  background: gray;
  color: white;
}

/* Cart pop-up wishlist and product_view.html */
.cart-popup {
  position: fixed;
  top: 50%;              /* 👈 appears near top */
  left: 50%;
  transform: translate(-50%, -50%);

  display: none;
  z-index: 999;

  /* ❌ REMOVE full screen stuff */
  width: auto;
  height: auto;
  background: none;
}

.cart-popup-box {
  background: #111;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;

  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);

  animation: slideDown 0.3s ease;
}

/* smooth drop animation */
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Wishlist pop-up product_view.html css */
.wishlist-popup {
  position: fixed;
  top: 50%; /* 👈 slightly below cart popup */
  left: 50%;
  transform: translateX(-50%, -50%);

  display: none;
  z-index: 999;
}

.wishlist-popup-box {
  background: #e91e63; /* 💖 pink tone for wishlist */
  color: white;
  padding: 12px 20px;
  border-radius: 8px;

  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);

  animation: slideDown 0.3s ease;
}

/* reuse animation */
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Profile page CSS */
#my-profile{
  text-align: center;
}
#my_profile .profile_input{
  text-align: center;
  padding: 10px;
}
.profile_input button{
  background: #0a6b43;
  color: white;
  padding: 10px 20px;
  border:1px solid grey;
}
/* ================= POPUP BASE ================= */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: white;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 25px;
  position: relative;
  animation: popupFade 0.3s ease;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* -------- MOBILE RESPONSIVE (<=500px) -------- */
@media (max-width: 500px) {

  .popup-box {
    width: 90%;
    max-width: 90%;
    padding: 20px;
    border-radius: 12px;
  }

  /* If your register form is inside popup */
  .popup-box form {
    display: flex;
    flex-direction: column;
  }

  .popup-box input,
  .popup-box select {
    width: 100%;
    font-size: 14px;
    padding: 10px;
    margin-bottom: 10px;
  }

  .popup-box button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  /* Fix height overflow */
  .popup-box {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Cart Page CSS */
/* -------- CART PAGE -------- */

#cart-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  align-items: center;
}

.cart-item img {
  border-radius: 10px;
}

.cart-item div {
  flex: 1;
}

.cart-item p {
  margin: 5px 0;
  font-size: 14px;
}

.cart-item b {
  font-size: 16px;
}

/* Quantity buttons */
.cart-item button {
  border: none;
  background: #f5f5f5;
  padding: 6px 12px;
  margin: 5px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}

.cart-item button:hover {
  background: #000;
  color: #fff;
}

/* Total */
#cart-total {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 20px;
}

/* Checkout button */
#checkout-section {
  text-align: center;
  margin-bottom: 40px;
}

#checkout-section button {
  background: black;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

#checkout-section button:hover {
  background: #333;
}

/* My Orders Page CSS */
/* -------- ORDERS PAGE -------- */

/* -------- GLOBAL FIX -------- */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f5f5f5;
}

/* -------- ORDERS PAGE -------- */
#my_orders{
  text-align: center;
  padding:10px;
}
#orders-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}
/* ✅ My Orders page normal layout */
#orders-container .order-item {
  justify-content: flex-start;
}
.order-footer button{
  background:#0a6b43;
  color:white;
  border-radius: 6px;
  padding: 3px;
  border:1px solid rgb(120, 119, 119);
}

/* Card */
.order-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.order-card:hover {
  transform: translateY(-3px);
}

/* Header */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.order-header h3 {
  font-size: 18px;
}

/* Status */
.status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status.pending { background: #fff3cd; color: #856404; }
.status.delivered { background: #d4edda; color: #155724; }
.status.cancelled { background: #f8d7da; color: #721c24; }

/* -------- ORDER SUCCESS POPUP -------- */

.popup-box {
  border-radius: 18px;
  padding: 30px;
  max-width: 550px;
  width: 95%;
  background: white;
}

/* Title */
.popup-box h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
}

/* Subtitle */
.popup-box p {
  text-align: center;
  margin-bottom: 10px;
}

/* Order ID */
#order-id {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Total */
#order-total {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Items container */
#order-items {
  margin-top: 15px;
  max-height: 250px;
  overflow-y: auto;
  border-top: 1px solid #eee;
  padding-top: 10px;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Each item */
.order-item {
  display: flex;
  align-items: center;
  gap: 12px;              /* 🔽 tighter gap */
  margin-bottom: 10px;
  justify-content: center;  /* 🔥 IMPORTANT */
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
}

.order-item img {
  width: 75px;
  height: 75px;
  border-radius: 6px;
  object-fit: cover;
}

.order-item div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 120px;  /* ✅ prevents weird shrinking */
  max-width: 200px;  /* ✅ keeps content tight */
}

.order-item p {
  margin: 2px 0;
  font-size: 13px;
  line-height: 1.3;
}

/* Hover */
.popup-box button:hover {
  transform: scale(1.05);
  background: black;
  color:white;
}

.order-success-popup h1 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 5px;
  color: #3d3c3c;
}

.order-success-popup h2 {
  text-align: center;
  font-size: 16px;
  color: #3d3c3c;
  margin-bottom: 20px;
}

.order-total {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
}

.section-title {
  margin: 15px 0 10px;
  font-size: 15px;
  font-weight: 600;
}

/* .order-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
} */

/* .order-item {
  display: flex;
  gap: 12px;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
} */

/* .order-item img {
  border-radius: 6px;
} */

.popup-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.popup-actions button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #0a6b43;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.popup-actions button:hover {
  background: #333;
}

.modal-content {
  position: relative;
  overflow: visible !important;  /* ✅ allow dropdown to show */
  z-index: 1001;
}

select {
  position: relative;
  z-index: 1002;  /* ✅ bring above modal */
}

/* Order Tracking Page CSS */
/* -------- TRACK ORDER -------- */

.tracking-popup {
  width: 80vw;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
}
#result h3{
  text-align: center;
  padding: 5px;
}

.tracking-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}
#trackBox {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

#trackBox input {
  padding: 10px;
  width: 200px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

#trackBox button {
  padding: 10px 15px;
  background: black;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
#result {
  background: #fafafa;
  padding: 15px;
  border-radius: 10px;
}
#result img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

#result > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tracking-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  position: relative;
}

.tracking-steps::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: #ddd;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12px;
}

.step-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ccc;
  margin: auto;
}

.step.active .step-circle {
  background: green;
}

/* ===== BUTTONS ===== */
#addToCartBtn {
  width: 250px;
  padding: 12px;
  margin-top: 10px;
  background: black;
  color: white;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

#addToCartBtn:hover {
  background: #333;
}

button[onclick*="addToWishlist"] {
  width: 250px;
  padding: 12px;
  margin-top: 10px;
  background: white;
  color: black;
  border: 1px solid black;
  cursor: pointer;
  transition: 0.3s;
}

button[onclick*="addToWishlist"]:hover {
  background: black;
  color: white;
}


/* Product_View page FULL PAGE CSS */
/* .product-page {
  max-width: 500px;
  margin: auto;
} */
.profile-page{
  margin:auto;
}

/* IMAGE */
.image-section {
  width: 100%;
}

.main-img {
  margin: auto;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* THUMBNAILS */
.thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}

.thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #ddd;
}

/* INFO */
.info-section {
  padding: 15px;
}

.info-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.price {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.color {
  font-size: 14px;
  margin-bottom: 10px;
}

/* SIZE */
.label {
  font-size: 14px;
  margin-bottom: 8px;
}

.sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-box {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}

.size-box.active {
  border: 2px solid black;
  font-weight: bold;
}

/* SIZE POP_UP */
/* .size-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
} */

/* SHOW POPUP when targeted */
.size-popup {
  display: none; /* ONLY this */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  opacity: 0;
  transition: 0.3s;
}

.size-popup.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.size-popup img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* .size-popup {
  opacity: 0;
  transition: 0.3s;
} */

/* .size-popup.active {
  display: flex;
  opacity: 1;
} */

/* QTY */
.qty-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.qty-section button {
  padding: 5px 10px;
}

/* BUTTON */
.add-btn {
  width: 100%;
  padding: 14px;
  background: black;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Checkout Page CSS */
/* ===== CHECKOUT PAGE ===== */
/* GLOBAL FIX */
* {
  box-sizing: border-box;
}

/* WRAPPER (background like Nykaa) */
.checkout-wrapper {
  min-height: 100vh;
  background: #f7f7f7;
  padding: 40px 15px;
  display: flex;
  justify-content: center;
}

/* MAIN CARD */
.checkout-card {
  width: 100%;
  max-width: 500px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* TITLES */
.checkout-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-title {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #555;
}

/* FORM ROW (2 inputs side by side) */
.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.form-row input {
  flex: 1;
}

/* INPUTS */
.checkout-card input,
.checkout-card textarea,
.checkout-card select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fafafa;
  transition: all 0.25s ease;
  outline: none;
}

/* FOCUS EFFECT (premium feel) */
.checkout-card input:focus,
.checkout-card textarea:focus,
.checkout-card select:focus {
  border-color: #0a6b43;
  background: #fff;
}

/* TEXTAREA */
.checkout-card textarea {
  margin-bottom: 10px;
  height: 80px;
  resize: none;
}

/* BUTTON */
.place-order-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: #0a6b43;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* BUTTON HOVER */
.place-order-btn:hover {
  background: #084d31;
  transform: translateY(-1px);
}

/* MOBILE */
@media (max-width: 500px) {
  .form-row {
    flex-direction: column;
  }
}
.otp-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.otp-box {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
}

.otp-box input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
}

.otp-box button {
  background: #0a6b43;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
}

/* ALL TOASTS POP_UPS CSS */
/* 🔥 Toast Popup Base background:#0a6b43;*/
.toast {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) scale(0.85) !important;
  display: inline-block !important;
  width: fit-content !important;
  padding: 5px 10px !important;
  background: #333 !important;
  color: #fff !important;
  font-size: 14px !important;
  padding: 8px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  border-radius: 6px !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 999999 !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.toast.success {
  background: #28a745; /* green */
  color: #ffffff;
}
/* Toast Error */
.toast.error {
  background: #dc3545;
  color: #ffffff;
}

/* Video CSS */
.jyclaw-video {
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 570px) {
  .jyclaw-video {
    height:75vh;
  }
}

/* Stock CSS */
/* =========================
   SIZE BOX BASE
========================= */
.size-box {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  margin: 6px;
  border: 1px solid #000;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
  overflow: hidden; /* 🔥 prevents cross overflow */
}

/* =========================
   HOVER EFFECT
========================= */
.size-box:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* =========================
   ACTIVE (SELECTED)
========================= */
.size-box.active {
  background:black;
  color: white;
  border-color: #000;
}

.size-box.out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #ccc;
  color: #888;
}

/* 🔥 Perfect diagonal line */
.size-box.out-of-stock::after {
  content: "";
  position: absolute;
  width: 200%;          /* 🔥 bigger = reaches corners */
  height: 2px;
  background: black;
  top: 50%;
  left: -50%;           /* center the long line */
  transform: rotate(-15deg);
  transform-origin: center;
  z-index: 2;
  pointer-events: none;
}

/* Disable hover on out-of-stock */
.size-box.out-of-stock:hover {
  background: none;
  color: #888;
  border-color: #ccc;
}

/* =========================
   RESPONSIVE (MOBILE)
========================= */
@media (max-width: 600px) {
  .size-box {
    padding: 8px 12px;
    font-size: 12px;
    margin: 4px;
  }
}

/* Description CSS */
.product-info-section {
  margin-top: 30px;
  border-top: 1px solid #eee;
}

.info-box {
  border-bottom: 1px solid #eee;
}

/* Header */
.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Arrow */
.info-header .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Content hidden */
.info-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Active state */
.info-box.active .info-content {
  max-height: 200px;
}

/* Rotate arrow */
.info-box.active .arrow {
  transform: rotate(45deg);
}

/* Text */
.info-content p {
  padding: 10px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}