/*
Theme Name: ZooPro Engine
Author: ZooPro Team
Description: ZooProClub
Version: 1.91
*/

:root {

    --btn-bg: #111;
    --btn-bg-hover: #1b50ac;

    --btn-text: #fff;

    --input-border: #4b5563;
    --input-focus: #1b50ac;

    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --card-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

html {
  scroll-behavior: smooth;
}

/* =========================
   FOR IOS SAFARI
========================= */

input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 0;
    box-sizing: border-box;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.5em;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* =========================
   MENU
========================= */

.menu-item {
    position: relative;
    list-style: none;
}

.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* DESKTOP ARROW */
.menu-item-has-children > a::after {

    content: "⌄";

    font-size: 11px;

    opacity: .6;

    margin-left: 2px;
}

/* =========================
   DESKTOP SUBMENU
========================= */

.sub-menu {

    position: absolute;

    top: calc(100% + 14px);
    left: 0;

    min-width: 240px;

    padding: 14px;

    background: rgba(255,255,255,.92);

    backdrop-filter: blur(22px);

    border: 1px solid rgba(0,0,0,.06);

    border-radius: 24px;

    box-shadow: 0 20px 60px rgba(0,0,0,.08);

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition: all .18s ease;

    z-index: 50;
}

/* SHOW ON HOVER */
.menu-item-has-children:hover > .sub-menu {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* SUBMENU LINKS */

.sub-menu li a {

    display: block;

    padding: 12px 14px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 600;

    color: #1f2937;

    transition: all .15s ease;
}

.sub-menu li a:hover {

    background: #f5f5f5;

    transform: translateX(2px);
}

/* LOGO */

.custom-logo {
    height: 60px;
    width: auto;
}

/* =========================
   MOBILE MENU
========================= */

@media (max-width: 768px) {

    .sub-menu {

        position: static;

        min-width: auto;

        padding: 10px 0 0 14px;

        margin-top: 10px;

        background: transparent;

        border: none;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;

        flex-direction: column;

        gap: 10px;
    }

    /* OPEN */

    .menu-item-has-children.active > .sub-menu {
        display: flex;
    }

    /* MOBILE LINKS */

    .sub-menu li a {

        padding: 4px 0;

        border-radius: 0;

        font-size: 15px;

        font-weight: 600;

        color: #4b5563;
    }

    .sub-menu li a:hover {

        background: transparent;

        transform: none;

        color: #111827;
    }

    /* MOBILE PLUS */

    .menu-item-has-children > a::after {

        content: "+";

        font-size: 20px;

        margin-left: auto;

        transition: transform .2s ease;
    }

    .menu-item-has-children.active > a::after {

        transform: rotate(45deg);
    }
}

/* =========================
   CONTENT
========================= */

.prose p {

    font-size: 15.5px;

    line-height: 1.8;

    color: #374151;

    margin-bottom: 16px;

    letter-spacing: 0.1px;
}

.prose h2 {

    font-size: 20px;

    font-weight: 700;

    margin-top: 28px;

    margin-bottom: 12px;

    color: #111827;
}

.prose h3 {

    font-size: 17px;

    font-weight: 600;

    margin-top: 20px;

    margin-bottom: 10px;
}

/* UM MOBILE BUTTONS */

@media (max-width: 768px) {

    .um .um-button,
    .um input[type=submit].um-button {

        background: #111 !important;
        color: #fff !important;

        border: none !important;

        border-radius: 999px !important;

        padding: 14px 22px !important;

        font-weight: 600 !important;

        transition: .2s ease;
    }

    .um .um-button:hover,
    .um input[type=submit].um-button:hover {

        background: #1b50ac !important;
        color: #fff !important;
    }
}

textarea.autoheight {
    resize: none;
    overflow-y: hidden;
    box-sizing: border-box;
}