/*
Theme Name: Purple Box Bakeshop
Theme URI: https://purpleboxbakeshop.com
Author: Purple Box Bakeshop
Author URI: https://purpleboxbakeshop.com
Description: A warm, modern WooCommerce-ready block theme for an artisan bakeshop. Brand purple (#7527A6) with a joyful yellow accent, built for full-site editing and compatible with WooCommerce and Elementor. Cakes and Pastries.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purple-box-bakeshop
Tags: full-site-editing, block-patterns, e-commerce, custom-logo, custom-colors, editor-style, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* -------------------------------------------------------------
   Most styling lives in theme.json (colors, fonts, spacing).
   This file only carries a few refinements that the editor
   tokens can't express. Edit colors & fonts in theme.json or
   via Appearance -> Editor -> Styles.
   ------------------------------------------------------------- */

:root {
  --pbb-purple: #7527A6;
  --pbb-purple-dark: #4E1A6F;
  --pbb-yellow: #F6C445;
  --pbb-cream: #FBF6EE;
  --pbb-ink: #2A1B33;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* Brand button polish */
.wp-block-button__link {
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 24px -14px rgba(117, 39, 166, 0.7);
  transition: transform .15s ease, background .15s ease;
}
.wp-block-button__link:hover {
  transform: translateY(-1px);
}

/* Product cards (WooCommerce) */
.woocommerce ul.products li.product,
.wc-block-grid__product {
  border: 1px solid #EFE7DD;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  padding: 0 0 16px;
  transition: border-color .15s ease, transform .15s ease;
}
.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
  border-color: var(--pbb-purple);
  transform: translateY(-3px);
}
.woocommerce ul.products li.product a img {
  border-radius: 0;
  margin-bottom: 14px;
}
.woocommerce ul.products li.product .price {
  color: var(--pbb-purple);
  font-weight: 800;
}

/* Sale badge */
.woocommerce span.onsale {
  background: var(--pbb-yellow);
  color: var(--pbb-purple-dark);
  border-radius: 999px;
  font-weight: 700;
  min-height: auto;
  padding: 6px 12px;
}

/* Links */
a { text-underline-offset: 2px; }
