/* ============ TwinklingTree Checkout — pixel-perfect recreation ============ */
@font-face{font-family:'AvenirLTPro';src:url('assets/fonts/AvenirLTProRoman.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'AvenirLTPro';src:url('assets/fonts/AvenirLTProMedium.otf') format('opentype');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'AvenirLTPro';src:url('assets/fonts/AvenirLTProHeavy.otf') format('opentype');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'AvenirLTPro';src:url('assets/fonts/AvenirLTProHeavy.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap;}

*{margin:0;padding:0;box-sizing:border-box;}
html{}
body{font-family:'AvenirLTPro',sans-serif;color:#000;background:#fff;font-size:16px;line-height:1.5;}
img{display:block;max-width:100%;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
input,select{font-family:inherit;}
ul{list-style:none;}

/* ---------- layout ---------- */
.checkout{width:1710px;margin:0 auto;display:flex;align-items:stretch;}
.col-left{width:587px;margin-left:285px;margin-right:105px;padding-top:51px;padding-bottom:23px;}
.col-right{width:733px;background:#f5f5f5;padding:131px 226px 60px 59px;}
.col-right-inner{width:448px;}

/* ---------- header ---------- */
.header-img{width:239px;height:50px;margin:0 auto;}

/* ---------- express checkout ---------- */
.express-section{position:relative;margin-top:45px;margin-bottom:51px;}
.express{position:relative;border:1px solid #e0e0e0;border-radius:8px;padding:18px 22px 24px;}
.express-title{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);background:#fff;padding:0 14px;font-size:13px;font-weight:600;letter-spacing:0.52px;color:#292929;white-space:nowrap;}
.express-btns{display:flex;gap:10px;justify-content:center;}
.express-btns .xbtn{width:200px;height:40px;border-radius:8px;background-size:auto 20px;background-repeat:no-repeat;background-position:center;}
.xbtn.gpay{background-color:#000;background-image:url('assets/dark_gpay.svg');}
.xbtn.paypal{background-color:#ffc439;background-image:url('assets/1726678183139_paypal.svg');}
.express-or{position:absolute;bottom:0;left:50%;transform:translate(-50%,50%);background:#fff;padding:0 12px;font-size:14px;font-weight:600;color:#292929;}
.express-cc{text-align:center;font-size:14px;font-weight:700;color:#292929;margin-top:11px;line-height:14px;}

/* ---------- section headings ---------- */
.sec-title{font-size:20px;font-weight:700;line-height:26px;color:#292929;margin-bottom:20px;}
.section{margin-top:48px;}

/* ---------- form fields ---------- */
.field{width:100%;height:48px;border:1px solid #dedede;border-radius:8px;padding:12px 15px;font-size:15px;color:#000;background:#fff;outline:none;}
.field::placeholder{color:#757575;}
.field-row{display:flex;gap:14px;margin-top:16px;}
.field-row .field{flex:1;}
.row-names{display:grid;grid-template-columns:292px 1fr;gap:8px;}
.row-csz{gap:18px;}
.row-csz .select{padding-left:18px;}
.mt14{margin-top:16px;}
.field-wrap{position:relative;margin-top:16px;}
.field-wrap .field{margin-top:0;}
.field-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#9e9e9e;}
.cc-lock{position:absolute;right:15px;top:15px;width:16px;height:18px;}

/* custom select */
.select-wrap{position:relative;margin-top:16px;}
.select{width:100%;height:48px;border:1px solid #dedede;border-radius:8px;padding:6px 40px 7px 15px;font-size:14px;color:#000;background:#fff;-webkit-appearance:none;appearance:none;outline:none;}
.select-wrap::after{content:"";position:absolute;right:15px;top:22px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #757575;pointer-events:none;}
.select-wrap.bordered::before{content:"";position:absolute;right:38px;top:9px;bottom:9px;width:1px;background:#dedede;}

/* checkbox */
.check-row{display:flex;align-items:center;gap:9px;margin-top:20px;}
.cbox{width:18px;height:18px;border:1px solid #000;border-radius:4px;background:#000;flex:none;position:relative;}
.cbox::after{content:"";position:absolute;inset:0;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M3.6 8.4l2.9 2.9 6-6.6" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 12px 12px no-repeat;}
.check-row label{font-size:14px;font-weight:400;color:#737373;cursor:pointer;}

/* radios */
.radio{width:18px;height:18px;border-radius:50%;border:1px solid #b5b5b5;flex:none;position:relative;background:#fff;box-sizing:border-box;}
.radio.sel{border:6px solid #292929;}

/* ---------- shipping method ---------- */
.ship-opt{display:flex;align-items:center;gap:15px;height:48px;border:1px solid #d9d9d9;border-radius:8px;padding:0 16px;margin-top:0;}
.ship-opt label{font-size:14px;font-weight:500;color:#333;}
.upsell{display:flex;gap:10px;border:1px solid #ddd;border-radius:10px;padding:15px;margin-top:16px;position:relative;height:115px;}
.upsell-icon{width:56px;height:56px;flex:none;}
.upsell-body{flex:none;width:478px;}
.upsell-title{font-size:14px;font-weight:700;color:#333;line-height:21px;}
.upsell-price{font-size:12px;line-height:18px;margin-top:2px;}
.upsell-price .from{color:#707070;font-weight:400;}
.upsell-price .amt{color:#2a3e34;font-weight:500;}
.upsell-desc{font-size:12px;font-weight:400;line-height:18px;color:#707070;margin-top:6px;}
.upsell .cbox{position:absolute;top:20px;right:15px;}

/* ---------- payment (structure mirrors live: black border on HEADER only;
   body has grey #d9d9d9 side borders, no top/bottom; PayPal row closes the bottom) ---------- */
.pay-title{margin-bottom:0!important;}
.pay-sub{font-size:14px;font-weight:400;color:#292929;margin-top:0;margin-bottom:16px;}
.pm-head{display:flex;align-items:center;gap:13px;height:52px;padding:0 10px 0 14px;border:1px solid #000;border-radius:8px 8px 0 0;background:#f4f4f4;}
.pm-head label{font-size:14px;font-weight:500;color:#292929;}
.pm-head .radio{position:relative;top:-2px;}
.card-icons{margin-left:auto;display:flex;gap:5px;}
.card-icons img{width:38px;height:24px;}
.pm-body{border-left:1px solid #d9d9d9;border-right:1px solid #d9d9d9;background:#f4f4f4;padding:21px 16px 23px;display:flex;flex-direction:column;gap:16px;}
.pm-paypal{display:flex;align-items:center;gap:13px;height:52px;padding:0 19px 0 14px;border:1px solid #d9d9d9;border-radius:0 0 8px 8px;background:#fff;}
.pm-paypal label{font-size:14px;font-weight:500;color:#292929;}
.pm-paypal .radio{width:20px;height:20px;}
.pm-paypal .pp-logo{margin-left:auto;width:93px;height:auto;}
.pm-body .field-wrap{margin-top:0;}
.pm-body .field-row{margin-top:0;gap:16px;display:grid;grid-template-columns:1fr 1fr;}
.pm-body .field-row>*{min-width:0;}
.pm-body .check-row{margin-top:2px;margin-left:1px;gap:6px;}
.pm-body .check-row label{position:relative;top:2px;}

/* complete order */
.complete{display:flex;align-items:center;justify-content:center;gap:9px;width:300px;height:48px;background:#1b1b1b;border-radius:8px;color:#fff;font-size:15px;font-weight:700;text-transform:uppercase;margin:42px auto 0;position:relative;left:1px;}
.complete svg{width:20px;height:22px;}

/* footer */
.foot{border-top:1px solid #ebebeb;margin-top:56px;padding-top:23px;line-height:22px;text-align:center;font-size:13px;font-weight:400;color:#808080;}

/* ============ RIGHT COLUMN ============ */
.summary-title{font-size:20px;font-weight:700;line-height:26px;color:#292929;margin-bottom:30px;padding-left:4px;}
.order-items{display:flex;flex-direction:column;gap:32px;padding:0 5px;}
.oitem{display:flex;align-items:center;gap:19px;}
.order-items .oitem:nth-child(3){margin-top:8px;}
.othumb{width:68px;height:68px;border-radius:9px;flex:none;position:relative;object-fit:cover;}
.othumb-wrap{position:relative;flex:none;width:68px;height:68px;}
.oqty{position:absolute;top:-10px;right:-11px;width:25px;height:25px;border-radius:50%;background:#707070;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;}
.oinfo{flex:1;position:relative;}
.oitem:nth-child(1) .oinfo{top:2px;}
.oitem:nth-child(2) .oinfo{top:-3px;}
.oitem:nth-child(3) .oinfo{top:1px;}
.oitem:nth-child(1) .oprice{position:relative;top:-2px;}
.oitem:nth-child(2) .oprice{position:relative;top:-3px;}
.oitem:nth-child(3) .oprice{position:relative;top:-1px;}
.oname{font-size:16px;font-weight:500;line-height:20px;color:#323232;}
.ovar{font-size:12px;font-weight:400;line-height:18px;color:#757575;margin-top:9px;}
.oremove{font-size:11px;font-weight:400;color:#757575;text-decoration:underline;margin-top:14px;margin-bottom:-2px;margin-left:1px;display:inline-block;cursor:pointer;}
.oprice{font-size:16px;font-weight:400;color:#000;white-space:nowrap;margin-left:-5px;}

.divider{height:1px;background:#d9d9d9;margin:35px 0 6px;}
.divider.tight{margin:20px 0 3px;}
.totals{display:flex;flex-direction:column;padding:0 5px 0 3px;}
.trow{display:flex;justify-content:space-between;align-items:center;}
.totals.t1 .trow:nth-child(1) span{position:relative;top:7px;}
.totals.t1 .trow:nth-child(2) span{position:relative;top:8px;}
.totals.t1 .trow:nth-child(3) span{position:relative;top:5px;}
.trow.total>span{position:relative;top:7px;}

.totals .trow:nth-child(1){padding:7px 0 5px;}
.totals .trow:nth-child(2){padding:7px 0 9px;}
.totals .trow:nth-child(3){padding:7px 0 7px;}
.trow.total{padding:4px 0 7px!important;}
.trow .tl{font-size:16px;font-weight:500;color:#757575;}
.trow .tv{font-size:16px;font-weight:500;color:#000;}
.trow.total .tl{color:#292929;}
.trow.total .tv{color:#000;}
.trow.total .usd{font-size:14px;font-weight:600;color:#757575;margin-right:4px;position:relative;top:0;}

.discount-title{font-size:20px;font-weight:700;line-height:24px;color:#292929;margin:26px 0 20px;padding-left:3px;}
.discount-row{display:flex;gap:11px;padding:0 3px;}
.discount-input{flex:1;height:50px;border:1px solid #dedede;border-radius:8px;padding:12px 15px;font-size:15px;color:#000;background:#fff;outline:none;}
.discount-input::placeholder{color:#757575;}
.discount-btn{width:61px;height:50px;background:#dcdcdc;border-radius:4.5px;display:flex;align-items:center;justify-content:center;}
.discount-btn svg{width:20px;height:20px;color:#bdbdbd;}

.reviews-badge{width:345px;height:auto;margin:45px auto 0;}
.reviews-sub{font-size:15px;font-weight:400;line-height:18px;color:#000;text-align:center;margin-top:9px;}
.rcards{display:flex;flex-direction:column;gap:20px;margin-top:16px;}
.rcard{background:#fff;border-radius:10px;padding:18px 16px;box-shadow:rgba(0,0,0,0.08) 0 3px 26px;}
.rcard:nth-child(2){padding-bottom:17px;}
.rcard:nth-child(3){margin-top:-1px;}
.rhead{display:flex;align-items:center;flex-wrap:wrap;gap:9px;}
.rname{font-size:13px;font-weight:700;color:#000;}
.rloc{font-size:13px;font-weight:400;color:#000;}
.rverified{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:500;color:#5dac63;margin-left:8px;}
.rverified svg{width:14px;height:14px;}
.rstars{display:flex;gap:0;margin-top:8px;}
.rstars img{width:16px;height:16px;}
.rtext{font-size:13px;font-weight:400;line-height:24px;color:#000;margin-top:12px;}
