/* ========================================
   MODERN WOOCOMMERCE STYLES FOR LUPALASHES
   ======================================== */

/* ========================================
   HEADER STYLING FOR WOOCOMMERCE PAGES
   ======================================== */

/* Header background on WooCommerce pages */
.woocommerce .site-header,
.woocommerce-page .site-header,
.single-product .site-header,
.woocommerce-cart .site-header,
.woocommerce-checkout .site-header,
.woocommerce-account .site-header {
  background: #d4a574 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.woocommerce .site-header .site-logo .logo-text .brand-name,
.woocommerce-page .site-header .site-logo .logo-text .brand-name,
.single-product .site-header .site-logo .logo-text .brand-name,
.woocommerce-cart .site-header .site-logo .logo-text .brand-name,
.woocommerce-checkout .site-header .site-logo .logo-text .brand-name,
.woocommerce-account .site-header .site-logo .logo-text .brand-name {
  color: #fff;
}

.woocommerce .site-header .main-navigation .nav-menu li a,
.woocommerce-page .site-header .main-navigation .nav-menu li a,
.single-product .site-header .main-navigation .nav-menu li a,
.woocommerce-cart .site-header .main-navigation .nav-menu li a,
.woocommerce-checkout .site-header .main-navigation .nav-menu li a,
.woocommerce-account .site-header .main-navigation .nav-menu li a {
  color: #fff;
}

.woocommerce .site-header .header-actions .header-icons .header-icon,
.woocommerce-page .site-header .header-actions .header-icons .header-icon,
.single-product .site-header .header-actions .header-icons .header-icon,
.woocommerce-cart .site-header .header-actions .header-icons .header-icon,
.woocommerce-checkout .site-header .header-actions .header-icons .header-icon,
.woocommerce-account .site-header .header-actions .header-icons .header-icon {
  color: #fff;
}

.woocommerce .site-header .main-navigation .nav-menu li.menu-item-has-children::after,
.woocommerce-page .site-header .main-navigation .nav-menu li.menu-item-has-children::after,
.single-product .site-header .main-navigation .nav-menu li.menu-item-has-children::after,
.woocommerce-cart .site-header .main-navigation .nav-menu li.menu-item-has-children::after,
.woocommerce-checkout .site-header .main-navigation .nav-menu li.menu-item-has-children::after,
.woocommerce-account .site-header .main-navigation .nav-menu li.menu-item-has-children::after {
  border-top-color: #fff;
}

.woocommerce .site-header .header-actions .mobile-menu-toggle span,
.woocommerce-page .site-header .header-actions .mobile-menu-toggle span,
.single-product .site-header .header-actions .mobile-menu-toggle span,
.woocommerce-cart .site-header .header-actions .mobile-menu-toggle span,
.woocommerce-checkout .site-header .header-actions .mobile-menu-toggle span,
.woocommerce-account .site-header .header-actions .mobile-menu-toggle span {
  background: #fff;
}

/* When scrolled on WooCommerce pages - keep primary color */
.woocommerce .site-header.scrolled,
.woocommerce-page .site-header.scrolled,
.single-product .site-header.scrolled,
.woocommerce-cart .site-header.scrolled,
.woocommerce-checkout .site-header.scrolled,
.woocommerce-account .site-header.scrolled {
  background: #d4a574 !important;
}

/* Add padding to body on WooCommerce pages to prevent content hiding under fixed header */
body.woocommerce,
body.woocommerce-page,
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
  padding-top: 80px;
}

@media (max-width: 991px) {
  body.woocommerce,
  body.woocommerce-page,
  body.single-product,
  body.woocommerce-cart,
  body.woocommerce-checkout,
  body.woocommerce-account {
    padding-top: 80px;
  }
}

/* ========================================
   SHOP PAGE STYLES
   ======================================== */

/* Shop Page Header */
.shop-page-header {
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, #d4a574 0%, #c39463 100%);
  color: #fff;
  text-align: center;
  margin-bottom: 0;
}

.shop-page-header .shop-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.shop-page-header .shop-description {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .shop-page-header {
    padding: 120px 20px 40px;
  }
  .shop-page-header .shop-title {
    font-size: 32px;
  }
}

/* Shop Content Wrapper */
.shop-content-wrapper {
  padding: 60px 0;
  background: #fff;
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
}

