/*
Theme Name: HYUNKIA
Theme URI: https://hyunkia.com/
Author: HYUNKIA AUTO PARTS
Description: Tema de bloques ligero para la tienda de repuestos HYUNKIA AUTO PARTS.
Version: 0.7.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: hyunkia
*/

:root {
    --hyunkia-navy: #0b1f35;
    --hyunkia-blue: #0e5ca8;
    --hyunkia-cyan: #25a9e0;
    --hyunkia-red: #d62839;
    --hyunkia-red-dark: #a91f2d;
    --hyunkia-surface: #f5f7fa;
}

html {
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-underline-offset: 0.18em;
}

.hyunkia-site-header {
    box-shadow: 0 1px 0 rgba(11, 31, 53, 0.1);
    position: relative;
    z-index: 10;
}

.hyunkia-hero {
    background: linear-gradient(135deg, var(--hyunkia-navy), #123f6b);
    border-radius: 1.25rem;
    color: #fff;
    overflow: hidden;
}

.hyunkia-oem-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hyunkia-oem-form input[type="search"] {
    border: 0;
    border-radius: 0.6rem;
    flex: 1 1 18rem;
    font: inherit;
    min-height: 3.25rem;
    padding: 0 1rem;
}

.hyunkia-oem-form button {
    background: var(--hyunkia-cyan);
    border: 0;
    border-radius: 0.6rem;
    color: var(--hyunkia-navy);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 3.25rem;
    padding: 0 1.5rem;
}

.hyunkia-product-identity {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.4rem;
    margin: 0.35rem 0;
}

.hyunkia-product-origin,
.hyunkia-product-sku {
    background: #e9f1f8;
    border-radius: 999px;
    color: var(--hyunkia-navy);
    padding: 0.2rem 0.55rem;
}

.hyunkia-product-origin {
    background: #dff4fc;
    font-weight: 700;
}

.hyunkia-product-stock {
    color: #357048;
    display: grid;
    flex-basis: 100%;
    font-size: 0.76rem;
    gap: 0.15rem;
}

.hyunkia-product-stock strong { font-weight: 750; }
.hyunkia-product-stock small { font-size: inherit; }
.hyunkia-product-stock.is-unavailable { color: #8a3b43; }
.hyunkia-product-stock a { color: var(--hyunkia-blue); font-weight: 750; }

@media (max-width: 700px) {
    .hyunkia-site-header .wp-block-group {
        align-items: flex-start;
    }

    .hyunkia-hero {
        border-radius: 0.85rem;
    }
}
