/* ============================================
   GLOBAL STYLES
   ============================================ */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #ffc107;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
  color: #333;
}
header{
  width: 100%;
  background: #99efde;
  position:sticky;
  top: 0;
  z-index: 100;
}

/* nav bar */
.nav-bar{
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
}

                    /* left nav bar */
.left-nav{
  display: flex;
  align-items:center;
  flex:.8;

}
.logo img{
  height: 50px;
  object-fit: contain;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}
                /* serach-cart */
.search-cart{
  display: flex;
  align-items: center;
  flex: .8;
  margin-left: 20px;
}           
               /*search-nav  */
.search-nav{
  width: 80%;
  display: flex;
  justify-content: center;
 
}
.search-form{
 display: flex;
 align-items: center;
 width: 100%;
 max-width: 520px;
 background: #fff;
 border-radius: 25px;
 overflow: hidden;

}                 
             /*search-input  */
.search-input{
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
}
         /* search btn */
.search-form .search-btn{
  background:#ffc107;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
}
.search-form .search-btn i{
  color: #000;
  font-size: 15px;
}

          /*search-cart  */
.search-cart .cart{
  margin-left: 18px;
}
.search-cart .cart a{
 color: #fff;
 text-decoration: none;
 position: relative;
 font-size: 18px;
}
.search-cart .cart .badge{
  position: absolute;
  top: -8px;
  right: -12px;
  font-size: 11px;
}

      /* right-nav */
.right-nav{
 display: flex;
 align-items: center;
 gap: 50px;
}
.right-nav a{
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.right-nav p{
  margin-bottom: 0;
}
.right-nav i{
  font-size: 18px;
}  
/* right-nav  user logo */
.right-nav .user-i{
  border: 2px solid black;
  border-radius: 25px;
  padding: 2px;
  height: fit-content;

}
.right-nav .user-i i{
  font-size: 30px;
}
            /* right-div hover */
.right-div .search-nav .cart a:hover {
  color: #ffc107;
}
.right-div a:hover{
  color: #d25959;
}

/* ------------------login dropdown------------------ */

/* USER DROPDOWN */
.user-dropdown {
  position: relative;
  z-index: 1050;
  /* z-index: 10000; */
}

/* trigger icon */
.user-dropdown .user-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 2px solid #000;
  border-radius: 25px;
  cursor: pointer;
}

.user-dropdown .user-trigger i {
  font-size: 22px;
  color: #e62b2b;
}

.user-dropdown .caret {
  font-size: 14px;
}

/* dropdown menu */
.user-dropdown .dropdown-menu {
  position: absolute;
  top: 120%;
  display: none;
  /* top: auto; */
  right: 0;
  background: #99efde;
  min-width: 100px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: none;
  flex-direction: row;
  /* flex-direction-column */
  overflow: hidden;
  z-index: 1051;
}

/* dropdown items */
.user-dropdown .dropdown-menu a {
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-dropdown .dropdown-menu a:hover {
  background:transparent;
  color: #0d6efd;
}

/* SHOW dropdown on hover */
.user-dropdown:hover .dropdown-menu {
  display: flex;
}
.user-dropdown.open .dropdown-menu {
  display: flex;
}



/* new add of home and product into the user icon */
/* Default (Desktop) */
/* Default: Desktop */
.nav-mobile-only {
  display: none !important;
}

/* Mobile & Tablet */
@media (max-width: 768px) {
  .nav-mobile-only {
    display: block !important;
  }
}


/* --------end  login dropdown */






/* this is must be uncomment in feature */
/* .search-btn {
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
} */


/* ============================================
   Horizontal scrolling
   ============================================ */
     
.category-scroll {
  display: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  
}

.category-scroll::-webkit-scrollbar {
  height: 8px;
  display: none;
}

.category-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  display: none;
  border-radius: 4px;
}

.category-scroll::-webkit-scrollbar-track {
  background: transparent;
  display: none;

}

