input {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
}


/* Ensure slides stay in a single row and hide overflow */
.as_banner_slider {
    overflow: hidden;
    display: block;
    width: 100%;
}

/* Hide all slides by default except the first one (prevents flickering on load) */
.as_banner_detail:not(:first-child) {
    display: none;
}

/* Once the slider is initialized by JS, the library will handle display */
.slick-initialized .as_banner_detail {
    display: block !important;
}

/* Spacing fix for the content */
.as_banner_detail {
    padding: 20px 0;
}

/* Slider Fix */
.as_about_slider {
    overflow: hidden;
    margin-bottom: 30px;
}

/* Hide inactive images initially */
.as_about_slider > div:not(:first-child) {
    display: none;
}

.slick-initialized .as_about_slider > div {
    display: block !important;
}

/* Contact Expert Section Fix */
.as_contact_expert {
    display: flex;
    align-items: center;
    background: #111; /* Or your preferred dark theme color */
    padding: 20px;
    border-radius: 8px;
    gap: 20px;
    margin-top: 30px;
}

.as_contact_expert .as_icon {
    width: 50px;
    height: 50px;
    background: #ff7e00; /* Orange theme */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.as_contact_expert div {
    flex-grow: 1;
}

.as_contact_expert h5, .as_contact_expert h4 {
    margin: 0;
    line-height: 1.4;
}

button {
  width: 100%;
  padding: 10px;
  background: #2c3e50;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* Header Styling */
.as_contact_buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin: 20px;
}

#user-profile {
  position: relative;
  cursor: pointer;
}

#profile-dropdown {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

#profile-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#profile-dropdown ul li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #000;
}

#profile-dropdown ul li a:hover {
  background: #f0f0f0;
}

#user-profile:hover #profile-dropdown {
  display: block;
}

#user-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  font-family: "Poppins", sans-serif;
}

.header-icon {
  position: relative;
}

/* 🛒 Cart Button */
#cart-btn {
  position: relative;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

#cart-count {
  
  color: #e53a68;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  margin-left: -110px;
  display: inline-block;
  min-width: 18px;
  text-align: center;
}
/* 👤 Profile Avatar */
#user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00bfa6;
  cursor: pointer;
  transition: 0.3s;
}

#user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(0, 191, 166, 0.5);
}

/* 📋 Dropdown Menu */
.dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  background: #ffffff;
  width: 200px;
  border-radius: 12px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 100;
  transition: all 0.3s ease;
}

.hidden {
  display: none;
}

.profile-name {
  background: linear-gradient(90deg, #004d61, #007a7a);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.dropdown ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.dropdown ul li:hover {
  background: #f1f1f1;
}

.dropdown ul li a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

#wishlist-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #444;
  font-size: 1rem;
  cursor: pointer;
  padding: 10px 20px;
}

#wishlist-btn:hover {
  background: #f1f1f1;
}

#wishlist-count {
  font-weight: 600;
  color: crimson;
}

.logout-btn {
  color: crimson !important;
  font-weight: 600;
}

/* 🧾 Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: transform 0.3s ease;
  transform: translateX(100%);
  z-index: 200;
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-sidebar h3 {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  font-size: 1.2rem;
}

.checkout-section {
  margin-top: 20px;
}

#checkout {
  width: 100%;
  background: #007a7a;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

#checkout:hover {
  background: #005f5f;
}


/* ==============preloading cards ==================== */
/* SHIMMER EFFECT */
.shimmer {
    position: relative;
    overflow: hidden;
    background: #e3e3e3;
}

.shimmer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;

    background: linear-gradient(
        90deg,
        rgba(230, 230, 230, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(230, 230, 230, 0) 100%
    );

    animation: shimmerMove 1.4s infinite;
}

@keyframes shimmerMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(300px);
    }
}

/* BASE SKELETON SHAPES */
.skeleton-box {
    width: 100%;
    height: 180px;
    border-radius: 10px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin: 10px 0;
}

.skeleton-line.title {
    width: 70%;
}

.skeleton-line.desc {
    width: 90%;
}

.skeleton-line.desc.short {
    width: 60%;
}

.skeleton-line.price {
    width: 40%;
    height: 15px;
}

.skeleton-btn {
    width: 30%;
    height: 35px;
    border-radius: 6px;
    display: inline-block;
    margin: 5px;
}

.product-card.skeleton {
    border-radius: 10px;
    background: #f1f1f1;
    padding: 10px;
}

