/* USMAR UI (Default + Journal3 uyumlu, izole class'lar) */
:root {
  --usmar-bg: #f0f3f8;
  --usmar-text: #2c3e50;
  --usmar-muted: #6b7a90;
  --usmar-green: #2ecc71;
  --usmar-green2: #27ae60;
  --usmar-red: #e74c3c;
  --usmar-orange: #f39c12;
  --usmar-blue: #3498db;
  --usmar-card: #ffffff;
  --usmar-shadow: 0 10px 30px rgba(0,0,0,.12);
  --usmar-radius: 16px;
} 

/* Badge */
.usmar-region-badge{
  position:fixed;
  bottom:48px;
  right:10px;
  z-index:9990;
  background:var(--usmar-card);
  border:1px solid rgba(44,62,80,.08);
  box-shadow:0 10px 25px rgba(44,62,80,.12);
  border-radius:14px;
  padding:10px 12px;
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
  user-select:none;
}
.usmar-dot{
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(135deg,var(--usmar-green),var(--usmar-green2));
  box-shadow:0 0 0 5px rgba(46,204,113,.15);
}
.usmar-badge-title{font-weight:700;font-size:12px;color:var(--usmar-text);line-height:1;}
.usmar-badge-sub{font-size:12px;color:var(--usmar-muted);max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;}

/* Modal */
.usmar-location-modal{position:fixed;inset:0;z-index:9999;display:none;}
.usmar-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(2px);}
.usmar-modal-card{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(520px, calc(100% - 28px));
  background:var(--usmar-card);
  border-radius:var(--usmar-radius);
  overflow:hidden;
  box-shadow:var(--usmar-shadow);
}
.usmar-modal-header{
  padding:18px 18px 16px;
  background:linear-gradient(135deg,#2ecc71,#27ae60);
  color:#fff;
  position:relative;
}
.usmar-modal-title{font-size:18px;font-weight:800;letter-spacing:.2px;}
.usmar-modal-sub{font-size:13px;opacity:.92;margin-top:4px;}
.usmar-modal-close{
  position:absolute;right:10px;top:10px;
  border:none;background:rgba(255,255,255,.18);
  color:#fff;width:34px;height:34px;border-radius:10px;
  font-size:22px;line-height:34px;cursor:pointer;
}
.usmar-modal-body{padding:16px 18px 10px;background:linear-gradient(135deg,#f8fbff,#f2f7ff);}
.usmar-field{margin-bottom:14px;}
.usmar-label{display:block;font-weight:700;font-size:12px;color:var(--usmar-text);margin-bottom:6px;}
.usmar-select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(44,62,80,.15);
  background:#fff;
  font-size:14px;
  outline:none;
}
.usmar-select:focus{border-color:rgba(46,204,113,.9);box-shadow:0 0 0 4px rgba(46,204,113,.18);}
.usmar-modal-footer{
  padding:12px 18px 16px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
  background:#fff;
}
.usmar-btn{
  border:none;
  border-radius:12px;
  padding:10px 14px;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
}
.usmar-btn-primary{
  color:#fff;
  background:linear-gradient(135deg,#2ecc71,#27ae60);
  box-shadow:0 10px 18px rgba(46,204,113,.25);
}
.usmar-btn-primary:disabled{opacity:.6;cursor:not-allowed;}
.usmar-btn-ghost{
  background:#f2f5fa;
  color:var(--usmar-text);
}

/* Scroll lock */
html.usmar-modal-open, body.usmar-modal-open{overflow:hidden !important;}

/* Cart messages */
.usmar-cart-messages{margin:14px 0 18px;}
.usmar-msg{
  background:#fff;
  border:1px solid rgba(44,62,80,.10);
  border-left:6px solid var(--usmar-blue);
  border-radius:14px;
  padding:12px 14px;
  margin-bottom:10px;
  box-shadow:0 8px 18px rgba(44,62,80,.08);
}
.usmar-msg-title{font-weight:900;font-size:13px;color:var(--usmar-text);margin-bottom:6px;}
.usmar-msg-text{font-size:13px;color:var(--usmar-muted);line-height:1.35;}
.usmar-danger{border-left-color:var(--usmar-red);}
.usmar-warning{border-left-color:var(--usmar-orange);}
.usmar-info{border-left-color:var(--usmar-blue);}
.usmar-success{border-left-color:var(--usmar-green2);}

.usmar-ul{margin:6px 0 0 18px;padding:0;}
.usmar-ul li{margin:3px 0;}

/* Disabled checkout button */
.usmar-disabled{
  opacity:.55 !important;
  filter:grayscale(.35);
  pointer-events:auto;
}

/* Hassas badge */
.usmar-hassas-badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  background:rgba(231,76,60,.12);
  color:var(--usmar-red);
  vertical-align:middle;
}


/* USMAR - Hassas ürün teslimat bölgeleri (ürün sayfası) */
.usmar-sensitive-regions{
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  background: #fffaf3;
  font-size: 13px;
  line-height: 1.4;
}
.usmar-sensitive-regions .usmar-sensitive-badge{
  display:inline-block;
  font-weight:600;
  padding:4px 8px;
  border-radius: 4px;
  background:#ffe8d3;
  margin-bottom:8px;
}
.usmar-sensitive-regions table{
  width:100%;
  border-collapse: collapse;
}
.usmar-sensitive-regions th,
.usmar-sensitive-regions td{
  padding:6px 8px;
  border:1px solid #f0f0f0;
  text-align:left;
}
.usmar-sensitive-regions th{
  background:#fff3e6;
  font-weight:600;
}