/*========== latest-product=============
======================================= */
.latest-p{
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3rem;
  margin-top: 10px;
  margin-bottom: 3px;

  /* 👇 key properties */
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* max 2 lines */
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;

  min-height: 2.6em;        /* keeps card height equal */
}





/* ============================================
   FORM STYLES
   ============================================ */

 
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
  background-color: #fffbf0;
}

.form-control::placeholder {
  color: #adb5bd;
  font-style: italic;
}

.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

/* ============================================
   CARD STYLES
   ============================================ */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: white;
}

.card-sh {
  box-shadow: var(--shadow-md);
}

.card:hover {
  /* keep hover visual but do not move the whole card - only image should transform */
  transform: none !important;
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 1.5rem;
}

.card-img-top {
  object-fit: cover;
  transition: var(--transition);
  width: 65%;
  height: 140px;
}

.card:hover .card-img-top {
  transform: scale(1.08);
}

/* ============================================
   CATEGORY STYLES
   ============================================ */
.cat-div {
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.cat-div:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: var(--shadow-lg);
}

.rounded-circle {
  border-radius: 50% !important;
  transition: var(--transition);
  -webkit-transition: var(--transition);
  -moz-transition: var(--transition);
  -ms-transition: var(--transition);
  -o-transition: var(--transition);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
  font-weight: 600;
  font-family:"Zalando Sans SemiExpanded", sans-serif;
  padding: 1px;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
}
.btn-sm {
    font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  padding: 5px;
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(13, 110, 253, 0.4);
  background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
}

.btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #000 !important;
  font-weight: 600;
   padding: 5px;
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}




@media(max-width:768px){
  .action-buttons .btn-warning{
  margin: 1rem 0;
}
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4);
  background: linear-gradient(135deg, #ffb300 0%, #ffa500 100%);
}

.btn-success {
  background: linear-gradient(135deg, #198754 0%, #157347 100%);
  box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
   padding: 5px;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(25, 135, 84, 0.4);
  background: linear-gradient(135deg, #157347 0%, #12633a 100%);
}

.btn-danger {
   padding: 5px;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
  background: linear-gradient(135deg, #c82333 0%, #bb2d3b 100%);
}

/* ============================================
   TEXT & TYPOGRAPHY
   ============================================ */
.error {
  color: #dc3545;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.success-message {
  color: #198754;
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #212529;
}

.text-muted {
  color: #6c757d !important;
}

/* ============================================
   CAROUSEL STYLES
   ============================================ */
.carousel-indicators {
  bottom: 5px !important; /* moves dots upward */
  
}
/* .carousel{
  height: 300px;
} */
 .carousel-inner {
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
 }


.carousel-item {
  overflow: hidden;
  height: 100%;
  /* height:290px */
  /* padding: 5px; */
}#carouselExample {
    width: 100%;
    max-height: 420px;      /* adjust -> 420px, 500px, etc */
    overflow: hidden;
    border-radius: 10px;
}

#carouselExample .carousel-item img {
    width: 100%;
    height: 420px;          /* make banner equal height */
    object-fit: cover;      /* fills perfectly without stretching */
}


.carousel-item img {
  transition: var(--transition);

}

.carousel-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
  transition: var(--transition);
  
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #ffc107;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
  color: #212529;
}

.section-bg {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 0;
  border-radius: 10px;
  margin: 1rem 0;
}

/* =====================================
product all page card styles
============================= */

/* FORCE PRODUCT PAGE TO STAY SIDE-BY-SIDE */
/* STICKY PRODUCT SIDEBAR */
.product-sidebar {
  position: sticky;
  top: 70px;              /* height of your fixed navbar */
  height: calc(100vh - 90px);
  overflow-y: auto;
}
.product-sidebar::-webkit-scrollbar {
  width: 6px;
}

.product-sidebar::-webkit-scrollbar-thumb {
  background: #cfd8dc;
  border-radius: 4px;
}




