/* =========================
   PRODUCT DETAIL
========================= */

.product-detail{
    padding:24px 0 70px;
}

.product-breadcrumb{
    margin-bottom:22px;

    color:#8a9484;

    font-size:12px;
}

.product-breadcrumb a{
    color:#8a9484;
}

.product-detail__grid{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:36px;

    align-items:start;
}

/* =========================
   GALLERY
========================= */

.product-detail__gallery img{
    width:100%;

    border-radius:12px;

    display:block;
}

.product-detail__gallery small{
    display:block;

    margin-top:10px;

    color:#8a9484;

    font-size:11px;
}

/* =========================
   CONTENT
========================= */

.product-detail__category{
    margin-bottom:10px;

    color:var(--color-primary);

    font-size:11px;
    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;
}

.product-detail__content h1{
    margin-bottom:18px;

    font-size:36px;
    line-height:1.05;
}

.product-detail__intro{
    margin-bottom:20px;

    color:var(--color-text-light);

    font-size:15px;
    line-height:1.7;
}

/* =========================
   PARAMETERS
========================= */

.product-detail__params{
    display:grid;
    grid-template-columns:1fr 1fr;

    margin-bottom:22px;

    overflow:hidden;

    border-radius:8px;

    background:#f3ebcf;
}

.product-param{
    padding:16px 18px;
}

.product-param span{
    display:block;

    margin-bottom:6px;

    color:#6f766b;

    font-size:11px;
}

.product-param strong{
    font-size:17px;
    font-weight:700;
}

/* =========================
   PRICE
========================= */

.product-detail__price{
    margin-bottom:10px;

    font-size:28px;
    font-weight:700;
    line-height:1;
}

.product-detail__price-note{
    margin-bottom:18px;

    color:#6f766b;

    font-size:12px;
    line-height:1.6;
}

/* =========================
   CTA
========================= */

.product-detail__cta{
    display:flex;
    align-items:center;
    justify-content:space-between;

    height:52px;

    padding:0 20px;

    margin-bottom:14px;

    border-radius:8px;

    background:var(--color-primary-dark);

    color:#fff;

    font-size:14px;
    font-weight:600;

    transition:var(--transition);
}

.product-detail__cta:hover{
    background:#4f7819;
}

.product-detail__delivery{
    margin-bottom:16px;

    color:#6f766b;

    font-size:12px;
}

/* =========================
   SERVICE BOX
========================= */

.product-detail__service-box{
    padding:18px;

    border-radius:8px;

    background:#dce9b3;
}

.product-detail__service-box h3{
    margin-bottom:8px;

    font-size:14px;
}

.product-detail__service-box strong{
    display:block;

    margin-bottom:8px;

    font-size:13px;
}

.product-detail__service-box p{
    color:#5e6758;

    font-size:12px;
    line-height:1.5;
}
/* =========================
   ORDER SECTION
========================= */

.order-section{
    padding:80px 0;

    background:
    linear-gradient(
        90deg,
        #f5f6e8 0%,
        #dcebc1 100%
    );
}

.order-section__grid{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:80px;

    align-items:start;
}

/* =========================
   INFO COLUMN
========================= */

.order-info__label{
    margin-bottom:16px;

    color:var(--color-primary);

    font-size:11px;
    font-weight:700;

    letter-spacing:.1em;
    text-transform:uppercase;
}

.order-info h2{
    margin-bottom:20px;

    font-size:28px;
    line-height:1.1;
}

.order-info > p{
    margin-bottom:34px;

    color:#6f766b;

    font-size:14px;
    line-height:1.7;
}

.order-steps{
    display:flex;
    flex-direction:column;
    gap:24px;

    margin-bottom:36px;
}

.order-step{
    display:grid;
    grid-template-columns:34px 1fr;
    gap:14px;
}

.order-step span{
    color:var(--color-primary);

    font-size:14px;
    font-weight:700;
}