.shop-toolbar .toolbar-left .woocommerce-result-count {
  margin: 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.shop-toolbar .toolbar-right .woocommerce-ordering {
  margin: 0;
}

.shop-toolbar .woocommerce-ordering select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shop-toolbar .woocommerce-ordering select:hover,
.shop-toolbar .woocommerce-ordering select:focus {
  border-color: #d4a574;
}

@media (max-width: 768px) {
  .shop-toolbar {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* Products Grid */
.products-grid-wrapper {
  margin-bottom: 50px;
}

.modern-products-grid {
  display: flex;
  flex-wrap: wrap;
}

.modern-products-grid .product-col {
  padding: 0 12px;
  margin-bottom: 40px;
}

/* Modern Product Card */
.modern-product-card {
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-product-card .product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Product Image Section */
.modern-product-card .product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  margin-bottom: 15px;
  border-radius: 8px;
}

.modern-product-card .product-image {
  position: relative;
  padding-top: 125%;
  overflow: hidden;
}

.modern-product-card .product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.modern-product-card .product-image .main-image {
  opacity: 1;
}

.modern-product-card .product-image .hover-image {
  opacity: 0;
}

.modern-product-card:hover .product-image .main-image {
  opacity: 0;
  transform: scale(1.05);
}

.modern-product-card:hover .product-image .hover-image {
  opacity: 1;
  transform: scale(1.05);
}

/* Product Badges */
.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-badges .badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  color: #fff;
}

.badge-sale {
  background: #e74c3c;
}

.badge-featured {
  background: #d4a574;
}

.badge-out-of-stock {
  background: #95a5a6;
}

/* Quick Actions */
.product-quick-actions {
  position: absolute;
  right: 15px;
  top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.modern-product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-action-btn:hover {
  background: #d4a574;
  color: #fff;
  transform: scale(1.1);
}

/* Add to Cart Hover */
.product-add-to-cart-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.modern-product-card:hover .product-add-to-cart-hover {
  opacity: 1;
  transform: translateY(0);
}

.product-add-to-cart-hover .button,
.product-add-to-cart-hover .added_to_cart {
  width: 100%;
  padding: 12px 20px;
  background: #d4a574;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
}

.product-add-to-cart-hover .button:hover,
.product-add-to-cart-hover .added_to_cart:hover {
  background: #c39463;
}

/* Product Info */
.modern-product-card .product-info {
  padding: 10px 5px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.modern-product-card .product-category {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 500;
}

.modern-product-card .product-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.4;
}

.modern-product-card .product-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-product-card .product-title a:hover {
  color: #d4a574;
}

.modern-product-card .product-rating {
  margin-bottom: 10px;
}

.modern-product-card .product-rating .star-rating {
  font-size: 14px;
  color: #ffc107;
}

.modern-product-card .product-short-description {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.5;
}

.modern-product-card .product-price {
  font-size: 18px;
  font-weight: 600;
  color: #d4a574;
  margin-top: auto;
}

.modern-product-card .product-price del {
  color: #999;
  font-weight: 400;
  margin-right: 8px;
  font-size: 16px;
}

.modern-product-card .product-price ins {
  text-decoration: none;
  color: #d4a574;
}

/* Shop Pagination */
.shop-pagination {
  text-align: center;
  padding: 40px 0;
}

.shop-pagination .woocommerce-pagination ul {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-pagination .woocommerce-pagination ul li {
  margin: 0;
}

.shop-pagination .woocommerce-pagination ul li a,
.shop-pagination .woocommerce-pagination ul li span {
  display: block;
  padding: 12px 18px;
  background: #f8f8f8;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.shop-pagination .woocommerce-pagination ul li a:hover,
.shop-pagination .woocommerce-pagination ul li span.current {
  background: #d4a574;
  color: #fff;
}

/* No Products Found */
.no-products-found {
  text-align: center;
  padding: 80px 20px;
}

.no-products-message i {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 20px;
}

.no-products-message h3 {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.no-products-message p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

/* ========================================
   SINGLE PRODUCT PAGE STYLES
   ======================================== */

.single-product-wrapper {
  padding: 60px 0 60px;
  background: #fff;
}

.modern-single-product {
  background: #fff;
}

/* Product Main Section */
.single-product-main {
  margin-bottom: 60px;
}

/* Product Gallery */
.product-gallery-col {
  padding-right: 30px;
}

@media (max-width: 991px) {
  .product-gallery-col {
    padding-right: 15px;
    margin-bottom: 40px;
  }
}

.custom-product-gallery {
  position: relative;
}

.gallery-main-image {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 20px;
}

.gallery-main-image .main-product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-main-image:hover .main-product-image {
  transform: scale(1.05);
}

/* Single Product Badges */
.single-product-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-product-badges .badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 5px;
  color: #fff;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
  overflow: hidden;
}

.thumbnails-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.thumbnail-item {
  flex: 0 0 calc(20% - 12px);
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-item img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-item:hover,
.thumbnail-item.active {
  border-color: #d4a574;
}

@media (max-width: 768px) {
  .thumbnail-item {
    flex: 0 0 calc(25% - 12px);
  }
}

/* Product Summary */
.product-summary-col {
  padding-left: 30px;
}

@media (max-width: 991px) {
  .product-summary-col {
    padding-left: 15px;
  }
}

.product-summary-wrapper .summary {
  position: sticky;
  top: 100px;
}

@media (max-width: 991px) {
  .product-summary-wrapper .summary {
    position: relative;
    top: 0;
  }
}

/* Product Title */
.product_title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .product_title {
    font-size: 24px;
  }
}

/* Product Price */
.price {
  font-size: 28px;
  font-weight: 700;
  color: #d4a574 !important;
  margin-bottom: 20px;
  display: block;
}

.price del {
  color: #999;
  font-weight: 400;
  margin-right: 10px;
  font-size: 24px;
}

.price ins {
  text-decoration: none;
  color: #d4a574;
}

/* Product Rating */
.woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.star-rating {
  color: #ffc107;
  font-size: 16px;
}

.woocommerce-review-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.woocommerce-review-link:hover {
  color: #d4a574;
}

/* Product Description */
.woocommerce-product-details__short-description {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Add to Cart Form */
.cart {
  margin-bottom: 30px;
}

.cart .quantity {
  display: block;
  margin-bottom: 15px;
  width: 100%;
}

.cart .quantity input.qty {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.cart .single_add_to_cart_button {
  padding: 15px 40px;
  background: #d4a574;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  margin-top: 15px;
}

.cart .single_add_to_cart_button:hover {
  background: #c39463;
}

.cart .single_add_to_cart_button:disabled {
  background: #ddd;
  cursor: not-allowed;
}

/* Product Additional Info */
.product-additional-info {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
}

.product-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-features li {
  padding: 10px 0;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-features li i {
  color: #d4a574;
  font-size: 18px;
}

/* Product Meta */
.product_meta {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.product_meta > span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.product_meta a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.product_meta a:hover {
  color: #d4a574;
}

/* Product Details Tabs */
.product-details-tabs {
  margin-bottom: 60px;
}

.woocommerce-tabs {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  border-bottom: 2px solid #ddd;
}

.woocommerce-tabs ul.tabs li {
  flex: 1;
  margin: 0;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 20px 25px;
  color: #666;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.woocommerce-tabs ul.tabs li.active a {
  color: #1a1a1a;
  background: #fff;
}

.woocommerce-tabs ul.tabs li.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #d4a574;
}

.woocommerce-tabs .panel {
  padding: 40px;
}

.woocommerce-tabs .panel h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .woocommerce-tabs ul.tabs {
    flex-direction: column;
  }

  .woocommerce-tabs .panel {
    padding: 20px;
  }
}

/* Related Products */
.related-products-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #eee;
}

.related-products-section .section-title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-align: center;
}

.related-products-section .row {
  margin-left: -8px;
  margin-right: -8px;
}

.related-products-section .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.related-products-section .modern-product-card {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .related-products-section .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .shop-page-header .shop-title {
    font-size: 36px;
  }

  .modern-products-grid .product-col {
    padding: 0 8px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .shop-content-wrapper {
    padding: 40px 0;
  }

  .shop-toolbar {
    margin-bottom: 30px;
  }

  .modern-product-card .product-quick-actions {
    opacity: 1;
    transform: translateX(0);
  }

  .product-add-to-cart-hover {
    opacity: 1;
    transform: translateY(0);
  }

  .single-product-wrapper {
    padding: 100px 0 40px;
  }
}

@media (max-width: 576px) {
  .modern-products-grid .product-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* WooCommerce Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  border-left: 4px solid;
}

.woocommerce-message {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.woocommerce-error {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

.woocommerce-info {
  background: #d1ecf1;
  border-color: #0c5460;
  color: #0c5460;
}

/* ========================================
   CART COUNT ANIMATION & NOTIFICATION
   ======================================== */

/* Cart icon animation */
.cart-icon.cart-updated {
  animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.1); }
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Cart notification popup */
.cart-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: #28a745;
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 300px;
}

.cart-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.cart-notification::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
}

/* ========================================
   QUICK VIEW MODAL STYLES
   ======================================== */

#quickViewModal .modal-dialog {
  max-width: 900px;
}

#quickViewModal .modal-header {
  border-bottom: 1px solid #eee;
  padding: 20px 30px;
}

#quickViewModal .modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

#quickViewModal .modal-body {
  padding: 30px;
}

#quickViewModal .close {
  font-size: 28px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

#quickViewModal .close:hover {
  opacity: 1;
}

/* Quick View Product */
.quick-view-product .quick-view-images {
  position: relative;
}

.quick-view-product .quick-view-main-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.quick-view-product .quick-view-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-view-product .quick-view-thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.quick-view-product .quick-view-thumbnail:hover,
.quick-view-product .quick-view-thumbnail.active {
  border-color: #d4a574;
}

.quick-view-product .product-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.quick-view-product .product-price {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.quick-view-product .product-price del {
  color: #999;
  font-size: 20px;
  margin-right: 10px;
}

.quick-view-product .product-price ins {
  text-decoration: none;
  color: #e74c3c;
}

.quick-view-product .product-short-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.quick-view-product .quantity-selector label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #1a1a1a;
}

.quick-view-product .product-meta {
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.quick-view-product .product-meta a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-view-product .product-meta a:hover {
  color: #d4a574;
}

.quick-view-product .out-of-stock {
  color: #e74c3c;
  font-weight: 600;
  font-size: 16px;
}

/* AJAX Add to Cart button states */
.ajax-add-to-cart {
  position: relative;
  transition: all 0.3s ease;
}

.ajax-add-to-cart.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.ajax-add-to-cart.added {
  background: #28a745 !important;
  border-color: #28a745 !important;
}

/* Loading spinner */
.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  #quickViewModal .modal-dialog {
    margin: 10px;
  }

  #quickViewModal .modal-body {
    padding: 20px;
  }

  .quick-view-product .product-title {
    font-size: 20px;
  }

  .quick-view-product .product-price {
    font-size: 20px;
  }

  .cart-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* ========================================
   SEARCH MODAL STYLES
   ======================================== */

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.search-modal-content {
  position: relative;
  max-width: 800px;
  margin: 80px auto 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  max-height: calc(100vh - 160px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.search-modal-close:hover {
  background: #d4a574;
  color: #fff;
  transform: rotate(90deg);
}

.search-modal-close i {
  font-size: 18px;
}

.search-modal-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid #eee;
}

.search-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}