.product-page-row {
  flex-wrap: nowrap !important;
}
.product-main{
  padding: 3;
}
.product-main .t-p{
  font-size: 20.8px;
}


.card-p{
  min-height:250px;
}
.product-img{
  padding: 2px;
}
.product-img img{
  width: 100%;
  height:140px;
}
.product-img hr{
  margin: 3px 5px;
}

.product-img .p-title{
  padding-top: 3px;
 font-size: 14px;
  font-weight: 500;
  line-height: 1.3em;

  /* 👇 key properties */
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* max 2 lines */
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;

  min-height: 2.6em;        /* keeps card height equal */
}
.product-img .text-center{
font-size: 14px;
font-weight: 500;
margin-bottom: 2px;
}
.product-img .text-center .p-disc{
  margin-bottom: 5px;
}

.product-img .text-center .btn{
  font-size: 13px;

  
}

/* range for the price of the product */
.form-range {
  accent-color: #0d6efd;
  cursor: pointer;
}



/* FILTER DROPDOWN */
.filter-dropdown {
  margin-bottom: 10px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #0d6efd;
  padding: 6px 2px;
}

.filter-header i {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.filter-dropdown.open .filter-header i {
  transform: rotate(180deg);
}

.filter-body {
  display: none;
  margin-top: 8px;
}

.filter-dropdown.open .filter-body {
  display: block;
}

  .product-page-row .p-body{
    padding: 7px;
  
  }
  .filter-body .list-group-item{
padding-left: 20px;
}
.filter-body .list-group-item-p{
padding-left: 20px;
}
.filter-body .list-group-item p{
margin-bottom: 0;
}



/* login-form */
.login-form-img .login-img{
  padding: 7rem;
}
.login-form-img .login-form{
  margin-top: 1rem;
  padding: 3rem;
}
.login-form-img .login-form .rounded{
  padding: 1rem;
  margin-bottom: 3rem;
}

.login-form-img .login-form .card-header{
  font-size: 20px;
  font-weight: 500;
}
/* ============================================
   FOOTER STYLES
   ============================================ */
footer {
  background: linear-gradient(180deg, #212529 0%, #1a1d20 100%) !important;
  border-top: 3px solid #ffc107;
  margin-top: 3rem;
}

footer h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  transition: var(--transition);
  text-decoration: none;
}

footer a:hover {
  color: #ffc107 !important;
  padding-left: 5px;
}

footer .btn-outline-light {
  transition: var(--transition);
  border-color: #ffc107;
  color: #ffc107;
}

footer .btn-outline-light:hover {
  background-color: #fcfeff;
  color: #000000;
  border-color: #ffffff;
  transform: scale(1.4) rotate(10deg);
  -webkit-transform: scale(1.4) ;
  -moz-transform: scale(1.4) ;
  -ms-transform: scale(1.4) ;
  -o-transform: scale(1.4) ;
}

/* ========= new footer======== */
/* @media (max-width: 500px) {
.product-sidebar{
  display: none;
}
} */
 .tab-pane{
  padding-top: 5px;
 }
  
@media (max-width: 412px) {
  .tab-pane div{
    font-size: 13px;
  }
.view_p_disc{
  padding: 5px;
}
}


.td-price{
  width: 40%;
}
.td-tax{
  width: 50%;
}
@media (max-width: 412px) {
  .view_image_product {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 !important;
  }
  .view_image_product .d-flex {
    justify-content: center;
    flex-wrap: wrap;
  }
  .view_product-col .row {
    margin-left: 0;
    margin-right: 0;
  }
  .product-thumb{
    width: 70px;
    height: 60px;
  }
  .card-p {
    min-height: auto !important;
    display: flex;
    flex-direction: column;
  }
  .product-img img {
    height: 100px !important;
    max-height: 100px;
    object-fit: contain;
  }
  .product-img {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .product-img .p-title {
    font-size: 13px;
    line-height: 1.2em;
    min-height: 2.4em;   /* EXACT 2 lines */
  }

}





/* ================================
   View_product page
   =============================== */
.view_product-col{
  padding: 30px;
}
#mainProductImage{
  /* border: 1px solid black;
  margin-bottom: 16px;
  max-width: 300px;
  border-radius: 25px; */
  display: block;
  margin: 0 auto 16px auto;
  width: 100%;
  max-width: 280px;   /* safer for 360px screens */
  max-height: 255px;
  border-radius: 20px;
 
}
.view_image_product{
  padding: 0 30px;
}

.view_image_product .justify-content-center .d-flex{
  gap: 0.5rem;

}
.view_product-col .row .product-title{
  padding-left:10px ;
}
.view_product-col .row .product-title .product-title-p{
font-size: 20px;
}
.view_product-col .row .product-title .fw-bold{
  font-size: 18px;
}
/* .view_product-col .row .product-title .status-show {
font-size: 14px;
display: flex;

}
.view_product-col .row .product-title .status-show .div{
  width: 50px;
} */
/* INFO STRIP */
.info-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 15px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 30px;
  gap: 7px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* Icon sizes */
.info-item i {
  font-size: 20px;
}
.info-item span{
  font-size: 12px;
}

/* Colors (match your screenshot) */
.info-item.cod {
  color: #1e7e34; /* green */
}

.info-item.return {
  color: #dc3545; /* red */
}

.info-item.shipping {
  color: #0d6efd; /* blue */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .info-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-item {
    font-size: 13px;
  }
}

