/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1775153008
Updated: 2026-04-02 18:03:28

*/

/* =============================================
   CUSTOM WOOCOMMERCE BOOK CARD
   ============================================= */

/* Remove default WooCommerce card styles */
ul.products li.product.custom-book-card {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  text-align: left !important;
}

/* Card wrapper */
.custom-book-card {
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  list-style: none;
}

.custom-book-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Product image */
.custom-card-img-link {
  display: block;
  overflow: hidden;
}

.custom-card-img-link img.custom-card-img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 14px 14px 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
}

.custom-book-card:hover .custom-card-img {
  transform: scale(1.04);
}

/* Card body */
.custom-card-body {
  padding: 14px 15px 15px;
}

/* Title row — name + page badge side by side */
.custom-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.custom-card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.custom-card-title a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}

.custom-card-title a:hover {
  color: #1a73e8 !important;
}

/* Page count badge */
.custom-page-badge {
  background: #fff8e1;
  color: #e65100;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid #ffe082;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Category line */
.custom-card-cat {
  font-size: 12px !important;
  color: #777777 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.4 !important;
}

/* Author + price row */
.custom-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.custom-card-author {
  font-size: 13px;
  color: #333333;
}

.custom-card-author strong {
  color: #1a73e8;
  font-weight: 700;
}

/* Price */
.custom-card-price .woocommerce-Price-amount {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #d32f2f !important;
}

.custom-card-price del .woocommerce-Price-amount {
  font-size: 13px !important;
  color: #999 !important;
}

/* Add to Cart button */
.custom-book-card .custom-atc-btn.button,
.custom-book-card a.add_to_cart_button,
.custom-book-card .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  background: #1a73e8 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  letter-spacing: 0.3px !important;
}

.custom-book-card .custom-atc-btn.button:hover,
.custom-book-card a.add_to_cart_button:hover {
  background: #1558b0 !important;
  color: #ffffff !important;
}