.order-step h3{
    margin-bottom:4px;

    font-size:15px;
    line-height:1.3;
}

.order-step p{
    color:#6f766b;

    font-size:12px;
    line-height:1.5;
}

.order-contact{
    margin-bottom:26px;
}

.order-contact__title{
    margin-bottom:10px;

    font-size:13px;
    font-weight:600;
}

.order-contact a{
    display:block;

    margin-bottom:6px;

    color:var(--color-primary-dark);

    font-size:26px;
    line-height:.95;
    font-weight:700;
}

.order-contact p{
    color:#6f766b;

    font-size:13px;
}

.order-note{
    color:#7b8475;

    font-size:12px;
    line-height:1.7;
}

/* =========================
   FORM WRAPPER
========================= */

.order-form-wrapper{
    background:#fff;

    border-radius:12px;

    padding:28px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.04);
}

.order-form h2{
    margin-bottom:22px;

    font-size:34px;
    line-height:1.1;
}

.order-form__product{
    display:flex;
    align-items:center;
    gap:14px;

    padding:16px;

    margin-bottom:22px;

    border-radius:8px;

    background:
    linear-gradient(
        110deg,
        #f3f6e5 0%,
        #e8f1d5 100%
    );
}

.order-form__product img{
    width:64px;
    height:64px;

    border-radius:6px;

    object-fit:cover;
}

.order-form__product strong{
    display:block;

    margin-bottom:3px;

    font-size:14px;
}

.order-form__product span{
    color:#6f766b;

    font-size:12px;
}

/* =========================
   FORM LAYOUT
========================= */

.order-form__row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.form-group{
    min-width:0;
    margin-bottom:16px;
}

.form-group label{
    display:block;

    margin-bottom:6px;

    font-size:13px;
    font-weight:600;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;

    min-height:56px;

    padding:0 14px;

    border:1px solid #d7ddd3;
    border-radius:6px;

    background:#fff;

    color:var(--color-text);

    font-size:14px;
}

.form-group textarea{
    min-height:140px;

    padding:14px;
    resize:vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline:none;

    border-color:var(--color-primary);
}

.form-group select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    padding-right:42px;

    background:
        #fff
        url("../assets/svg/chevron-down.svg")
        no-repeat
        right 14px center;

    background-size:12px;
}

.form-group select:hover{
    border-color:#a9c16d;
}

.form-group{
    position:relative;
}

.form-group--select::after{
    content:"⌄";

    position:absolute;

    right:16px;
    top:43px;

    pointer-events:none;

    color:#7b8475;
}

