/*
Theme Name: Popmart Clone
Theme URI: https://example.com/popmart-clone
Author: Milolo
Author URI: https://example.com
Description: A premium WordPress theme inspired by Popmart - Designer Toys and Collectibles. Features a modern e-commerce design with WooCommerce integration, responsive layouts, and customizable sections.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: popmart-clone
Tags: e-commerce, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready, blog, one-column, two-columns

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/**
 * Table of Contents:
 * 
 * 1.0 - CSS Reset
 * 2.0 - CSS Variables
 * 3.0 - Typography
 * 4.0 - Base Elements
 * 5.0 - Layout & Container
 * 6.0 - Accessibility
 */

/* ==========================================================================
   1.0 - CSS Reset
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   2.0 - CSS Variables
   ========================================================================== */

:root {
    /* Colors */
    --pm-primary: #000000;
    --pm-secondary: #FF3366;
    --pm-accent: #FFD700;
    --pm-white: #FFFFFF;
    --pm-gray-50: #FAFAFA;
    --pm-gray-100: #F5F5F5;
    --pm-gray-200: #EEEEEE;
    --pm-gray-300: #E0E0E0;
    --pm-gray-400: #BDBDBD;
    --pm-gray-500: #9E9E9E;
    --pm-gray-600: #757575;
    --pm-gray-700: #616161;
    --pm-gray-800: #424242;
    --pm-gray-900: #212121;
    --pm-black: #000000;

    /* Gradients */
    --pm-gradient-primary: linear-gradient(135deg, #FF3366 0%, #FF6B9D 50%, #FFB366 100%);
    --pm-gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);

    /* Typography */
    --pm-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pm-font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --pm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --pm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --pm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --pm-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --pm-shadow-glow: 0 0 40px rgba(255, 51, 102, 0.3);

    /* Transitions */
    --pm-transition-fast: 150ms ease;
    --pm-transition-base: 250ms ease;
    --pm-transition-slow: 350ms ease;

    /* Border Radius */
    --pm-radius-sm: 4px;
    --pm-radius-md: 8px;
    --pm-radius-lg: 12px;
    --pm-radius-xl: 16px;
    --pm-radius-2xl: 24px;
    --pm-radius-full: 9999px;

    /* Spacing */
    --pm-spacing-xs: 0.25rem;
    --pm-spacing-sm: 0.5rem;
    --pm-spacing-md: 1rem;
    --pm-spacing-lg: 1.5rem;
    --pm-spacing-xl: 2rem;
    --pm-spacing-2xl: 3rem;
    --pm-spacing-3xl: 4rem;
}

/* ==========================================================================
   3.0 - Typography
   ========================================================================== */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--pm-font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--pm-gray-900);
    background-color: var(--pm-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--pm-font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   4.0 - Base Elements
   ========================================================================== */

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--pm-transition-fast);
}

a:hover,
a:focus {
    color: var(--pm-secondary);
}

a:focus {
    outline: 2px solid var(--pm-secondary);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

button:focus {
    outline: 2px solid var(--pm-secondary);
    outline-offset: 2px;
}

ul,
ol {
    list-style: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   5.0 - Layout & Container
   ========================================================================== */

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pm-spacing-lg);
    padding-right: var(--pm-spacing-lg);
}

.section {
    padding-top: var(--pm-spacing-3xl);
    padding-bottom: var(--pm-spacing-3xl);
}

@media (min-width: 768px) {
    .section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* ==========================================================================
   6.0 - Accessibility
   ========================================================================== */

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: var(--pm-radius-sm);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip Link */
.skip-link {
    background-color: var(--pm-black);
    color: var(--pm-white);
    font-weight: 700;
    left: -9999rem;
    padding: 1rem;
    position: fixed;
    text-decoration: none;
    top: 0;
    z-index: 999999;
}

.skip-link:focus {
    left: 0;
    outline: none;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--pm-secondary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --pm-secondary: #CC0033;
    }
}

/* Print styles */
@media print {

    .site-header,
    .site-footer,
    .newsletter-section,
    .hero-arrows,
    .hero-nav {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}