/** Shopify CDN: Minification failed

Line 136:2 Unexpected "{"
Line 136:3 Expected identifier but found "%"
Line 136:32 Unexpected "{"
Line 136:33 Expected identifier but found "%"

**/

.tradein-flow-container {
  text-align: center;
  margin-bottom: 40px;
}

.tradein-trigger {
  background: #0071e3;
  color: #fff;
  padding: 14px 24px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}
.tradein-trigger:hover {
  background: #005bb5;
}

.tradein-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 9999;
}

.tradein-box {
  background: #fff;
  width: 100%;
  max-width: 660px;
  height: 90vh;
  max-height: 860px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  position: relative;
  animation: fadeIn 0.3s ease;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tradein-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.tradein-body {
  padding: 24px;
  overflow-y: scroll;
  flex: 1;                 
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  position: relative;
}

.tradein-body::-webkit-scrollbar { width: 6px; }
.tradein-body::-webkit-scrollbar-track { background: transparent; }
.tradein-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,.3); border-radius: 4px; }
.tradein-body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.45); }
@supports (scrollbar-color: auto) {
  .tradein-body { scrollbar-color: rgba(0,0,0,.35) transparent; scrollbar-width: thin; }
}
.scroll-indicator {
  position: absolute;
  top: 0;
  right: 2px;
  width: 3px;
  background: rgba(0,0,0,.15);
  border-radius: 3px;
  opacity: 0;
  transition: opacity .2s;
}
.tradein-body.scrolling .scroll-indicator { opacity: 1; }

