/* CHECKOUT PAGE */

.checkout-page{
padding:120px 24px 160px;

padding-bottom:calc(160px + env(safe-area-inset-bottom));
}

/* PRODUCT */


.checkout-image-wrap{

width:58%;

border-radius:32px;

overflow:hidden;

background:#111;

display:flex;

justify-content:center;

align-items:center;

}


.checkout-product{

max-width:900px;

margin:0 auto 60px;

}

@media (min-width: 769px){

.checkout-product{

display:flex;

align-items:flex-start;

justify-content:flex-start;

gap:90px;

max-width:1700px;

margin:0 auto;

padding:0 40px;

}

.checkout-product-image{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:32px;
}

.checkout-title{

font-family:'Cormorant Garamond', serif;

font-size:4.5rem;

line-height:1.05;

font-style:italic;

font-weight:500;

letter-spacing:-0.5px;

color:#f5f7fa;

margin-bottom:26px;

max-width:95%;

text-shadow:
0 0 1px rgba(255,255,255,0.35),
0 0 12px rgba(255,255,255,0.05);

-webkit-font-smoothing:antialiased;

text-rendering:geometricPrecision;
}

.checkout-price{

font-family:'Bodoni Moda', serif;

font-size:4rem;

font-weight:200;

letter-spacing:2px;

line-height:1;

color:#f5f5f5;

margin-bottom:18px;

-webkit-font-smoothing:antialiased;

text-rendering:geometricPrecision;
}

.checkout-meta{
font-size:16px;
color:#9a9a9a;
line-height:1.9;
}

.discount-message{

font-size:12px;

letter-spacing:0.4px;

line-height:1.7;

color:#8f959c;

margin-top:6px;

margin-bottom:18px;
}

/* DIVIDER */

.divider{
height:1px;
background:#1b1b1b;
margin:42px 0;
}

/* SECTION */

.section-title{
font-size:15px;
letter-spacing:4px;
color:#8d8d8d;
margin-bottom:22px;
}

/* INPUTS */

.checkout-input{
width:100%;
height:58px;

background:#0d0d0d;

border:1px solid #1d1d1d;
border-radius:18px;

padding:0 18px;

color:#f5f7fa;
font-size:16px;

margin-bottom:18px;

outline:none;
}

.checkout-input::placeholder{
color:#6e6e6e;
}

.checkout-input:focus{
border-color:#5e646b;

box-shadow:
0 0 0 1px rgba(255,255,255,0.04),
0 0 18px rgba(255,255,255,0.03);
}

.error-message{

display:none;

color:#ff4d4d;

font-size:13px;

margin-top:-10px;

margin-bottom:18px;

padding-left:6px;
}

.checkout-input:invalid:not(:placeholder-shown)
+ .error-message{

display:block;
}

.phone-wrapper{

position:relative;

width:100%;
}

.country-code{

position:absolute;

left:16px;

top:20px;

font-size:16px;

color:#9f9f9f;

z-index:2;

line-height:1;
}

.phone-input{

padding-left:50px;
}

.phone-wrapper:has(input:invalid:not(:placeholder-shown))
+ .error-message{

display:block;
}

/* SUMMARY */

.summary-row{
display:flex;
justify-content:space-between;
align-items:center;

margin-bottom:18px;

font-size:16px;
}

.summary-total{
margin-top:28px;
padding-top:28px;

border-top:1px solid #1b1b1b;

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

/* BUTTON */

.complete-btn{
width:100%;
height:66px;

border:none;
border-radius:60px;

background:linear-gradient(
180deg,
#f4f4f4 0%,
#bdbdbd 55%,
#ededed 100%
);

color:#050505;

font-size:20px;
font-weight:500;

margin-top:38px;

cursor:pointer;

transition:0.2s;
}

.complete-btn:hover{
opacity:0.96;
}

.complete-btn:active{
transform:scale(0.985);
}

/* AUTOFILL */

input:-webkit-autofill{
-webkit-box-shadow:0 0 0 1000px #0d0d0d inset;
-webkit-text-fill-color:#f5f7fa;
}}

@media (max-width:768px){

.checkout-product{
display:block;
padding:0;
}

.checkout-image-wrap{
width:100%;
aspect-ratio:1/1;
overflow:hidden;
border-radius:32px;
background:#111;
}

.checkout-product-image{
width:100%;
aspect-ratio:1/1;
height:auto;
display:block;
object-fit:cover;
border-radius:32px;
}

.checkout-title{
font-size:34px;
line-height:1.05;
}

.checkout-price{
font-size:26px;
}

}