/* Custom orders (/prices/): the packs side by side, the single designs in a
   grid, then the contact form. Shares packs.css (head) and
   portfolio-pages.css (buttons). */

.pr-status{
    background: #4ec04e;
}

.pr-status.is-closed{
    background: #ff6b6b;
}

.pr-section{
    margin-top: 36px;
}

.pr-section-head{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.pr-title{
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.pr-ex{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--c);
}

.pr-ex:after{
    content: "→";
}

.pr-ex:hover{
    color: #fff;
}

/* The packs */
/* Aligned packs: the same height, room kept for a two-line title and the
   note, so prices and lists start at the same height */
.pr-packs{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pr-pack{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid #1d2329;
    border-radius: 12px;
    background: #111315;
}

.pr-pack.is-pro{
    border-color: transparent;
    background: linear-gradient(#111315, #111315) padding-box, linear-gradient(135deg, #8f6bff, #d052d8, #ff7a6b) border-box;
}

.pr-pack h3{
    min-height: 44px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #fff;
}

.pr-sub{
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    color: #8a97a3;
}

.pr-price{
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.pr-pack.is-pro .pr-price{
    width: fit-content;
    background: linear-gradient(90deg, #8f6bff, #d052d8, #ff7a6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pr-note{
    min-height: 36px;
    font-size: 12.5px;
    color: #8a97a3;
}

.pr-pack ul{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #1d2329;
    list-style: none;
}

.pr-pack li{
    display: flex;
    gap: 9px;
    font-size: 14px;
    line-height: 20px;
    color: #e6e6e6;
}

.pr-ck{
    flex: none;
    margin-top: 3px;
    color: var(--c);
}

.pr-pack small{
    font-size: 12.5px;
    color: #8a97a3;
}

/* The single designs: a light list in two columns, the name and its words on
   the left, the price on the right, a thin line between them */
.pr-services{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
}

.pr-svc{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    align-content: start;
    column-gap: 16px;
    row-gap: 1px;
    padding: 9px 0;
    border-bottom: 1px solid #1a1f24;
}

.pr-svc h3{
    grid-column: 1;
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;
}

.pr-svc-price{
    grid-column: 2;
    grid-row: 1;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    background: linear-gradient(90deg, #a98bff, #d97be0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Always two lines: the name and price, then the words on one line */
.pr-svc p{
    grid-column: 1 / -1;
    margin: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 17px;
    color: #8a97a3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Contact: Maud's portrait on the left with a hello, a clean form on the
   right (underlined fields, the topic as tabs) */
.pr-contact{
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    margin-top: 40px;
    overflow: hidden;
    border: 1px solid #1d2329;
    border-radius: 20px;
    background: #08090b;
    scroll-margin-top: 56px;
}

.pr-portrait{
    position: relative;
    min-height: 520px;
}

.pr-portrait img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Darker at the bottom for the words, a touch of her gradient */
.pr-portrait:after{
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(8, 9, 11, .96) 8%, rgba(8, 9, 11, .15) 58%),
        linear-gradient(130deg, rgba(143, 107, 255, .32), rgba(255, 122, 107, .18));
}

.pr-portrait-text{
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 1;
}

.pr-hi{
    display: inline-block;
    font-family: "Caveat", cursive;
    font-weight: 600;
    padding-right: 8px;
    font-size: 44px;
    line-height: 1.05;
    background: linear-gradient(90deg, #a98bff, #d97be0, #ff8a7b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pr-portrait-text p{
    margin: 10px 0 0;
    font-size: 14.5px;
    line-height: 23px;
    color: #d4d9de;
}

.pr-form{
    display: flex;
    flex-direction: column;
    padding: 44px 48px 40px;
}

.pr-form-title{
    margin: 0 0 22px;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.pr-form-title b{
    font-weight: 600;
    background: linear-gradient(90deg, #8f6bff, #d052d8, #ff7a6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#contact-form{
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pr-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.pr-field{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pr-label{
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8a97a3;
}

/* The topic as tabs, the chosen one underlined */
.pr-topics{
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    border-bottom: 1px solid #1a1f24;
}

.pr-topic{
    margin-bottom: -1px;
    padding: 0 0 9px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: #8a97a3;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease;
}

.pr-topic:hover{
    color: #fff;
}

.pr-topic[aria-checked="true"]{
    border-bottom-color: #d052d8;
    color: #fff;
    font-weight: 600;
}

/* The real select stays for the form and the script, out of sight */
#contact-form #id_project_type{
    display: none;
}

/* Underlined fields */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0 10px;
    border: 0;
    border-bottom: 1px solid #2a323a;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .18s ease;
}

#contact-form textarea{
    min-height: 120px;
    resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus{
    outline: none;
    border-bottom-color: #d052d8;
}

#contact-form ::placeholder{
    color: #5f6b76;
}

/* Only robots fill it */
#contact form #id_website{
    display: none;
}

/* Lost files: no message needed, a note in its place, same size */
#message-field{
    position: relative;
}

#message-field.is-off .pr-field{
    visibility: hidden;
}

.pr-lost-note{
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    margin: 0;
    color: #c4cad0;
    font-size: 14px;
    line-height: 22px;
}

#message-field.is-off .pr-lost-note{
    display: flex;
}

.pr-send{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin-top: 4px;
}

.pr-send-note{
    font-size: 12.5px;
    color: #8a97a3;
}

#contact-form .logo-order-btn{
    border: 0;
    background: linear-gradient(90deg, #8f6bff, #d052d8, #ff7a6b);
    font-family: inherit;
    cursor: pointer;
}

#contact-form .errorlist{
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: #ff8a8a;
}

.pr-sent{
    display: flex;
    align-items: center;
    flex: 1;
}

.pr-sent img{
    display: none;
}

.pr-sent p{
    margin: 0;
    font-size: 16px;
    color: #4ec04e;
}

@container packs (max-width: 1010px){
    .pr-packs{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pr-services{
        column-gap: 32px;
    }


    .pr-contact{
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

@container packs (max-width: 620px){
    .pr-services{
        grid-template-columns: 1fr;
    }

    .pr-pack .pr-note:empty{
        display: none;
    }

    .pr-pack h3{
        min-height: 0;
    }

    .pr-packs,
    .pr-services,
    .pr-row{
        grid-template-columns: 1fr;
    }

    .pr-contact{
        grid-template-columns: 1fr;
    }

    .pr-portrait{
        min-height: 440px;
    }

    .pr-form{
        padding: 28px 22px;
    }
}

/* A narrower page, easier to read, its title where the others are */
.prices-page .packs-inner{
    max-width: 1120px;
}