.tradein-body::before,
.tradein-body::after {
  content: "";
  position: sticky;
  left: 0; right: 0;
  height: 14px;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.tradein-body::before { display: none; }

.tradein-body::after {
bottom: -24px;
background: linear-gradient(to top, rgba(0,0,0,.08), rgba(0,0,0,0));
opacity: 0; transition: opacity .2s ease;
width: 100%;
}
.tradein-body.can-scroll.at-top::after,
.tradein-body.can-scroll.at-middle::after { opacity: 1; }
.tradein-body.can-scroll.at-bottom::after { opacity: 0; }

.tradein-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.tradein-close {
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

.tradein-steps h2 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
  {% comment %} color: #1d1d1f; {% endcomment %}
}

.tradein-steps p {
  font-size: 15px;
  margin-bottom: 20px;
  color: #666;
  line-height: 1.5;
}

.tradein-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-btn-group {
  flex-direction: row;
  justify-content: space-between;
}

.tradein-btn {
  padding: 18px 20px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #f9f9f9;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 1;
  color: #000;
}
.footer-btn-group .tradein-btn{
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #f9f9f9;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 1;
}
.footer-btn-group .tradein-btn:disabled {
background: #f2f2f2;
color: #999;
}

.tradein-btn:hover {
  background: #efefef;
}

select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 16px;
  background: #fff;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230071e3" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

select:disabled {
  background-color: #f0f0f0;
  cursor: not-allowed;
}

.hidden { display: none !important; }

.condition-info { text-align: left; font-size: 14px; margin: 15px 0 20px; padding-left: 20px; color: #555; }
.condition-info li { margin-bottom: 6px; list-style-type: disc; }

.explain-block { margin-top: 10px; text-align: left; }
.explain-title { display: block; font-weight: 500; font-size: 18px; margin-bottom: 8px; color: #444; }
.explain-list { font-size: 16px; padding-left: 20px; color: #555; list-style-type: disc; }
.explain-list li { margin-bottom: 8px; }

.tradein-buttons { margin-top: 20px; }

.tradein-back {
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.tradein-back.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.back-icon {
  width: 24px;
  height: 24px;
  stroke: #0071e3;
  transition: stroke 0.3s ease;
}

.tradein-back:hover .back-icon { stroke: #005bb5; }


@media (max-width: 480px) {
  .scroll-cue {
    position: absolute;
    bottom: 8px; left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #6e6e73;
    background: rgba(255,255,255,.9);
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media screen and (max-width: 480px) {
  .tradein-box { border-radius: 15px; height: 85vh; max-width: 100%; }
  .tradein-body { padding: 20px 16px; }
  select { font-size: 14px; }
  .tradein-btn { font-size: 15px; }
  .tradein-steps h2 { font-size: 20px; }
}

.final-result-step { text-align: center; }

.final-headline { font-size: 1.25rem; font-weight: 400; margin-bottom: 2rem; line-height: 1.4; color: #444; }
.highlighted-value { font-size: 1.75rem; font-weight: 700; color: #000; display: inline-block; margin: 0 0.25rem; }

.final-devices-container { display: flex; align-items: center; justify-content: center; gap: 1.3rem; flex-wrap: wrap; }

.device-box { background: #f9f9f9; border-radius: 12px; padding: 1.5rem; width: 260px; min-height: 130px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: space-between; text-align: center; }

.device-info { font-size: 1rem; line-height: 1.5; margin-bottom: 0.5rem; }
.device-info>.mdl{ color: #1d1d1f; margin-bottom: 10px; font-weight: 600; }
.device-info>.stg{ display: inline-block; background: #e5e5ea; color: #1d1d1f; font-size: 15px; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }

.device-value { font-weight: 600; font-size: 1.1rem; margin-top: auto; }

.arrow { font-size: 2rem; font-weight: bold; }

.original-price { text-decoration: line-through; color: #888; margin-right: 0.3rem; }

.price-diff { color: #006fe6; font-weight: 700; display: inline-block; margin-top: 0.25rem; }

@media (max-width: 700px) {
  .final-devices-container { flex-direction: column; align-items: center; }
  .arrow { transform: rotate(90deg); }
}
.tradein-note { margin-top: 2rem; font-size: 0.875rem; color: #dc3545; font-style: italic; text-align: center; }

.dropdown-group { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }

.dropdown-row { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }

.dropdown-label { flex-basis: 100px; flex-shrink: 0; font-size: 15px; font-weight: 500; color: #1d1d1f; text-align: left; margin-bottom: 8px; }

.apple-dropdown { flex: 1; min-width: 200px; padding: 12px 14px; font-size: 15px; font-weight: 400; color: #1d1d1f; background-color: #f9f9f9; border: 1px solid #d2d2d7; border-radius: 12px; appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="%231d1d1f" height="14" viewBox="0 0 20 20" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548l4.485 4.485 4.485-4.485a1 1 0 111.415 1.414l-5.192 5.192a1 1 0 01-1.415 0L4.1 8.962a1 1 0 111.415-1.414z"/></svg>'); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 40px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); transition: border 0.2s ease, box-shadow 0.2s ease; }
.apple-dropdown:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.2); }
.apple-dropdown:active { outline: none; border-color: #0071e3; box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.2); }
.apple-dropdown::-ms-expand { display: none; }
.apple-dropdown:disabled { background-color: #f2f2f2; color: #999; cursor: not-allowed; }
@media (max-width: 480px) {
  .dropdown-label { margin-bottom: 4px; }
  .apple-dropdown { width: 100%; }
  .dropdown-row { display: flex; }
}
@media (max-width: 480px) {
    .dropdown-label#bt {
      flex-basis: auto;
    }
  }

  .dropdown-box { background: #f9f9f9; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
  .dropdown-note { margin-top: 8px; font-size: 13px; color: #666; }
  .tradein-heading { font-size: 20px; font-weight: 500; color: #333; margin-bottom: 16px; text-align: center; padding: 0 4px; line-height: 1.4; letter-spacing: -0.01em; }

.rejection-custom { display: flex; justify-content: center; align-items: center; padding: 40px 20px; }

.rejection-container { text-align: center; max-width: 520px; padding: 30px; background: #f9f9fb; border-radius: 24px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }

.rejection-header { margin-bottom: 24px; }

.rejection-model-title { font-size: 24px; font-weight: 600; color: #1d1d1f; margin-bottom: 20px; }

.rejection-storage-pill { display: inline-block; background: #e5e5ea; color: #1d1d1f; font-size: 14px; padding: 4px 12px; border-radius: 20px; }

.rejection-icon { font-size: 36px; margin-bottom: 16px; }
.rejection-icon svg { display: inline-block; animation: bounce 1.4s ease-in-out; transform-origin: center; }
@keyframes bounce { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.15); } 50% { transform: scale(0.95); } 70% { transform: scale(1.05); } }

.rejection-main-title { font-size: 22px; font-weight: 600; color: #f8353e; margin-bottom: 12px; }
.rejection-message { font-size: 16px; color: #4a4a4a; margin-bottom: 8px; }
.rejection-sub-message { font-size: 14px; color: #7a7a7a; }
/* Accessory */
.acc-section { margin-top: 12px; }
.acc-title { font-size:15px; font-weight:600; color:#1d1d1f; margin:8px 0 6px; text-align:left; }

.chip-row { display:flex; gap:20px; flex-wrap:wrap; justify-content: left; }
.chip { width:100%; padding:14px 12px; border-radius:12px; font-size:15px; min-height:48px; letter-spacing:-0.01em; }

/* Chip*/
.chip { border:1px solid #d2d2d7; background:#fff; border-radius:14px; padding:12px 14px; font-size:14px; cursor:pointer; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .05s ease; display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; width:auto; user-select:none; color: rgb(29, 29, 31); }

.chip:hover { background:#f5f5f7; }
.chip:active { transform: translateY(1px); }

.chip .dot { width:10px; height:10px; border-radius:50%; background:#d2d2d7; flex:0 0 10px; }

.chip.active { border-color:#0071e3; background:#f0f7ff; box-shadow:0 0 0 2px rgba(0,113,227,0.15); }
.chip.active .dot { background:#0071e3; }

.chip:focus-visible { outline:none; box-shadow:0 0 0 3px rgba(0,113,227,0.25); }

.acc-hint { font-size:13px; color:#666; margin-top:6px; text-align:center; }

@media (max-width: 480px) {
  .acc-section { margin-top: 8px; }
  .acc-title { font-size:16px; margin:10px 0 8px; }
  .dropdown-box.acc-section { padding:14px; }
  .chip-row { display:grid; grid-template-columns: 1fr 1fr; gap:8px; }
  .chip { width:100%; padding:14px 12px; border-radius:12px; font-size:15px; min-height:48px; letter-spacing:-0.01em; }
  .chip-row .chip:first-child { border-top-right-radius:10px; border-bottom-right-radius:10px; }
  .chip-row .chip:last-child  { border-top-left-radius:10px;  border-bottom-left-radius:10px; }
  .chip .dot { display:none; }
}
@media (max-width: 650px) {
.chip-row { display:grid; grid-template-columns: 1fr 1fr; gap:8px; justify-content: center; }
.chip .dot { display:none;}
.chip-row .chip:first-child { border-top-right-radius:10px; border-bottom-right-radius:10px; }
.chip-row .chip:last-child  { border-top-left-radius:10px;  border-bottom-left-radius:10px; }
}

.headline-card { margin: 18px auto; padding: 20px 22px; max-width: 640px; background: #f3f8ff; border: 1px solid #dbeafe; border-radius: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); text-align: center; }
.headline-card .pay-label { font-size: 20px; color: #6b7280; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 15px; }
.headline-card .pay-amount { font-size: 30px; font-weight: 800; color: #111827; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 10px 0 10px; }
.headline-card .pay-hint { font-size: 12.5px; color: #6e6e73; }
@media (max-width: 480px) {
  .headline-card { padding: 16px 18px; border-radius: 18px; max-width: 100%; }
  .headline-card .pay-amount { font-size: 26px; }
  .headline-card .pay-label { font-size: 16px; margin-bottom: 8px; }
  .headline-card .pay-hint  { font-size: 12px; }
}


.pay-card { margin-top: 14px; border: 1px solid #e5e7eb; background: #fafafa; border-radius: 14px; padding: 14px; text-align: left; }
.pay-card .line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 2px; font-size: 15px; color: #1d1d1f; }
.pay-card .line.total { font-weight: 800; font-size: 16px; }
.pay-card .line-value { font-variant-numeric: tabular-nums; }
.pay-card .divider { height: 1px; background: #e6e6e6; margin: 8px 0; }
.pay-card .badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; border: 1px solid #d2d2d7; line-height: 1.6; vertical-align: middle; }
.badge-green { color: #0a7f3f; background: #e9f8ef; border-color: #bfead0; }
.pay-card .subtext { margin-top: 6px; font-size: 12px; color: #6e6e73; }

@media (max-width: 480px) {
  .pay-wrap { margin-top: 12px; }
  .pay-label { font-size: 14px; }
  .pay-amount { font-size: 26px; padding: 10px 16px; border-radius: 12px; }
  .pay-hint { font-size: 12px; }
  .pay-card { padding: 12px; border-radius: 12px; }
  .pay-card .line { padding: 6px 0; font-size: 15px; }
  .pay-card .line.total { font-size: 16px; }
}


.tradein-body::after { display: none !important; }


.tradein-box { position: relative; }


.tradein-footer {
position: relative;
z-index: 2;
}
.tradein-footer::before {
content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;              
  height: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;

  background: linear-gradient(to top, rgba(0,0,0,0.16), rgba(0,0,0,0));
}
.tradein-footer.show-shadow::before { opacity: 1; }

.tradein-header-bar { gap: 12px; }
.tradein-progress {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 120px;
  padding: 0px 50px;
}
.progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: #e5e7eb;    
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: #0071e3;    
  border-radius: 999px;
  transition: width .25s ease; 
}


.tradein-back, .tradein-close { flex: 0 0 auto; }

@media (max-width: 480px) {
  .tradein-progress { min-width: 90px; padding: 0px 30px; }
}
body.progress-hidden .tradein-header-bar .tradein-progress { visibility: hidden; }