/*
Theme Name: Shoptimizer Child (Pandora luxe)
Template: shoptimizer
Description: SCN auto-generated child theme — Pandora 官网级 luxe palette
Version: 1.1.0
*/

:root {
  --pandora-rose-gold: #B76E79;
  --pandora-rose-gold-light: #D4A5A0;
  --pandora-pearl-pink: #FCE7E0;
  --pandora-near-black: #1F1B1A;
  --pandora-silver: #C0C0C0;
  --pandora-gold-thin: #B8956A;
  --pandora-ivory: #FAF7F4;
  /* Bridge to SCN mu-plugins (scn-checkout-lite / scn-order-thankyou / scn-stock-progress / scn-cart-button-price / scn-scarcity / scn-exit-intent) */
  --scn-brand-primary: #B76E79;
  --scn-brand-accent: #1F1B1A;
  --scn-brand-fg: #FFFFFF;
  --scn-brand-bg: #FFFFFF;
}

body {
  background: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--pandora-near-black);
  letter-spacing: 0.01em;
  font-weight: 400;
}

h1, h2, h3, h4, h5,
.product_title, .woocommerce-loop-product__title,
.entry-title, .widget-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--pandora-near-black);
  line-height: 1.25;
}

/* Hero: macro 风格大留白 + 浅渐变 */
.shop-hero,
.home .site-content > article:first-child,
.elementor-section-wrap > section:first-child {
  background: linear-gradient(180deg, #fff 0%, var(--pandora-ivory) 100%);
  padding: 80px 0 60px;
}

/* Product cards: 增大留白, 去边框, hover lift, 价格居中 */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #FFFFFF;
  border: none !important;
  box-shadow: none;
  padding: 22px 16px 26px;
  text-align: center;
  margin-bottom: 32px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(183, 110, 121, 0.14);
}
.woocommerce ul.products li.product .price {
  display: block;
  text-align: center;
  color: var(--pandora-near-black);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 4px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  text-align: center;
  font-size: 1.1rem;
  margin: 14px 0 6px;
  font-weight: 500;
}
.woocommerce ul.products li.product img {
  margin: 0 auto 14px;
  max-height: 300px;
  object-fit: contain;
  background: #fff;
}
.woocommerce ul.products li.product .button {
  margin-top: 12px;
}

/* Buttons: near-black with rose-gold hover, no rounded corners (luxe square) */
.button, .wp-block-button__link,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--pandora-near-black) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 28px !important;
  transition: background .25s ease, color .25s ease;
}
.button:hover, .wp-block-button__link:hover,
.single_add_to_cart_button:hover,
.woocommerce a.button:hover {
  background: var(--pandora-rose-gold) !important;
  color: #FFFFFF !important;
}

/* Topbar */
.topbar, .top-bar {
  background: #FFFFFF !important;
  color: var(--pandora-near-black) !important;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 0.5px solid #ECECEC;
}
.topbar a, .top-bar a { color: var(--pandora-near-black) !important; }

/* Header: minimal, light bottom border (thin gold) */
header.site-header {
  background: #FFFFFF;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--pandora-gold-thin);
}
.site-branding img.custom-logo,
.custom-logo {
  max-height: 56px !important;
}

/* Nav menu: serif uppercase, rose-gold hover */
nav .menu > li > a,
.main-navigation a,
#site-navigation a,
.primary-navigation a {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pandora-near-black) !important;
  font-weight: 500;
}
nav .menu > li > a:hover,
.main-navigation a:hover {
  color: var(--pandora-rose-gold) !important;
}

/* Footer */
footer.site-footer,
.site-footer {
  background: var(--pandora-near-black) !important;
  color: #FFFFFF !important;
  padding: 60px 0 30px;
}
footer.site-footer h2, footer.site-footer h3, footer.site-footer h4,
footer.site-footer .widget-title {
  color: #FFFFFF !important;
}
footer.site-footer a { color: #FFFFFF !important; }
footer.site-footer a:hover { color: var(--pandora-rose-gold) !important; }

/* Price tags */
.price ins {
  text-decoration: none;
  color: var(--pandora-rose-gold) !important;
  font-weight: 500;
}
.price del { color: #999; opacity: .8; }

/* Single product page */
.single-product .product .summary {
  padding-left: 30px;
}
.single-product .summary .price,
.single-product .product .summary > .price {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--pandora-near-black) !important;
  font-family: 'Inter', sans-serif !important;
  margin-bottom: 18px;
}
.single-product .summary .product_title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.single-product .woocommerce-product-gallery img {
  background: #FFFFFF;
  padding: 20px;
}

/* Forms / inputs */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], select, textarea {
  border: 1px solid #DDD !important;
  border-radius: 0 !important;
  padding: 12px 14px !important;
  font-family: 'Inter', sans-serif !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--pandora-rose-gold) !important;
  outline: none !important;
}

/* Category headers (shop archive) */
.woocommerce-products-header__title,
.term-description,
.page-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif !important;
}

/* Cart / Checkout headlines */
.woocommerce h2, .woocommerce-cart h2, .woocommerce-checkout h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 0.5px solid var(--pandora-gold-thin);
  padding-bottom: 12px;
}

/* Make rank-math breadcrumbs match */
.rank-math-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

/* Sale flash badge */
.woocommerce span.onsale {
  background: var(--pandora-rose-gold) !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 0.15em !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  padding: 6px 10px !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1.2 !important;
}
