/* Brand defaults: unlayered Elementor styles override this layer. */
@layer pogi-vendor, pogi-theme;
@layer pogi-theme {
/* Hoy Pogi design system tokens.
 *
 * Brand primitives live in Elementor > Site Settings > Variables (kit #6) and
 * print on :root via the kit stylesheet on every page: --v-palette-*,
 * --v-font-family-body/heading, --v-font-size-*, --v-radius-sm/md/lg,
 * --v-space-*, --v-grid-gap-*, --v-section-gap-*, --v-section-space-*
 * and --v-width-wide/content/reading. Edit them there.
 * A variable's label is its CSS name, so renaming one disconnects the theme.
 *
 * This file keeps derived/semantic tokens and values Elementor variables
 * cannot express (shadows, motion, line-heights, breakpoint-specific gutters). */
:root {
	/* Raw palette: Elementor > Variables owns the --v-palette-* values.
	 * The misspelled --hp-pallette-* aliases remain for older custom CSS. */
	--hp-pallette-yellow: var(--v-palette-yellow);
	--hp-pallette-magenta: var(--v-palette-magenta);

	/* Semantic color tokens */
	--hp-color-text: var(--v-palette-text);
	--hp-color-heading: var(--v-palette-primary-flag-blue);
	--hp-color-muted: var(--v-palette-blue-grey);
	--hp-color-surface: var(--v-palette-white);
	--hp-color-surface-alt: var(--v-palette-light-grey);
	--hp-color-border: color-mix(in srgb, var(--v-palette-dark-blue) 16%, transparent);
	--hp-color-brand-primary: var(--v-palette-primary-flag-blue);
	--hp-color-accent: var(--v-palette-primary-flag-blue);
	--hp-color-highlight: var(--v-palette-flag-gold);
	--hp-color-success: var(--v-palette-go-green);
	--hp-color-danger: var(--v-palette-flag-red);
	--hp-color-link: var(--v-palette-primary-flag-blue);
	--hp-color-link-hover: var(--v-palette-dark-blue);

	/* Buttons */
	--hp-radius-button: var(--v-radius-sm);
	/* A small ink mix keeps white labels legible at the shared body-sized button type. */
	--hp-color-button: color-mix(in srgb, var(--hp-pallette-magenta) 94%, #000000);
	--hpe-color-button: var(--hp-color-button);
	--hp-color-button-hover: color-mix(in srgb, var(--hp-color-button) 82%, #000000);
	--hp-shadow-button-focus: 0 0 0 3px color-mix(in srgb, var(--hp-color-button) 45%, transparent);
	--hp-button-min-height: 3.35rem;
	--hp-button-padding: 0.8rem 1.5rem;
	--hp-button-font-weight: 800;
	--hp-button-letter-spacing: 0.015em;
	--hp-button-border: color-mix(in srgb, var(--hp-color-button) 82%, #000000);

	/* Form controls */
	--hp-field-min-height: 3.25rem;
	--hp-field-padding: 0.875rem 1rem;
	--hp-field-radius: var(--v-radius-sm);
	--hp-field-background: var(--hp-color-surface);
	--hp-field-border: var(--hp-color-border);
	--hp-field-focus: var(--hp-color-brand-primary);

	/* Layout and shape */

	/* Typography */
	--hp-font-body: var(--v-font-family-body), "Segoe UI", sans-serif;
	--hp-font-heading: var(--v-font-family-heading), "Segoe UI", sans-serif;
	--hp-font-weight-emphasis: 600;
	--hp-line-height-tight: 1.2;
	--hp-line-height-base: 1.55;
	--hp-line-height-relaxed: 1.75;
	--hp-letter-spacing-tight: -0.015em;
	--hp-letter-spacing-base: 0;
	--hp-letter-spacing-emphasis: 0.01em;

	/* Heading margins: space before, then space after (logical block axis). */
	--hp-heading-h1-margin: 0 var(--v-space-lg);
	--hp-heading-h2-margin: clamp(1.5rem, 3vw, 2rem) var(--v-space-md);
	--hp-heading-h3-margin: clamp(1.25rem, 2.5vw, 1.5rem) 0.75rem;
	--hp-heading-h4-margin: 1.25rem var(--v-space-sm);
	--hp-heading-h5-margin: var(--hp-heading-h4-margin);
	--hp-heading-h6-margin: var(--hp-heading-h4-margin);

	/* Major-section gaps. Medium preserves the established homepage rhythm.
	 * Inner padding continues to use the existing section-space tokens. */

	/* Layout */
	--hp-section-space: var(--v-section-space-md);
	/* Three layout widths, all Elementor variables: --v-width-wide (1600px site
	 * shell), --v-width-content (75rem: cart, checkout, forms) and
	 * --v-width-reading (50rem: articles, policies). Keep Elementor's kit
	 * "Content width" (Site Settings > Layout) equal to --v-width-wide. */
	--hp-container-gutter: clamp(16px, 2.5vw, 40px);
	/* Full-width sections need the same content inset as a centered boxed shell. */
	--hp-container-inset: max(var(--hp-container-gutter), calc((100% - var(--v-width-wide)) / 2 + var(--hp-container-gutter)));

	/* WooCommerce */
	--hp-woo-card-bg: var(--hp-color-surface);
	--hp-woo-card-border: var(--hp-color-border);
	--hp-woo-card-radius: var(--v-radius-md);
	--hp-woo-card-padding: var(--v-space-md);
	--hp-woo-card-shadow: var(--hp-shadow-soft);
	--hp-woo-price-color: var(--v-palette-primary-flag-blue);
	--hp-woo-sale-badge-bg: var(--hp-color-danger);
	--hp-woo-sale-badge-text: var(--v-palette-white);
	--hp-woo-stock-ok: var(--hp-color-success);
	--hp-woo-stock-low: var(--hp-color-highlight);
	--hp-woo-stock-out: var(--hp-color-danger);
	--hp-woo-summary-surface: linear-gradient(160deg, #f8fbff 0%, #eef5ff 100%);
	--hp-woo-primary-action-border: color-mix(in srgb, var(--hp-color-button) 82%, #000000);
	--hp-woo-primary-action-shadow: 0 8px 18px color-mix(in srgb, var(--hp-color-button) 22%, transparent);
	--hp-woo-primary-action-shadow-hover: 0 12px 22px color-mix(in srgb, var(--hp-color-button-hover) 28%, transparent);

	/* Effects */
	--hp-shadow-soft: 0 10px 30px color-mix(in srgb, var(--v-palette-dark-blue) 10%, transparent);
	--hp-shadow-focus: 0 0 0 3px color-mix(in srgb, var(--v-palette-light-blue) 45%, transparent);
	--hp-duration-fast: 160ms;
	--hp-duration-base: 240ms;
	--hp-duration-slow: 360ms;
	--hp-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 1200px) {
	:root { --hp-container-gutter: 16px; }
}

@media (max-width: 380px) {
	:root { --hp-container-gutter: 12px; }
}

}
