.pynman-search-form {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.pynman-search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 10px 8px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0);
    gap: 10px;
}

.pynman-search-left-icon {
    font-size: 26px;
    line-height: 1;
    color: #1c1c1c;
    transform: rotate(-20deg);
}

.pynman-search-box input {
    flex: 1;
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: #f0f0f0;
    color: #222;
    border-radius: 999px;
    min-height: 54px;
    padding: 0 22px;
    font-size: 16px;
    box-shadow: none !important;
}

.pynman-search-box button {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: #111;
    cursor: pointer;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.pynman-search-box button:hover {
    transform: scale(1.04);
    opacity: 0.8;
}

.pynman-results-header {
    margin: 35px 0 20px;
}

.pynman-results-header h1,
.pynman-results-header h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.pynman-results-header p,
.pynman-catalog-message,
.pynman-catalog-error {
    font-size: 16px;
    color: #555;
    padding-top: 30px;
    padding-left: 30px;
}

.pynman-catalog-error {
    color: #9b1c1c;
}

.pynman-product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
}

.pynman-product-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    background: #ffffff;
    border: 0px solid #e7e7e7;
    border-radius: 14px;
    padding: 0px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.0);
}

.pynman-product-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.pynman-product-card h3 a,
.pynman-product-card-side a,
.pynman-back-link {
    color: #1e56d9;
    text-decoration: none;
}

.pynman-product-card h3 a:hover,
.pynman-product-card-side a:hover,
.pynman-back-link:hover {
    text-decoration: underline;
}

.pynman-product-card p {
    margin: 0;
    color: #555;
}

.pynman-product-card-side {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    text-align: right;
}

.pynman-view-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #2f61d8;
    color: #ffffff !important;
    padding: 9px 18px;
    font-weight: 600;
    text-decoration: none !important;
}

.pynman-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pynman-pagination a,
.pynman-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dddddd;
    text-decoration: none;
    color: #222;
}

.pynman-pagination .current {
    background: #111;
    color: #ffffff;
    border-color: #111;
}

.pynman-product-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: clamp(24px, 5vw, 48px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.0);
}

.pynman-product-detail h1 {
    margin: 18px 0 24px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.05;
}

.pynman-product-detail h2 {
    margin-top: 32px;
    font-size: 22px;
}

.pynman-product-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.pynman-product-meta > div {
    background: #f6f6f6;
    border-radius: 12px;
    padding: 16px;
}

.pynman-product-meta span {
    display: block;
    color: #777;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .pynman-product-card {
        flex-direction: column;
    }

    .pynman-product-card-side {
        align-items: flex-start;
        text-align: left;
        min-width: 0;
    }

    .pynman-product-meta {
        grid-template-columns: 1fr;
    }

    .pynman-search-box {
        border-radius: 14px;
    }

    .pynman-search-box input {
        font-size: 14px;
        min-height: 48px;
    }
}

#pynman-loading {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.85);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#pynman-loading.is-active {
    display: flex !important;
}

.pynman-loading-text{
    margin-top:20px;
    font-size:18px;
    font-weight:600;
    color:#333;
    transition:opacity .25s ease;
}

.pynman-product-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:30px;
    max-width:900px;
}

.pynman-product-info{
    display:block;
    margin-top:25px;
}

.pynman-product-info p{
    display:block;
    width:100%;
    margin:0 0 15px 0;
    line-height:1.6;
}

.pynman-product-info strong{
    font-weight:700;
}

.pynman-search-form-mini {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 420px;
}

.pynman-search-form-mini input {
    height: 38px;
    border: 0;
    border-radius: 0;
    padding: 0 12px;
    font-size: 14px;
    margin: 0 !important;
}

.pynman-search-form-mini button {
    height: 38px;
    width: 42px;
    border: 0;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
}