/*
Theme Name: Giulia Privé Child
Theme URI: https://giuliaprive.com
Description: Custom child theme for Giulia Privé fine jewelry. Built on Hello Elementor. Implements the brand's typography, color system, and WooCommerce refinements as specified in the Complete Website Package.
Author: Giulia Privé Atelier
Author URI: https://giuliaprive.com
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: giulia-prive-child
*/

/* ============================================================
   BASE — typography & body
   Token definitions live in /assets/css/gp-tokens.css
   ============================================================ */

body {
  font-family: var(--gp-sans);
  font-size: var(--gp-body);
  color: var(--gp-ink);
  background: var(--gp-ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gp-serif);
  font-weight: 400;
  color: var(--gp-black);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 var(--gp-space-2);
}

h1 { font-size: var(--gp-display-lg); letter-spacing: 0.02em; }
h2 { font-size: var(--gp-display-md); }
h3 { font-size: var(--gp-heading); }

p { margin: 0 0 var(--gp-space-2); }

a {
  color: var(--gp-black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--gp-duration) var(--gp-ease),
              border-color var(--gp-duration) var(--gp-ease);
}

a:hover {
  color: var(--gp-gold-dark);
  border-bottom-color: var(--gp-gold);
}

/* ============================================================
   EYEBROW — small caps label, often gold
   ============================================================ */

.gp-eyebrow {
  font-family: var(--gp-sans);
  font-size: var(--gp-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gp-gold-dark);
  font-weight: 500;
  display: inline-block;
  margin-bottom: var(--gp-space-2);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.gp-btn-primary,
.gp-btn-secondary {
  font-family: var(--gp-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.125rem 2.5rem;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--gp-black);
  transition: all var(--gp-duration) var(--gp-ease);
}

.gp-btn-primary {
  background: var(--gp-black);
  color: var(--gp-ivory);
}

.gp-btn-primary:hover {
  background: var(--gp-gold);
  border-color: var(--gp-gold);
  color: var(--gp-black);
}

.gp-btn-secondary {
  background: transparent;
  color: var(--gp-black);
}

.gp-btn-secondary:hover {
  background: var(--gp-black);
  color: var(--gp-ivory);
}

/* ============================================================
   WOOCOMMERCE — minimal refinements
   ============================================================ */

.woocommerce-breadcrumb.gp-breadcrumb {
  font-family: var(--gp-sans);
  font-size: var(--gp-small);
  letter-spacing: 0.1em;
  color: var(--gp-charcoal);
  padding: var(--gp-space-3) 0;
}

.gp-flag {
  position: absolute;
  top: var(--gp-space-2);
  left: var(--gp-space-2);
  font-family: var(--gp-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gp-gold-dark);
  background: var(--gp-ivory);
  padding: 0.5rem 0.875rem;
  z-index: 2;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
  font-family: var(--gp-serif);
  color: var(--gp-black);
  font-size: 1.5rem;
  font-weight: 400;
}

/* Hide quantity selector on single product — brand pattern */
.woocommerce div.product form.cart div.quantity { display: none; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--gp-gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gp-black);
  color: var(--gp-ivory);
  padding: 1rem 1.5rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
  body { font-size: 0.9375rem; }
  .gp-btn-primary, .gp-btn-secondary { padding: 1rem 1.75rem; }
}
