/*
Theme Name: PatchBaza
Theme URI: https://patchbaza.com.ua
Author: PatchBaza
Description: Lightweight custom WooCommerce theme for PatchBaza.
Version: 0.3.3
Text Domain: patchbaza
*/
/* ===== PATCHBAZA: PREMIUM CATEGORIES ===== */

.pb-categories {
    padding: 28px 0 34px;
    background: #f3f1ea;
}

.pb-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.pb-category-card {
    position: relative;
    min-height: 112px;
    padding: 18px 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.08)),
        #10110f;
    border: 1px solid rgba(111, 122, 63, 0.28);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    overflow: hidden;
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.pb-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top,
            rgba(126, 139, 70, 0.16),
            transparent 55%
        );
    opacity: 0;
    transition: opacity .22s ease;
}

.pb-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 139, 70, 0.75);
    box-shadow: 0 14px 28px rgba(0,0,0,0.16);
    background: #151712;
}

.pb-category-card:hover::before {
    opacity: 1;
}

.pb-category-icon {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(126, 139, 70, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    background: rgba(126, 139, 70, 0.08);
    color: #a7b36d;
    transition: transform .22s ease, background .22s ease;
}

.pb-category-card:hover .pb-category-icon {
    transform: scale(1.08);
    background: rgba(126, 139, 70, 0.16);
}

.pb-category-title {
    position: relative;
    z-index: 2;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

/* Tablet */
@media (max-width: 1100px) {
    .pb-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: 2 in a row */
@media (max-width: 700px) {
    .pb-categories {
        padding: 20px 0 26px;
    }

    .pb-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pb-category-card {
        min-height: 96px;
        padding: 14px 10px;
        border-radius: 8px;
    }

    .pb-category-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .pb-category-title {
        font-size: 11px;
    }
}
/* PATCHBAZA — більші категорії */

.pb-category-icon {
    font-size: 30px !important;
    width: 52px !important;
    height: 52px !important;
}

.pb-category-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

.pb-category-card {
    min-height: 125px !important;
}
/* ===== MOBILE PATCHBAZA ===== */
@media (max-width: 768px) {

    /* Повністю прибираємо дошку з патчами */
    .hero-visual {
        display: none !important;
    }
}
}

/* ===== PATCHBAZA MOBILE HERO ===== */

@media (max-width: 768px) {

    /* Головний заголовок */
    .hero h1 {
        font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif !important;
        font-size: clamp(46px, 13vw, 64px) !important;
        line-height: 0.92 !important;
        letter-spacing: -2px !important;
        font-weight: 900 !important;
        text-transform: uppercase;
        margin-bottom: 18px !important;
    }

    /* Слоган */
    .hero h2 {
        font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif !important;
        font-size: 25px !important;
        line-height: 1.05 !important;
        font-weight: 800 !important;
        letter-spacing: -0.5px !important;
        text-transform: uppercase;
    }

    /* Маленький текст зверху */
    .hero .eyebrow {
        font-size: 12px !important;
        font-weight: 800 !important;
        letter-spacing: .6px !important;
    }

    /* Опис */
    .hero p {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    /* Дві кнопки в один ряд */
    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-actions a {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        height: 54px !important;
        padding: 0 10px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 13px !important;
        font-weight: 900 !important;
        letter-spacing: .2px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}