/* =====================
Retated product int he  view product page
======================== */
.related-product{
  margin: 0 ;
  padding: 20px 10px;
}
.related-product .mb-4{
  font-size: 22px;
  font-weight: 200;
  color: #0d6efd;
}
.related-p .product-img{
  position: relative;
  
}
.related-p .product-img .img{
  width: 100%;
}


/* ===========================
   RELATED PRODUCTS
=========================== */

.related-card {
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
}

.related-card:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* IMAGE */
.related-img-wrapper {
  position: relative;
  /* padding: 10px; */
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.related-card:hover img {
  transform: scale(1.08);
}

/* STOCK BADGE */
.stock {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 20px;
  color: #fff;
}

.stock.in { background: #198754; }
.stock.out { background: #dc3545; }

/* TITLE (2 lines only) */
.related-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1rem;
  margin-bottom: 2px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: 2rem;
}

/* PRICE */
.price-box {
  font-size: 14px;
  margin-bottom: 8px;
}

.price-box .price {
  font-weight: 700;
  color: #0d6efd;
}

.price-box .old {
  text-decoration: line-through;
  color: #999;
  font-size: 12px;
  margin-left: 6px;
}

.price-box .off {
  background: #28a745;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: 6px;
}

/* BUTTON */
.related-card .btn {
  font-size: 13px;
  padding: 6px;
}






/* ===========================
   RESPONSIVE TUNING
=========================== */

/* Mobile */
@media (max-width: 576px) {
  .related-img-wrapper {
    height: 130px;
  }
  .related-title {
    font-size: 15px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .related-img-wrapper {
    height: 140px;
  }
}





/* ==================================
           profile page 
==================================== */
/* ===============================
   PROFILE PAGE
================================ */

.profile-page {
  padding: 40px 10px;
}

.profile-card {
  border-radius: 14px;
  max-width: 900px;
  margin: auto;
}

/* Profile Image */
.profile-img-wrapper {
  display: flex;
  justify-content: center;
}

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0d6efd;
  padding: 4px;
}

/* Inputs spacing */
.profile-card .form-control {
  font-size: 0.95rem;
}

/* Buttons */
.profile-card .btn {
  min-width: 160px;
}

/* ===============================
   RESPONSIVE
================================ */

/* Mobile */
@media (max-width: 576px) {
  .profile-page {
    padding: 20px 5px;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }

  .profile-card h3,
  .profile-card h4 {
    font-size: 1.3rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .profile-card {
    padding: 10px;
  }
}


/* ======================= 
    Myorder page
    =======================*/
/* ===============================
   MY ORDERS – RESPONSIVE
=============================== */

/* Hide mobile cards on desktop */
.orders-mobile {
  display: none;
}

/* Order card */
.order-card {
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.order-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 8px;
}

.order-header .status {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e9ecef;
  color: #0d6efd;
  font-weight: 600;
}



.order-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.order-body p{
  margin-bottom: .3rem;
  font-size: 14px;
}
.order-body img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.order-info p {
  margin: 2px 0;
  font-size: 14px;
}

.order-info .title {
  font-weight: 600;
}

.order-footer {
  text-align: right;
  margin-top: 10px;
}

/* ===============================
   MOBILE VIEW
=============================== */
@media (max-width: 768px) {

  /* Hide table */
  .orders-table {
    display: none;
  }

  /* Show cards */
  .orders-mobile {
    display: block;
  }
}


/* =====================
forget password 
=========================*/
/* ===============================
   FORGOT PASSWORD PAGE
================================ */

.forgot-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 20px 10px;
}

.forgot-card {
  border-radius: 14px;
  overflow: hidden;
}

.forgot-card .card-header {
  background: #ffffff;
  font-weight: 600;
}

.forgot-card .form-control {
  height: 44px;
  font-size: 0.95rem;
}

.forgot-card .btn {
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
}

/* Image */
.forgot-img {
  max-height: 380px;
}

/* ===============================
   RESPONSIVE
================================ */

/* Mobile */
@media (max-width: 576px) {
  .forgot-card h4 {
    font-size: 1.3rem;
  }
}


/* ============================
reset password
=============================== */
/* ===============================
   RESET PASSWORD PAGE
================================ */

.reset-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 20px 10px;
}

.reset-card {
  border-radius: 14px;
  overflow: hidden;
}

.reset-card .card-header {
  background: #ffffff;
  font-weight: 600;
}

.reset-card .form-control {
  height: 44px;
  font-size: 0.95rem;
}

.reset-card .btn {
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
}

/* Image */
.reset-img {
  max-height: 380px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 576px) {
  .reset-card h4 {
    font-size: 1.3rem;
  }
}

/* ========================
Banner page
=========================== */
/* =============================
   BANNER ADMIN PAGE
============================= */

.banner-admin .admin-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.page-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
  border-bottom: 3px solid #ffc107;
  padding-bottom: 10px;
}

