﻿.product-pdf {
    width: 100%;
    height: 100vh;
    display: flex;
    background: #fff6fa;
}

.product-pdf-left {
    flex: 1;
    min-width: 0;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid #f3d9e5;
}

.product-pdf-left iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #ffffff;
}

.product-pdf-right {
    width: 420px;
    height: 100vh;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: -8px 0 28px rgba(232, 134, 174, 0.14);
    padding: 28px 28px 36px;
    box-sizing: border-box;
}

.product-pdf-right .logo {
    margin-bottom: 22px;
}

.product-pdf-right .logo img {
    width: 132px;
    max-width: 100%;
    height: auto;
    display: block;
}

.product-pdf-right h1 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.35;
    color: #111827;
    font-weight: 700;
    word-break: break-word;
}

.product-pdf-desc {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 24px;
    background: #fff7fb;
    border: 1px solid #f4cfe0;
    border-radius: 14px;
}

.product-pdf-desc-left {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f3d9e5;
    border-radius: 12px;
    overflow: hidden;
}

.product-pdf-desc-left img {
    max-width: 78px;
    max-height: 78px;
    width: auto !important;
    height: auto;
    display: block;
}

.product-pdf-desc-right {
    flex: 1;
    min-width: 0;
}

.product-pdf-desc-right a {
    display: inline-block;
    margin-bottom: 8px;
    color: #e886ae;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.product-pdf-desc-right a:hover {
    color: #d96f9b;
    text-decoration: underline;
}

.product-pdf-desc-right em {
    display: block;
    font-style: normal;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.product-pdf-right h2 {
    position: relative;
    margin: 0 0 18px;
    padding-left: 12px;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
    font-weight: 700;
}

.product-pdf-right h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 22px;
    background: #e886ae;
    border-radius: 4px;
}

.products-pdf-form-box {
    width: 100%;
}

.products-pdf-form-box dl {
    margin: 0 0 14px;
}

.products-pdf-form-box dt {
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.4;
    color: #374151;
    font-weight: 600;
}

.products-pdf-form-box dd {
    margin: 0;
}

.products-pdf-form-box .red {
    color: #ff3b30;
    margin-left: 3px;
}

.products-pdf-form-box .form-control {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid #ead4df;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    padding: 0 13px;
    outline: none;
    transition: all .2s ease;
}

.products-pdf-form-box .form-control:focus {
    border-color: #e886ae;
    box-shadow: 0 0 0 3px rgba(232, 134, 174, 0.18);
}

.products-pdf-form-box textarea.form-control {
    height: 88px;
    line-height: 1.5;
    padding: 11px 13px;
    resize: vertical;
}

.products-pdf-form-box select.form-control {
    cursor: pointer;
}

.btn-default {
    width: 100%;
    height: 46px;
    margin-top: 6px;
    border: 0;
    border-radius: 12px;
    background: #e886ae;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 10px 22px rgba(232, 134, 174, 0.28);
}

.btn-default:hover {
    background: #d96f9b;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(232, 134, 174, 0.35);
}

.pdf-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7fb;
    color: #64748b;
    font-size: 16px;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
    .product-pdf {
        display: block;
        height: auto;
    }

    .product-pdf-left {
        width: 100%;
        height: 65vh;
        border-right: 0;
        border-bottom: 1px solid #f3d9e5;
    }

    .product-pdf-right {
        width: 100%;
        height: auto;
        overflow: visible;
        box-shadow: none;
        padding: 24px 18px 32px;
    }
}

@media screen and (max-width: 480px) {
    .product-pdf-left {
        height: 58vh;
    }

    .product-pdf-right h1 {
        font-size: 21px;
    }

    .product-pdf-desc {
        align-items: flex-start;
    }

    .product-pdf-desc-left {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .product-pdf-desc-left img {
        max-width: 68px;
        max-height: 68px;
    }
}