@import url("../../../layout1/front/css/comman.css");

/* =====================================================
   LAYOUT2: CLASSIC SHOP - COMMON ELEMENTS
   Structure only - User colors preserved
   ===================================================== */

/* === PRELOADER - Ensure it's above everything then hidden === */
.preloader_wrapper {
  z-index: 9999;
}

.preloader_wrapper.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* === SEARCH BOX OVERLAY === */
.searchBox {
  z-index: 1000;
}

/* === SCROLL TO TOP === */
.scroll-top {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* === ALERTS === */
.alert {
  border-radius: 8px;
}

/* === PAGINATION === */
.pagination .page-item .page-link {
  border-radius: 8px;
  margin: 0 3px;
  font-weight: 500;
}

/* === CART === */
.cart-item {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
}

.cart-total {
  border-radius: 12px;
  padding: 25px;
}

/* === CHECKOUT === */
.checkout-form {
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* === PRODUCT DETAILS === */
.product-detail-img {
  border-radius: 12px;
  overflow: hidden;
}

.product-detail-info {
  padding: 20px 0;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
}

/* === QUANTITY SELECTOR === */
.qty-selector {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
}

.qty-selector button {
  padding: 10px 15px;
  font-weight: 600;
}

.qty-selector input {
  text-align: center;
  width: 60px;
  font-weight: 600;
}

/* === TABS === */
.nav-tabs .nav-link {
  font-weight: 500;
  padding: 12px 20px;
  border-bottom: 3px solid transparent;
}

/* === REVIEWS === */
.review-item {
  padding: 20px 0;
}

/* === WISHLIST === */
.wishlist-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* === SEARCH === */
.search-form {
  position: relative;
}

.search-form input {
  padding-right: 50px;
  border-radius: 8px;
}

.search-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 6px;
  padding: 8px 15px;
}

/* === MODAL === */
.modal-content {
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.modal-header {
  padding: 20px 25px;
}

.modal-footer {
  padding: 20px 25px;
}

/* === LOADING SPINNER === */
.spinner {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === TOOLTIPS === */
.tooltip-inner {
  border-radius: 6px;
  padding: 8px 12px;
}

/* === DROPDOWN === */
.dropdown-menu {
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 8px;
}

.dropdown-item {
  border-radius: 8px;
  padding: 10px 15px;
}

/* === SOCIAL ICONS === */
.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin: 0 5px;
  transition: all 0.3s ease;
}
