@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;800&display=swap');

::-webkit-scrollbar {width: 5px !important;}

::-webkit-scrollbar-thumb {background: #fff; }

/* Track */
::-webkit-scrollbar-track {background: #ea633d; }

.pi-form-container {
    max-width: 400px;
    font-family: 'Montserrat', sans-serif;
}

.pi-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.pi-field-group {
    position: relative;
    margin-bottom: 1rem;
}

.pi-field-group textarea,
.pi-field-group input {
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 1.2rem 1rem 0.6rem;
    font-size: 1rem;
    background: #fff;
    resize: none;
}

.pi-field-group label {
    position: relative;
    top: 1rem;
    left: 1rem;
    font-size: 0.9rem;
    color: #999;
    transition: all 0.2s ease;
}

.pi-field-group input:focus + label,
.pi-field-group textarea:focus + label,
.pi-field-group input:not(:placeholder-shown) + label,
.pi-field-group textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 1rem;
    background: #f9f9f9;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    color: #555;
}

.pi-btn {
    background: #111;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 800;
    transition: background 0.3s ease;
}

.pi-btn:hover {
    background: #333;
}

.pi-thanks {
    margin-top: 1rem;
    font-size: 1rem;
    color: #2a7;
    font-weight: 600;
    text-align: center;
}

.pi-preview {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
}

.pi-preview-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

.pi-preview-blockquote {
    display: none;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 2rem;
    text-align: center;
    background-color: #eee;
}

.pi-color-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.pi-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.pi-color-swatch input {
    opacity: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.pi-color-swatch input {
    display: none;
}

.pi-carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.pi-carousel {
    display: flex;
    gap: 1.5rem;
    padding-left: 2rem;
}

.pi-slide {
    width: 260px;
    max-width: 100%;
    height: 350px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    background-color: #fff;
    color: #000;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
    .pi-slide {
        width: 260px;
    }
}

.pi-slide-phrase {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pi-slide-nom {
    font-weight: 400;
    font-size: 0.9rem;
    color: #fff;
}
