/*
Theme Name: Scrap-up
Theme URI: https://scrap-up.fr
Author: Scrap-up
Description: Thème e-commerce élégant pour Scrap-up — boîtes anniversaires enfants à thème
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: scrapup
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── VARIABLES ── */
:root {
  --rose-dark:    #7a1040;
  --rose-accent:  #e05a8a;
  --rose-soft:    #fff0f5;
  --rose-text:    #7a2040;
  --rose-deep:    #4a0a22;
  --rose-pink:    #c0345f;
  --rose-pale:    #a04060;
  --rose-border:  rgba(224,90,138,0.22);
  --white:        #ffffff;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Lato', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: #333;
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── TOPBAR ── */
#topbar {
  background: var(--rose-dark);
  color: #ffe8f2;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 9px 20px;
  font-size: 12px;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
#topbar span { display: flex; align-items: center; gap: 6px; }

/* ── NAVIGATION ── */
#site-header {
  background: #fff;
  border-bottom: 1px solid var(--rose-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
#site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--rose-dark);
}
.site-logo span { color: var(--rose-accent); }
#primary-nav { display: flex; gap: 28px; align-items: center; }
#primary-nav a {
  font-size: 13px;
  color: #555;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
#primary-nav a:hover { color: var(--rose-accent); }
.nav-actions { display: flex; gap: 16px; align-items: center; }
.nav-actions a {
  font-size: 20px;
  color: #555;
  transition: color 0.2s;
}
.nav-actions a:hover { color: var(--rose-accent); }
.cart-count {
  background: var(--rose-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  vertical-align: top;
}

/* ── HERO ── */
.hero {
  background: var(--rose-soft);
  padding: 88px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-pink);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  color: var(--rose-deep);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--rose-accent); }
.hero-sub {
  font-size: 18px;
  color: var(--rose-text);
  max-width: 560px;
  margin: 0 auto 28px;
  font-weight: 300;
  line-height: 1.8;
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--rose-pink);
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BOUTONS ── */
.btn-primary {
  background: var(--rose-dark);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 40px;
  border: none;
  border-radius: 3px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--rose-accent); color: #fff; transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--rose-dark);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 40px;
  border: 1.5px solid var(--rose-dark);
  border-radius: 3px;
  display: inline-block;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--rose-dark); color: #fff; }

/* ── BADGES HERO ── */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--rose-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 12px;
  color: var(--rose-dark);
  font-weight: 700;
}

/* ── INFO BAND ── */
.info-band {
  background: #fff7fb;
  border-top: 1px solid var(--rose-border);
  border-bottom: 1px solid var(--rose-border);
  display: flex;
  flex-wrap: wrap;
}
.info-item {
  flex: 1;
  min-width: 180px;
  padding: 22px 28px;
  text-align: center;
  border-right: 1px solid rgba(224,90,138,0.1);
}
.info-item:last-child { border-right: none; }
.info-item .info-icon { font-size: 24px; margin-bottom: 7px; }
.info-item strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 700;
  margin-bottom: 4px;
}
.info-item p { font-size: 12px; color: var(--rose-pale); }

/* ── SECTIONS ── */
.section { padding: 72px 40px; max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--rose-deep);
  margin-bottom: 12px;
}
.section-head p { font-size: 16px; color: #777; max-width: 500px; margin: 0 auto; line-height: 1.7; }
.section-divider {
  width: 52px; height: 2px;
  background: var(--rose-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── GRILLE PRODUITS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

/* ── CARTE PRODUIT ── */
.product-card {
  background: #fff;
  border: 1px solid #f0d0de;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(122,16,64,0.12);
}
.product-card .product-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-card .product-thumbnail-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #fff0f5, #fce4f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.product-label {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--rose-dark);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
}
.product-label.new { background: var(--rose-accent); }
.product-body { padding: 18px 20px 20px; }
.product-name {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 7px;
  line-height: 1.4;
}
.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--rose-pink);
  margin-bottom: 7px;
}
.product-options {
  font-size: 12px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 14px;
}
.product-btn {
  display: block;
  width: 100%;
  background: var(--rose-dark);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 11px;
  border: none;
  border-radius: 3px;
  transition: background 0.2s;
}
.product-btn:hover { background: var(--rose-accent); }

/* ── BANNIÈRE SUR MESURE ── */
.promo-banner {
  background: var(--rose-dark);
  color: #fff;
  padding: 64px 48px;
  text-align: center;
  border-radius: 8px;
  margin: 0 40px 56px;
}
.promo-banner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 14px;
}
.promo-banner h2 em { color: #ffb3d1; font-style: italic; }
.promo-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.btn-white {
  background: #fff;
  color: var(--rose-dark);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 38px;
  border: none;
  border-radius: 3px;
  display: inline-block;
  transition: background 0.2s;
}
.btn-white:hover { background: #ffd6e8; }

/* ── COMING SOON ── */
.coming-soon {
  background: #fdf6f9;
  border: 1px solid #f0d0de;
  border-radius: 8px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 40px 64px;
}
.coming-soon-icon { font-size: 36px; flex-shrink: 0; }
.coming-soon-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-pink);
  margin-bottom: 8px;
}
.coming-soon p { font-size: 15px; color: #666; line-height: 1.7; }
.coming-soon strong { color: var(--rose-dark); }

/* ── NOTE FOURNISSEUR ── */
.supplier-note {
  text-align: center;
  padding: 22px 40px;
  background: #fff9fb;
  border-top: 1px solid var(--rose-border);
  font-size: 14px;
  color: var(--rose-text);
}
.supplier-note strong { color: var(--rose-dark); }

/* ── FOOTER ── */
#site-footer {
  background: var(--rose-deep);
  color: rgba(255,255,255,0.65);
  padding: 56px 40px 28px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand span { color: #ffb3d1; }
.footer-desc { font-size: 14px; line-height: 1.8; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb3d1;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; }

/* ── WOOCOMMERCE OVERRIDES ── */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--rose-dark) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
  padding: 12px 28px !important;
  border: none !important;
  transition: background 0.2s !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--rose-accent) !important;
  color: #fff !important;
}
.woocommerce span.price, .woocommerce .price { color: var(--rose-pink) !important; font-weight: 700 !important; }
.woocommerce .star-rating span::before { color: var(--rose-accent) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  color: #333 !important;
}
.woocommerce-message, .woocommerce-info {
  border-top-color: var(--rose-accent) !important;
}
.woocommerce-message::before, .woocommerce-info::before {
  color: var(--rose-accent) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--rose-accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(224,90,138,0.15) !important;
}
.woocommerce #payment #place_order {
  background: var(--rose-dark) !important;
}
.woocommerce .woocommerce-checkout-review-order-table { border-color: var(--rose-border) !important; }

/* ── PAGE PANIER / CHECKOUT ── */
.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-account h1 {
  font-family: var(--font-display) !important;
  color: var(--rose-deep) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .hero { padding: 56px 24px 52px; }
  .section { padding: 48px 20px; }
  #site-header .header-inner { padding: 14px 20px; }
  #primary-nav { display: none; }
  .promo-banner { margin: 0; border-radius: 0; padding: 40px 24px; }
  .coming-soon { margin: 0 20px 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  #site-footer { padding: 40px 24px 24px; }
  .info-item { min-width: 140px; }
}
