/*
Theme Name: Storefront Child
Template: storefront
Version: 1.0
*/

:root {
    --aur-primary: #6366f1;
    --aur-primary-dark: #4f46e5;
    --aur-dark: #0f172a;
    --aur-bg: #f8fafc;
    --aur-radius: 16px;
}

body { background: var(--aur-bg); color: #334155; }

/* ---- Header ---- */
.site-header { border-bottom: none; box-shadow: 0 1px 15px rgba(15,23,42,.06); background: #fff; }
.site-title a, .site-title a:hover { color: var(--aur-dark); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.site-description { color: #94a3b8; }

/* ---- Buttons ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wp-block-button__link {
    background: linear-gradient(135deg, var(--aur-primary), var(--aur-primary-dark)) !important;
    color: #fff !important;
    border-radius: 40px !important;
    padding: 12px 28px !important;
    font-weight: 600;
    border: none;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(99,102,241,.45);
}

/* ---- Product cards ---- */
 ul.products li.product {
    background: #fff;
    border-radius: var(--aur-radius);
    padding: 18px !important;
    box-shadow: 0 1px 4px rgba(15,23,42,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}
 ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15,23,42,.12);
}
 ul.products li.product img { border-radius: 12px; transition: transform .3s ease; }
 ul.products li.product:hover img { transform: scale(1.03); }
 ul.products li.product .woocommerce-loop-product__title {
    font-weight: 600; color: var(--aur-dark); font-size: 1.05em !important;
}
 ul.products li.product .price { color: var(--aur-primary-dark) !important; font-weight: 700; }
 ul.products li.product .onsale {
    background: #f43f5e; border-radius: 20px; padding: 4px 12px; font-size: .75em;
}

/* ---- Sale badge / price ---- */
span.onsale { background: #f43f5e !important; }

/* ---- Headings ---- */
h1, h2, h3 { color: var(--aur-dark); letter-spacing: -.01em; }

/* ---- Shop toolbar ---- */
.woocommerce-result-count { color: #64748b; }

/* ---- Footer ---- */
.site-footer { background: var(--aur-dark); color: #cbd5e1; }
.site-footer a { color: #e2e8f0; }
.site-footer h1, .site-footer h2, .site-footer h3 { color: #fff; }

/* ---- Hero 区块微调 ---- */
.wp-block-cover { border-radius: 0; }

/* ---- 面包屑/信息条 ---- */
.woocommerce-breadcrumb { color: #94a3b8; font-size: .85em; }

/* ---- 单品页 ---- */
.single-product div.product .product_title { font-weight: 700; }
.single-product div.product p.price { color: var(--aur-primary-dark); font-size: 1.5em; font-weight: 700; }

/* ---- 评分星星 ---- */
.star-rating span::before { color: #fbbf24; }

/* ---- Hero CTA 按钮 ---- */
.aur-hero-btn {
    display: inline-block; background:#fff; color:#4f46e5 !important;
    padding: 14px 40px; border-radius: 40px; font-weight: 700; font-size: 16px;
    text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.aur-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.35); color:#4338ca !important; }

/* ---- 分类卡片 ---- */
.aur-cat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1140px; margin:0 auto 20px; padding:0 20px; }
.aur-cat {
    display:flex; align-items:center; justify-content:center; height:170px;
    border-radius:16px; text-decoration:none; font-size:22px; font-weight:700; color:#fff !important;
    transition: transform .2s ease, box-shadow .2s ease;
}
.aur-cat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.18); }
.aur-cat-audio { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.aur-cat-acc { background: linear-gradient(135deg,#14b8a6,#0ea5e9); }
.aur-cat-bundle { background: linear-gradient(135deg,#f59e0b,#f43f5e); }

/* ---- 促销横幅 ---- */
.aur-promo {
    max-width:1140px; margin:64px auto 0; padding:0 20px;
}
.aur-promo-text {
    background: linear-gradient(135deg,#0f172a,#312e81);
    border-radius:24px; padding:64px 40px; text-align:center; color:#e2e8f0;
}
.aur-promo-text h2 { color:#fff !important; font-size:34px; margin-bottom:12px; }
.aur-promo-text p { font-size:17px; margin-bottom:28px; }
@media (max-width:768px){
    .aur-cat-grid { grid-template-columns:1fr; }
    .aur-cat { height:120px; }
}