.img-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.banner-card {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  background: #fafafa;
}

/*===========================
 user or admin  show page 
 ============================*/
 /* USERS PAGE */
.users-mobile {
  display: none;
}

.users-table img {
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 768px) {

  /* Hide table */
  .users-table {
    display: none;
  }

  /* Show cards */
  .users-mobile {
    display: block;
  }

  .user-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .user-card-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
  }

  .user-card-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #0d6efd;
  }

  .user-card-header .name {
    font-weight: 600;
    margin: 0;
  }

  .user-card-header .email {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
  }

  .user-card-body p {
    margin: 4px 0;
    font-size: 14px;
  }

  .user-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
  }

  .user-card-actions .btn {
    flex: 1;
  }
}

/* ===================
admin orders 
====================== */

/* ==============================
admin product page
================================== */
/* ===== DESKTOP / MOBILE VISIBILITY ===== */
.product-mobile {
  display: none;
}

.product-table-desktop {
  display: block;
}

@media (max-width: 768px) {
  .product-table-desktop {
    display: none;
  }

  .product-mobile {
    display: block;
  }
  
}

/* ===== MOBILE CARD DESIGN ===== */
.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-img {
  text-align: center;
  margin-bottom: 10px;
}

.product-img img {
  /* new edit */
  width: 100%;  
  object-fit: contain;
  border-radius: 6px;
}

.product-card-body p {
  font-size: 14px;
  margin-bottom: 4px;
}

.product-card-actions {
  margin-top: 10px;
}


/* =========================
   CATEGORY RESPONSIVE
========================= */

