/*
Theme Name: Curated Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A custom WordPress theme meticulously crafted to replicate the Curated Supply design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: curated-theme

This theme uses Tailwind CSS for styling. All custom styles are embedded in the template files.
*/
/* --- Article Content Styling --- */
.entry-content p {
    line-height: 1.75; /* 增加行高，提升可读性 */
    margin-bottom: 1.75em; /* 增加段落间距 */
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-weight: 700; /* 标题加粗 */
    margin-top: 2.5em;
    margin-bottom: 1em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content a {
    text-decoration: underline;
    color: #3b82f6; /* 蓝色链接颜色 */
}

.entry-content a:hover {
    color: #1d4ed8;
}

/* --- WooCommerce Single Product Styling --- */

/* Add to Cart Button Styling */
.woocommerce div.product form.cart .button {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 9999px; /* Fully rounded */
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.woocommerce div.product form.cart .button:hover {
    background-color: #404040; /* Slightly lighter on hover */
}

/* Quantity Input Styling */
.woocommerce .quantity .qty {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem;
    width: 4.5rem;
    text-align: center;
}

/* Tabs Styling */
.woocommerce-tabs ul.tabs li a {
    font-weight: 600;
}
.woocommerce-tabs ul.tabs li.active a {
    color: #1a1a1a;
}
.woocommerce-tabs .panel {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

/* Make Tab content use our typography styles */
.woocommerce-Tabs-panel--description {
    @apply prose prose-lg max-w-none;
}

/* 桌面端菜单选中样式 */
.primary-menu a span,
.mobile-menu a span {
  transition: all 0.25s ease;
}

/* 当前页高亮：黑底白字 */
.primary-menu .current-menu-item span,
.primary-menu .current-menu-ancestor span,
.mobile-menu .current-menu-item span,
.mobile-menu .current-menu-ancestor span {
  background-color: #000;
  color: #fff;
  border-radius: 9999px; /* 圆角胶囊 */
  padding: 0.25rem 0.75rem;
}

/* Hover 效果 */
.primary-menu a:hover span,
.mobile-menu a:hover span {
  color: #000;
  background-color: #e5e5e5;
}