.field-error{
    margin-top:6px;

    color:#d63a3a;

    font-size:12px;
    line-height:1.4;

    overflow-wrap:break-word;
    word-break:break-word;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error{
    border-color:#d63a3a;
    background:#fff7f7;
}


/* =========================
   PICKUP OPTIONS
========================= */

.pickup-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.pickup-option{
    appearance:none;
    -webkit-appearance:none;

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:0;
    height:54px;

    padding:0 14px;

    border:1px solid #d7ddd3;
    border-radius:6px;

    background:#fff;

    color:var(--color-text);

    text-align:center;

    font-size:14px;
    font-weight:600;

    text-decoration:none;

    cursor:pointer;

    -webkit-tap-highlight-color:transparent;

    transition:var(--transition);
}

.pickup-option,
.pickup-option:link,
.pickup-option:visited,
.pickup-option:hover,
.pickup-option:active{
    color:var(--color-text);
}

.pickup-option.active{
    background:#e8f0d1;

    border-color:#a9c16d;

    color:var(--color-primary-dark);
}

.pickup-option:hover{
    border-color:#a9c16d;
}

/* =========================
   FORM FOOTER
========================= */

.order-form__gdpr{
    margin-bottom:18px;

    color:#7b8475;

    font-size:11px;
    line-height:1.6;
}

.order-form__submit{
    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;
    height:60px;

    padding:0 20px;

    border:none;
    border-radius:6px;

    background:var(--color-primary-dark);

    color:#fff;

    font-size:14px;
    font-weight:600;

    cursor:pointer;

    transition:var(--transition);
}

.order-form__submit:hover{
    background:#4f7819;
}

.order-form__footer{
    margin-top:14px;

    color:#7b8475;

    font-size:11px;
    line-height:1.6;
}

.honeypot{
    display:none;
}

/* =========================
   RELATED PRODUCTS
========================= */

.related-products{
    padding:70px 0;
}

.related-products__head{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:24px;
}

.related-products__head h2{
    font-size:32px;
    line-height:1.1;
}

.related-products__link{
    color:var(--color-primary-dark);

    font-size:14px;
    font-weight:600;
}

.related-products__grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

/* =========================
   BENEFITS
========================= */

.detail-benefits{
    padding:20px 0 70px;
}

.detail-benefits--standalone{
    padding:70px 0;
}

/* =========================
   PROGRESS
========================= */

.order-progress{
    height:6px;

    overflow:hidden;

    border-radius:999px;

    background:#cfe09b;
}

.order-progress__bar{
    width:35%;
    height:100%;

    background:#4c7f13;

    border-radius:999px;

    animation:
        progressMove 1.2s linear infinite;
}

/* =========================
   SUCCESS BOX
========================= */

.order-success-box{
    margin-bottom:24px;

    padding:26px;

    border-radius:8px;

    background:#d7e7b3;
}

.order-success-box strong{
    display:block;

    margin-bottom:12px;

    color:#2d3928;

    font-size:24px;
    font-weight:700;
}

.order-success-box span{
    color:#5f6757;

    font-size:16px;
}

/* =========================
   BUTTONS
========================= */

.order-modal__button{
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    height:64px;

    border:none;
    border-radius:8px;

    background:#487f09;

    color:#fff;

    font-size:16px;
    font-weight:700;

    text-decoration:none;

    cursor:pointer;

    transition:.2s;
}

.order-modal__button:hover{
    background:#3f7008;
}

.order-modal__secondary{
    display:flex;
    align-items:center;

    width:100%;
    height:64px;

    margin-top:18px;

    padding:0 20px;

    border-radius:8px;

    background:#e7dcc9;

    color:#32402d;

    font-size:16px;
    font-weight:700;

    text-decoration:none;
}

.order-modal__secondary:hover{
    background:#dfd0bc;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes modalIn{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes progressMove{

    from{
        transform:translateX(-120%);
    }

    to{
        transform:translateX(350%);
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .order-modal{
        padding:12px;
    }

    .order-modal__dialog{
        padding:22px;
    }

    .order-modal__close{
        position:static;

        width:100%;

        margin-bottom:24px;
    }

    .order-modal h2{
        font-size:34px;
    }

    .order-modal p{
        font-size:16px;
    }

    .order-success-box strong{
        font-size:20px;
    }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1200px){

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

    .order-section__grid{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    .related-products__grid{
        grid-template-columns:1fr;
    }

    .order-form__row{
        grid-template-columns:1fr;
    }

    .pickup-options{
        grid-template-columns:1fr;
    }

}

@media (max-width:576px){

    .product-detail{
        padding:12px 0 40px;
    }

    .product-detail__content h1{
        font-size:28px;
    }

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

    .product-detail__price{
        font-size:24px;
    }

    .order-section{
        padding:40px 0;
    }

    .order-info h2{
        font-size:24px;
    }

    .order-contact a{
        font-size:28px;
    }

    .order-form-wrapper{
        padding:14px;
    }

    .related-products{
        padding:40px 0;
    }

    .related-products__head{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .related-products__head h2{
        font-size:24px;
    }

    .detail-benefits{
        padding:0 0 30px;
    }

    .detail-benefits--standalone{
        padding:40px 0 30px;
    }

}