/* Desktop */
.category-mobile {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {

  .category-table {
    display: none;
  }

  .category-mobile {
    display: block;
  }

  .category-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .category-card-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .category-card-body {
    text-align: center;
  }

  .category-card-body img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
  }

  .category-card-body .name {
    font-size: 15px;
    font-weight: 600;
  }

  .category-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }

  .category-card-actions .btn {
    flex: 1;
  }
}



/* ============================================
   RESPONSIVE DESIGN
   ============================================ */


/* media for Small mobile - 480px */
@media screen and (max-width: 480px){

  /* this is for the product side bar manage */
  .product-page-row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  .product-sidebar,
  .product-main {
    width: 100% !important;
    max-width: 100% !important;
  }
  .product-sidebar {
    position: relative;
    /* z-index: 100; */
  }

  .product-main {
    position: relative;
    z-index: 1;
  }
  .product-sidebar {
    position: static !important;
    height: auto !important;
    margin-bottom: 12px;
  }
  /* .product-sidebar .filter-body {
    display: block;
  } */
  .mobile-filter-row {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 50;
  }

  .mobile-filter-row .filter-dropdown {
    flex: 1;
    position: relative;
    
  }
  .product-main {
    position: relative;
    z-index: 1;
  }

  .filter-header {
    justify-content: center;
    font-size: 13px;
    padding: 8px 4px;
    text-align: center;
  }
  .product-sidebar,
  .product-sidebar .card,
  .product-sidebar .card-body {
    overflow: visible !important;
  }

  .filter-body {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 9999;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 8px;
  }
  .filter-dropdown.open .filter-body {
    display: block;
  }


  /* ============= */

.carousel-item {
  height: 200px;
}
.product-main .t-p{
  font-size: 15px;
  font-weight: 600;
}
.product-main .card-body{
  padding-top: 10px;
}
.card-img-top{
padding: 3px;
width: 90px;
}
.from-price{
  font-size: 14px;
  /* padding-top: 10px; */
}
h6{
  padding-top: 10px;
}

/* login form */
.login-form-img{
  /* min-height: calc(100vh - 60px); minus navbar height */
 height: 70vh;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 15px;
 padding-top: 0 !important;
    margin-top: 0 !important;
    min-height: auto !important;
    align-items: flex-start !important;
 /* padding-top: 3rem; */
}
.login-form-img .login-img{
  /* padding: 1rem; */
display: none !important;
}
.login-form-img .login-form{
/* padding: .2rem; */
 width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
.login-form-img .login-form .rounded{
  padding: 0;
}
/* Limit card width for better UX */
  .login-form .card {
    width: 100%;
    max-width: 420px;
        margin-top: 16px;

  }
.login-form .card-body{
padding:.7rem;
}
.login-form .card-body .form-label{
  font-size: 1rem;
}
.login-form .card-body .form-control{
    border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 10px;
  font-size: .8rem;

}

/* new cart table show */
/* .cart-heading{
  font-size: 20px;
  margin-bottom: 0;
}
.cart-fluid{
  padding-top: 1px;
} */

.card-new{
  padding: 10px;
}

.card-container .card-img{
  width: 30%; 
  overflow: hidden;
  align-content: center;
  
}
.card-container .cart-dtls{
 padding-left:.5rem;
}
.card-container .card-img img{
width: 100%;
height: fit-content;
}
.card-container .cart-dtls div{
  font-size: 15px;
  font-weight:300 ;
}
.card-container .cart-dtls div span{
  font-size: 12px;
  font-weight: 400;
}
.cart-price {
  display: flex;
  gap: 14px;          /* controls space */
}

.cart-delete{
   margin:0;
}
.cart-delete .btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
  background: linear-gradient(135deg, #c82333 0%, #bb2d3b 100%);
}
.card-body .card-total{
  font-size: 20px;
  font-weight: 600;
}


/* ================================
   View_product page
   =============================== */




}

/* media for mobile -576*/
@media (max-width: 576px) {
  .product-img .p-title {
    font-size: 13px;
    line-height: 1.25em;
    min-height: 2.5em;
  }
  .product-page-row .p-body{
    padding: 7px;
  }
  .filter-body .list-group-item{
padding: 2px;
}
.filter-body .list-group-item-p{
padding: 3px;
}
.filter-body .list-group-item p{
margin-bottom: 0;
font-size: 13px;
font-weight: 400;
}
.filter-header span{
  font-size: 13px;
  font-weight: 500;
}
.filter-body .d-grid .btn{
  font-size: 12px;

}
.filter-body .form-control {
  border-radius: 8px;
  padding: 5px;
  font-size:13px;
  transition: var(--transition);
}

.product-main .t-p{
  font-size: 18px;
  font-weight: 600;
}
.product-main .product-img img{
width: 100%;
}
.product-main .product-img .p-disc{
  font-size: 12px;
}

/* login form */
.login-form-img{
 padding: 15px;
 padding-top: 3rem;
}
.login-form-img .login-img{
  padding: 1rem;

}
.login-form-img .login-form{
padding: .2rem;
}
.login-form-img .login-form .rounded{
  padding: 0;
}
.login-form .card-body{
padding:.7rem;
}
.login-form .card-body .form-label{
  font-size: 1rem;
}
.login-form .card-body .form-control{
    border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 10px;
  font-size: 1rem;
}
/* new cart table show */

.card-container .cart-dtls div{
  font-size: 15px;
  font-weight:300 ;
}
.card-container .cart-dtls div span{
  font-size: 14px;
}
.cart-delete .btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
  background: linear-gradient(135deg, #c82333 0%, #bb2d3b 100%);
}
.card-body .card-total{
  font-size: 20px;
  font-weight: 600;
}



/* ================================
   View_product page
   =============================== */






}


@media screen and (min-width: 480px) and (max-width: 576px) {
  .login-form-img {
  height: 90vh;
  }
  .card-container .card-img{
  width: 30%; 
  overflow: hidden;
  align-content: center;
}
.card-container .cart-dtls{
 padding-left:1rem;
}
.card-container .card-img img{
width: 100%;
height: fit-content;
}
.card-container .cart-dtls div{
  font-size: 15px;
  font-weight:300 ;
}
.card-container .cart-dtls div span{
  font-size: 14px;
}

.cart-delete{
  /* width: 100px;
  background: #e01811;
  height: 1.7rem; */
   margin:0 2rem;
}


/* ================================
   View_product page
   =============================== */





}

/* media for tablet - 768px */
@media screen and (min-width: 577px) and (max-width: 768px) {
  .card-container .card-img {
    width: 30%;
     align-content: center;
  
  }
  .card-container .card-img img{
width: 150px;
height: auto;
}
.card-container .cart-dtls{
  padding-left:2rem ;
}
.cart-delete{
  /* width: 100px;
  background: #e01811;
  height: 1.7rem; */
   margin:0 9rem;
}


/* ================================
   View_product page
   =============================== */





}





@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }

  /* NAV BAR stays SINGLE ROW */
  .nav-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    height: 56px;
    padding: 6px 8px;
    gap: 20px;
  }

  /* LEFT NAV */
  .left-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* LOGO */
  .logo img {
    height: 30px;
  }

  /* SEARCH + CART */
  .search-cart {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
  }

  /* SEARCH BAR */
  .search-nav {
    flex: 1;
  }

  .search-form {
    max-width: 100%;
    height: 34px;
  }

  .search-input {
    font-size: 12px;
    padding: 6px 8px;
  }

  .search-form .search-btn {
    /* padding: 4px 6px; */
  }

  /* CART */
  .search-cart .cart a {
    font-size: 16px;
  }

  .search-cart .cart .badge {
    top: -6px;
    right: -8px;
    font-size: 10px;
  }

  /* RIGHT NAV (ONLY USER ICON) */
  .right-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
  }

  /* HIDE TEXT LINKS */
  .right-nav .hm,
  .right-nav .pd {
    display: none;
  }

  /* USER ICON */
  .user-dropdown .user-trigger {
    padding: 4px 6px;
    border-width: 1px;
  }

  .user-dropdown .user-trigger i {
    font-size: 18px;
  }

  /* DROPDOWN */
  .user-dropdown .dropdown-menu {
    top: 120%;
    right: 0;
    background: #fff;
    flex-direction: column;
    min-width: 130px;
  }
