* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

* {
    margin: revert !important;
    padding: revert !important;
}

body > * > * > * > * > * {
    font-family: 'Comic Sans MS', cursive !important;
}

body {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==);
    background-repeat: repeat;
    background-color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: purple !important;
}

input:focus {
    outline: 10px solid #FFD700;
    outline-offset: 5px;
}

button {
    cursor: pointer;
}

button:active {
    transform: scale(0.8);
}

h1, h2, h3, h4, h5, h6 {
    margin: 20px 0 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px !important;
}

header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05), 0 8px 20px rgba(0,0,0,0.025);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px !important;
}

nav ul {
    margin: 0 !important;
    padding: 0 !important;
}

@media screen and (max-width: 768px) {
    * {
        font-size: 16px !important;
    }
    
    body {
        min-width: 0;
    }
    
    .container {
        padding: 10px !important;
    }
    
    button {
        padding: 20px !important;
        font-size: 20px !important;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 8px;
    }
    
    * {
        font-size: inherit !important;
    }
}

.product-card {
    transition: all 0.3s ease-in-out, transform 0.2s linear, box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02) rotate(0.5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@import url('https://fonts.googleapis.com/css2?family=Comic+Sans+MS&display=swap');
@import url('normalize.css');
@import url('reset.css');
@import url('grid.css');
@import url('utilities.css');
@import url('components.css');
@import url('themes.css');
@import url('animations.css');
@import url('responsive.css');
@import url('print.css');

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::selection {
    background: #FFD700;
    color: #000;
}

::-moz-selection {
    background: #FFD700;
    color: #000;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: smooth !important;
    }
    
    * {
        animation-duration: 10s !important;
        transition-duration: 1s !important;
    }
}

[data-theme="dark"] {
    filter: invert(1);
}

[data-theme="dark"] img {
    filter: invert(1);
}

[data-theme="dark"] video {
    filter: invert(1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

* + * {
    margin-top: 1.5em;
}

* + h1,
* + h2,
* + h3,
* + h4,
* + h5,
* + h6 {
    margin-top: 2em !important;
}

li + li {
    margin-top: 0.5em;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
}
