/*
Theme Name: KobatoStore
Author: GurameSoft
Description: Tema propio de KobatoStore para WooCommerce.
Version: 1.0.0
Text Domain: kobatostore
*/

:root {
    --kobato-red: #c02739;
    --kobato-white: #ffffff;
    --kobato-black: #171717;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--kobato-white);
    color: var(--kobato-black);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.site-container {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header,
.site-footer {
    background: var(--kobato-red);
    color: var(--kobato-white);
}

.site-header__inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
}

.site-main {
    min-height: 60vh;
    padding-block: 48px;
}

.site-footer {
    padding-block: 32px;
}

@media (max-width: 760px) {
    .site-header__inner {
        padding-block: 16px;
        flex-direction: column;
    }

    .site-nav ul {
        justify-content: center;
        gap: 12px 18px;
    }
}

.site-header__inner {
    min-height: 112px;
}

.site-search {
    display: flex;
    flex: 1;
    max-width: 520px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.site-search input {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    border: 0;
    outline: 0;
    font: inherit;
}

.site-search button {
    padding: 12px 18px;
    border: 0;
    background: #171717;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.site-header__actions {
    display: flex;
    gap: 16px;
    white-space: nowrap;
}

.site-header__actions a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.site-nav {
    background: rgba(0, 0, 0, 0.13);
}

.site-nav ul {
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.site-nav a {
    display: block;
    padding-block: 12px;
}

.kobato-hero {
    background: var(--kobato-red);
    color: #fff;
}

.kobato-hero__inner {
    min-height: 360px;
    display: flex;
    align-items: center;
    padding-block: 55px;
}

.kobato-hero h1 {
    max-width: 720px;
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
}

.kobato-hero p {
    max-width: 550px;
    font-size: 18px;
    line-height: 1.5;
}

.kobato-eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.kobato-button {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
}

.kobato-button--white {
    background: #fff;
    color: var(--kobato-red);
}

.kobato-section {
    padding-block: 55px;
}

.kobato-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.kobato-section__heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
}

.kobato-section__heading a {
    color: var(--kobato-red);
    font-weight: 700;
}

.kobato-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.kobato-category {
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
}

.kobato-category__image {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: #f6f6f6;
}

.kobato-category__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kobato-category__image span {
    color: var(--kobato-red);
    font-size: 60px;
}

.kobato-category h3 {
    margin: 14px 8px;
    font-size: 17px;
}

.kobato-highlight {
    padding-block: 65px;
    background: var(--kobato-red);
    color: #fff;
    text-align: center;
}

.kobato-highlight h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 760px) {
    .site-header__inner {
        align-items: stretch;
    }

    .site-logo {
        align-self: center;
    }

    .site-search {
        max-width: none;
        flex: auto;
    }

    .site-header__actions {
        justify-content: center;
    }

    .kobato-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kobato-hero__inner {
        min-height: 300px;
    }

    .site-footer__inner {
        flex-direction: column;
    }
}