/* mobile open state */
.user-dropdown.open .dropdown-menu {
  display: flex;
}

/* card style >768px */

  .card {
    margin-bottom: 1rem;
  }
.product-sidebar {
    max-height: calc(100vh - 64px); /* navbar height */
    overflow-y: auto;
    border-right: 1px solid #e9ecef;
  }

  .product-main {
    overflow-x: hidden;
  }
/* login form */
.login-form-img{
 /* height: 90vh;
 padding: 15px;*/
 padding-top: 3rem; 
}
.login-form-img .login-img{
  padding: 1rem;

}
.login-form-img .login-form{
padding: .2rem;
}
.login-form-img .login-form .rounded{
  padding: 0;
}
.login-form .card-body{
padding:.7rem;
}
.login-form .card-body .form-label{
  font-size: 1rem;
}
.login-form .card-body .form-control{
    border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 10px;
  font-size: 1rem;

}
.register-img{
  display:none;
}
.register-form .form-control{
padding: 12px;
}

/* display none */
.card-body-high{
  display: none;
}

/* new cart table show */
.card-container{
  display: flex;
  margin-bottom: 2rem;
  border: 2px solid yellowgreen;
  padding: 5px;
}

.card-container .cart-dtls{
  width: 70%;
  
 display: flex;
 flex-direction: column;
 gap: 1rem;
}