.search-modal-body {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

/* Search Form */
.product-search-form {
  margin-bottom: 30px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.product-search-input {
  width: 100%;
  padding: 15px 60px 15px 20px;
  border: 2px solid #ddd;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.product-search-input:focus {
  outline: none;
  border-color: #d4a574;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.search-submit-btn {
  position: absolute;
  right: 5px;
  width: 45px;
  height: 45px;
  border: none;
  background: #d4a574;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit-btn:hover {
  background: #c39463;
  transform: scale(1.05);
}

/* Search Results */
.search-results {
  min-height: 200px;
}

.search-results-info,
.search-loading,
.search-error,
.no-search-results {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.search-loading i {
  color: #d4a574;
  margin-bottom: 15px;
}

.no-search-results {
  padding: 60px 20px;
}

.no-search-results i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 20px;
}

.no-search-results p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.search-results-count {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.search-result-item {
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #f9f9f9;
}

.search-result-link {
  display: flex;
  padding: 15px 10px;
  text-decoration: none;
  color: inherit;
  gap: 20px;
}

.search-result-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
  transition: color 0.3s ease;
}

.search-result-link:hover .search-result-title {
  color: #d4a574;
}

.search-result-price {
  font-size: 16px;
  font-weight: 600;
  color: #d4a574;
  margin-bottom: 8px;
}

.search-result-price del {
  color: #999;
  font-size: 14px;
  margin-right: 5px;
}

.search-result-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Prevent body scroll when modal is open */
body.search-modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .search-modal-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
    border-radius: 8px;
  }

  .search-modal-header {
    padding: 20px 20px 15px;
  }

  .search-modal-header h2 {
    font-size: 20px;
  }

  .search-modal-body {
    padding: 20px;
  }

  .search-modal-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }

  .search-result-image {
    width: 60px;
    height: 60px;
  }

  .search-result-link {
    gap: 15px;
  }

  .search-result-title {
    font-size: 14px;
  }
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt{
    background-color: #d4a574 !important;
}