#cart-drawer {
  width: 100%;
  display: none;  
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms ease, opacity 200ms ease;
  will-change: transform, opacity;
  max-width: 380px;
  background: rgba(255, 255, 255, 1);
  padding: 16px;
  backdrop-filter: blur(24px);
  border-radius: 0px;
  border: 4px solid black;
  padding:5px;
  position: fixed;
  right: 30px;
  top: 78px;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#cart-drawer.is-open {
  display: block;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.outerhtml {
  border: 1px solid black;
  padding: 19px;
}

.cart-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}

.cart-title {
  font-family: Abcsynt V, Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
}

#cart-close {
  background:none;
  border:none;
  font-size:16px;
  cursor:pointer;
}

.cart-line {
  display: flex;
  flex-direction: column;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.cart-img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  background: rgba(0,0,0,.06);
  flex: 0 0 auto;
  overflow:hidden;
}

.cart-img img { width:100%; height:100%; object-fit:cover; display:block; }

.cart-body { flex:1; min-width:0; }

.cart-title-line {
  font-family: The Future, Arial, sans-serif;
  font-weight: 100;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cart-variant { opacity:.7; font-size:12px; margin-top:2px; font-family: The Future, Arial, sans-serif; }

.cart-row-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:16px;
  font-family: The Future, Arial, sans-serif;
}

.qty-controls {
  display:inline-flex;
  align-items:center;
  border:none;
  border-radius:0px;
  overflow:hidden;
}

.qty-btn {
  width:30px;
  height:30px;
  border:none;
  background:#f4f4f4;
  cursor:pointer;
  font-size:16px;
  line-height:1;
}

.qty-btn:disabled { opacity:.5; cursor:not-allowed; }

.qty-val { padding:0 10px; font-size:13px; min-width: 18px; text-align:center; }

.remove-btn {
  background:none;
  border:none;
  color:#c00;
  font-size:12px;
  cursor:pointer;
  padding:0;
}

.line-price { font-weight:600; white-space:nowrap; }

#cart-total {
  padding:12px 0;
  font-family: The Future, Arial, sans-serif;
  font-weight: 500;
  text-align:right;
}

.cart-checkout {
  width:100%;
  padding:12px;
  border-radius:0px;
  border:none;
  background:#000;
  color:white;
  font-weight:100;
  cursor:pointer;
  font-family: The Future, Arial, sans-serif;
}
.cart-checkout:disabled { opacity:.6; cursor:not-allowed; }

#cart-drawer {
  right: 30px;
  top: 78px;
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms ease, opacity 200ms ease;
  will-change: transform, opacity;
}

#cart-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  #cart-drawer {
    transition: none;
  }
}

@media (min-width: 320px) and (max-width: 760px) {
  div#cart-drawer {
    width: 100%;
    max-width: unset;
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100vh;
  }

  .outerhtml {
    width: 100%;
    height: 100vh;
  }
}

.region-toggle{
  background: transparent;
  border: none;
  border-radius: 0px;
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-family: The Future, Arial, sans-serif;
}

.region-icon{
  display:block;
}

.region-backdrop{
  position: fixed;
  inset: 0;
  background: #ffffffd6;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width:100%;
  height: 100vh;
}

.region-card{
  max-width: 420px;
  width: 90%;
  background: #fff;
  border-radius: 0px;
  padding: 5px;
  border: 4px solid black;
}

.innerRegeon {
  width: 100%;
  height: 100%;
  border: 1px solid black;
  padding: 16px;
}

.region-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.region-title{
  font-family: Abcsynt V, Arial, sans-serif;
  font-weight: 100;
  font-size: 26px;
}

button#close-region-modal {
  background: transparent;
}

.region-step {
  display: none;
}

.region-step.active {
  display: block;
}

.region-subtitle {
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 13px;
  opacity: .8;
  font-family: The Future, Arial, sans-serif;
}

button.region-option,
button.eu-country-option {
  min-height: 40px;
  border: 1px solid black;
  background: transparent;
}

button.region-option:hover,
button.eu-country-option:hover {
  border: 1px solid white;
  background: black;
  color: white;
  transition: all .2s ease;
}

.region-grid{
  margin-top:33px;
  display:grid;
  gap:10px;
}

.region-status{
  margin-top:12px;
  font-size:12px;
  opacity:.75;
}

.region-back-btn {
  margin-top: 14px;
  background: transparent;
  border: 1px solid black;
  min-height: 38px;
  width: 100%;
  font-family: The Future, Arial, sans-serif;
  cursor: pointer;
}

#current-region-label{
  color:white;
}

.shopify-utility{
  display: inline-flex;
  gap: 0px;
  align-items: center;
}


/* Basket butonu region ile aynı görünüyor */
.basket-toggle{
  background: transparent;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* icon ile sayı arası */
  font-family: The Future, Arial, sans-serif;
  position:relative;
}

span#cart-qty {
    font-family: The Future, Arial, sans-serif;
    color: white;
    position: absolute;
    background: black;
    border-radius: 139px;
    font-size: 8px;
    display: flex;
    right: 1px;
    top: -3px;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    line-height: 0px;
}

.nav-text{
  color: #ffffff;
}

.add-to-cart{
   background: black;
   color: white;
   font-weight: 100;
    cursor: pointer;
    font-family: The Future, Arial, sans-serif;
    font-size:14px;
    padding: 6px 12px;
 }
 
  .add-to-cart:hover{
   background: #4a39ad;
   transition: all .2s ease;
 }
 .buy-switch {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* default: Shopify görünsün, BC gizli */
.buy-switch .shopify-buy { display: inline-flex; }
.buy-switch .bc-buy { display: none; }

/* US seçilince: BC görünsün, Shopify gizli */
.buy-switch.us-mode .shopify-buy { display: none; }
.buy-switch.us-mode .bc-buy { display: block; }

/* Swap (US'ta yer değişsin) */
.buy-switch.us-mode { flex-direction: row-reverse; }