.card-container .cart-dtls div{
  font-size: 18px;
  font-weight: 500;
}
.card-container .cart-dtls div span{
  font-size: 16px;
}
.cart-price {
  display: flex;
  gap: 14px;          /* controls space */
}

.cart-delete .text-dark {
  width: 50px;
  padding: 5px 0;
  border:none;
  background: #ff0501;
  border-radius: 25px;

}

/* .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(167, 18, 33, 0.4);
  background: linear-gradient(135deg, #ff0019 0%, #bb2d3b 100%);
} */
.card-body .card-total{
  font-size: 20px;
  font-weight: 600;
}


/* ================================
   View_product page
   =============================== */





}

@media screen and (min-width:769px){
.card-new{
  display: none;
}
/* ================================
   View_product page
   =============================== */


  
}
/* media for laptop */
@media (max-width: 992px) {
  .navbar-search-input { width: 220px; }
  .navbar-search-input:focus { width: 220px; }

  /* login form */
 
.login-form-img{
 padding-top: 3rem; 
}
.login-form-img .login-img{
  padding: 1rem;

}
.login-form-img .login-form{
padding: .2rem;
}
.login-form-img .login-form .rounded{
  padding: 0;
}
.login-form .card-body{
padding:.7rem;
}
.login-form .card-body .form-label{
  font-size: 1rem;
}
.login-form .card-body .form-control{
    border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 10px;
  font-size: 1rem;

}
.register-form .rounded{
  padding:0;
}
.register-form .card-body{
  padding: 0;
}
/* ================================
   View_product page
   =============================== */






}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

/* ============================================
   PRODUCT CARD HOVER EFFECTS
   ============================================ */
.card {
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.25) !important;
}

.card:hover img {
  transform: scale(1.05);
}

/* Related Products Section */
.related-products-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  padding: 40px 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  margin-top: 40px;
}

.related-products-title {
  color: #0d6efd;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cart-heading{
  font-size: 20px;
  margin-bottom: 0;
}

.cart-fluid{
  padding: 48px;
}


/* thsi is for the product-desc,specification,warranty */
/* .nav-tabs {
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
} */
